Skip to main content
PUT
Add Items

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

vector_store_id
string<uuid>
required

Query Parameters

context_id
string<uuid> | null

Body

application/json
document_id
string
required
text
string
required
embedding
number[]
required
id
string<uuid>
document_type
enum<string>
default:platform_file
Available options:
platform_file,
external
model_id
default:platform
metadata
Metadata · object | null

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.

Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

Response

Successful Response