APIClaw Vector Stores API
The vector_stores API from APIClaw — 13 operation(s) for vector_stores.
The vector_stores API from APIClaw — 13 operation(s) for vector_stores.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/apiclaw:apiclaw-vector-stores-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LiteLLM Vector Stores API
description: 'Proxy Server to call 100+ LLMs in the OpenAI format. **Customize Swagger Docs**
👉 ```LiteLLM Admin Panel on /ui```. Create, Edit Keys with SSO. Having issues? Try ```Fallback Login```
💸 ```LiteLLM Model Cost Map```.
🔎 ```LiteLLM Model Hub```. See available models on the proxy. **Docs**'
version: 1.102.1
tags:
- name: Vector Stores
paths:
/v1/indexes:
get:
description: 'List all vector store indexes. Proxy admin only.
```bash
curl -L -X GET ''http://0.0.0.0:4000/v1/indexes'' -H ''Authorization: Bearer sk-1234''
```'
operationId: index_list_v1_indexes_get
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/IndexListResponse'
description: Successful Response
security:
- APIKeyHeader: []
summary: Index List
tags:
- Vector Stores
post:
description: 'Create an index. Just writes the index to the database.
```bash
curl -L -X POST ''http://0.0.0.0:4000/v1/indexes'' -H ''Content-Type: application/json'' -H ''Authorization: Bearer sk-1234'' -d ''{
"index_name": "dall-e-3",
"litellm_params": {
"vector_store_index": "real-index-name",
"vector_store_name": "azure-ai-search"
}
}''
```'
operationId: index_create_v1_indexes_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/IndexCreateRequest'
required: true
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Index Create
tags:
- Vector Stores
/v1/vector_stores:
get:
description: 'List vector stores.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/list'
operationId: vector_store_list_v1_vector_stores_get
parameters:
- in: query
name: after
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: After
- in: query
name: before
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Before
- in: query
name: limit
required: false
schema:
anyOf:
- type: integer
- type: 'null'
default: 20
title: Limit
- in: query
name: order
required: false
schema:
anyOf:
- type: string
- type: 'null'
default: desc
title: Order
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store List
tags:
- Vector Stores
post:
description: 'Create a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/create
Supports target_model_names parameter for creating vector stores across multiple models:
```json
{
"name": "my-vector-store",
"target_model_names": "gpt-4,gemini-2.0"
}
```'
operationId: vector_store_create_v1_vector_stores_post
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
security:
- APIKeyHeader: []
summary: Vector Store Create
tags:
- Vector Stores
/v1/vector_stores/{vector_store_id}:
delete:
description: 'Delete a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/delete'
operationId: vector_store_delete_v1_vector_stores__vector_store_id__delete
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Delete
tags:
- Vector Stores
get:
description: 'Retrieve a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/retrieve'
operationId: vector_store_retrieve_v1_vector_stores__vector_store_id__get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Retrieve
tags:
- Vector Stores
post:
description: 'Update a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/modify'
operationId: vector_store_update_v1_vector_stores__vector_store_id__post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Update
tags:
- Vector Stores
/v1/vector_stores/{vector_store_id}/files:
get:
operationId: vector_store_file_list_v1_vector_stores__vector_store_id__files_get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File List
tags:
- Vector Stores
post:
operationId: vector_store_file_create_v1_vector_stores__vector_store_id__files_post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Create
tags:
- Vector Stores
/v1/vector_stores/{vector_store_id}/files/{file_id}:
delete:
operationId: vector_store_file_delete_v1_vector_stores__vector_store_id__files__file_id__delete
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Delete
tags:
- Vector Stores
get:
operationId: vector_store_file_retrieve_v1_vector_stores__vector_store_id__files__file_id__get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Retrieve
tags:
- Vector Stores
post:
operationId: vector_store_file_update_v1_vector_stores__vector_store_id__files__file_id__post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Update
tags:
- Vector Stores
/v1/vector_stores/{vector_store_id}/files/{file_id}/content:
get:
operationId: vector_store_file_content_v1_vector_stores__vector_store_id__files__file_id__content_get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Content
tags:
- Vector Stores
/v1/vector_stores/{vector_store_id}/search:
post:
description: 'Search a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/search'
operationId: vector_store_search_v1_vector_stores__vector_store_id__search_post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Search
tags:
- Vector Stores
/vector_stores:
get:
description: 'List vector stores.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/list'
operationId: vector_store_list_vector_stores_get
parameters:
- in: query
name: after
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: After
- in: query
name: before
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Before
- in: query
name: limit
required: false
schema:
anyOf:
- type: integer
- type: 'null'
default: 20
title: Limit
- in: query
name: order
required: false
schema:
anyOf:
- type: string
- type: 'null'
default: desc
title: Order
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store List
tags:
- Vector Stores
post:
description: 'Create a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/create
Supports target_model_names parameter for creating vector stores across multiple models:
```json
{
"name": "my-vector-store",
"target_model_names": "gpt-4,gemini-2.0"
}
```'
operationId: vector_store_create_vector_stores_post
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
security:
- APIKeyHeader: []
summary: Vector Store Create
tags:
- Vector Stores
/vector_stores/{vector_store_id}:
delete:
description: 'Delete a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/delete'
operationId: vector_store_delete_vector_stores__vector_store_id__delete
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Delete
tags:
- Vector Stores
get:
description: 'Retrieve a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/retrieve'
operationId: vector_store_retrieve_vector_stores__vector_store_id__get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Retrieve
tags:
- Vector Stores
post:
description: 'Update a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/modify'
operationId: vector_store_update_vector_stores__vector_store_id__post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Update
tags:
- Vector Stores
/vector_stores/{vector_store_id}/files:
get:
operationId: vector_store_file_list_vector_stores__vector_store_id__files_get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File List
tags:
- Vector Stores
post:
operationId: vector_store_file_create_vector_stores__vector_store_id__files_post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Create
tags:
- Vector Stores
/vector_stores/{vector_store_id}/files/{file_id}:
delete:
operationId: vector_store_file_delete_vector_stores__vector_store_id__files__file_id__delete
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Delete
tags:
- Vector Stores
get:
operationId: vector_store_file_retrieve_vector_stores__vector_store_id__files__file_id__get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Retrieve
tags:
- Vector Stores
post:
operationId: vector_store_file_update_vector_stores__vector_store_id__files__file_id__post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Update
tags:
- Vector Stores
/vector_stores/{vector_store_id}/files/{file_id}/content:
get:
operationId: vector_store_file_content_vector_stores__vector_store_id__files__file_id__content_get
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
- in: path
name: file_id
required: true
schema:
title: File Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store File Content
tags:
- Vector Stores
/vector_stores/{vector_store_id}/search:
post:
description: 'Search a vector store.
API Reference:
https://platform.openai.com/docs/api-reference/vector-stores/search'
operationId: vector_store_search_vector_stores__vector_store_id__search_post
parameters:
- in: path
name: vector_store_id
required: true
schema:
title: Vector Store Id
type: string
responses:
'200':
content:
application/json:
schema: {}
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
security:
- APIKeyHeader: []
summary: Vector Store Search
tags:
- Vector Stores
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
IndexListResponse:
properties:
data:
items:
$ref: '#/components/schemas/LiteLLM_ManagedVectorStoreIndex'
title: Data
type: array
object:
const: list
default: list
title: Object
type: string
required:
- data
title: IndexListResponse
type: object
IndexCreateRequest:
properties:
index_info:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Index Info
index_name:
title: Index Name
type: string
litellm_params:
$ref: '#/components/schemas/IndexCreateLiteLLMParams'
required:
- index_name
- litellm_params
title: IndexCreateRequest
type: object
IndexCreateLiteLLMParams:
properties:
vector_store_index:
title: Vector Store Index
type: string
vector_store_name:
title: Vector Store Name
type: string
required:
- vector_store_index
- vector_store_name
title: IndexCreateLiteLLMParams
type: object
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LiteLLM_ManagedVectorStoreIndex:
description: LiteLLM managed vector store index object - this is is the object stored in the database
properties:
created_at:
anyOf:
- format: date-time
type: string
- type: 'null'
title: Created At
created_by:
anyOf:
- type: string
- type: 'null'
title: Created By
id:
title: Id
type: string
index_info:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Index Info
index_name:
title: Index Name
type: string
litellm_params:
$ref: '#/components/schemas/IndexCreateLiteLLMParams'
updated_at:
anyOf:
- format: date-time
type: string
- type: 'null'
title: Updated At
updated_by:
anyOf:
- type: string
- type: 'null'
title: Updated By
required:
- id
- index_name
- litellm_params
title: LiteLLM_ManagedVectorStoreIndex
type: object
securitySchemes:
APIKeyHeader:
type: apiKey
description: Bearer token
in: header
name: x-litellm-api-key