vector-stores

List vector stores

Returns a list of vector stores owned by the specified owner.

get/api/v1/vector_stores

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/vector_stores
  • Auth: HTTP bearer

Query parameters

owner_typestring nullable

Hadrian Extension: Owner type for multi-tenancy (organization, team, project, or user). When omitted along with owner_id, returns all accessible vector stores.

owner_idstring uuid nullable

Hadrian Extension: Owner ID for multi-tenancy. When omitted along with owner_type, returns all accessible vector stores.

limitinteger nullable

Maximum number of vector stores to return (default: 20, max: 100)

order'asc' | 'desc'

Sort order for list queries.

OpenAI-compatible sort order parameter for paginated list endpoints.

Sort order by created_at timestamp (default: desc)

afterstring nullable

Cursor for forward pagination. Returns results after this object ID. Use the last_id from a previous response to get the next page.

beforestring nullable

Cursor for backward pagination. Returns results before this object ID. Use the first_id from a previous response to get the previous page.

Response

List of vector stores

first_idstring nullable

ID of the first object in the list (for backward pagination with before)

has_moreboolean required

Whether there are more results available beyond this page

last_idstring nullable

ID of the last object in the list (for forward pagination with after)

objectstring required

Object type (always "list")

Example response

{
  "data": [
    {
      "id": "vs_550e8400-e29b-41d4-a716-446655440000"
    }
  ]
}

Changes

No recorded changes to this operation across all 16 revisions of this API.