v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
sources

Create Source

Create a new data source.

post/v1/sources/

Request body

namestring required

The name of the source.

descriptionstring nullable

The description of the source.

instructionsstring nullable

Instructions for how to use the source.

metadataobject nullable

Metadata associated with the source.

embeddingstring nullable

The handle for the embedding config used by the source.

embedding_chunk_sizeinteger nullable

The chunk size of the embedding.

Response

Successful Response

namestring required

The name of the source.

descriptionstring nullable

The description of the source.

instructionsstring nullable

Instructions for how to use the source.

metadataobject nullable

Metadata associated with the source.

idstring

The human-friendly ID of the Source

vector_db_provider'native' | 'tpuf' | 'pinecone'

Supported vector database providers for archival memory

created_by_idstring nullable

The id of the user that made this Tool.

last_updated_by_idstring nullable

The id of the user that made this Tool.

created_atstring date-time nullable

The timestamp when the source was created.

updated_atstring date-time nullable

The timestamp when the source was last updated.

Example response

{
  "id": "source-123e4567-e89b-12d3-a456-426614174000"
}