---
title: "Search the data store"
method: POST
path: "/v1/drive/search"
tags: ["drive"]
---

# Search the data store

`POST /v1/drive/search`

Full-text search across all indexed objects in the data store

## Request body

- ModelsDriveSearchRequest
  - `content_type` string
  - `max_size` integer
  - `min_size` integer
  - `page` integer
  - `page_size` integer
  - `prefix` string
  - `query` string
  - `sort_by` string
  - `sort_order` string
  - `storage_class` string

## Response `200`

OK

- ModelsDriveSearchResponse
  - `highlights` object
  - `objects` ModelsDriveObject[]
    - `bucket` string
    - `business_id` string
    - `content_type` string
    - `created_at` string
    - `id` string
    - `last_accessed_at` string
    - `metadata` object
    - `name` string
    - `path` string
    - `size` integer
    - `storage_class` string
    - `tags` string[]
    - `updated_at` string
  - `page` integer
  - `page_size` integer
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/resourcly/apis/resourcly-api.md) · [All operations](https://skmtc.net/resourcly/apis/resourcly-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/resourcly/resourcly-api/revisions/7f97d8cd0f1e/schema)
