Create Source

Create a new data source.

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
namestringRequired
The name of the source.
descriptionstring or nullOptional
The description of the source.
instructionsstring or nullOptional
Instructions for how to use the source.
metadatamap from strings to any or nullOptional
Metadata associated with the source.
embeddingstring or nullOptional
The handle for the embedding config used by the source.
embedding_chunk_sizeinteger or nullOptional
The chunk size of the embedding.
embedding_configobject or nullOptional

(Legacy) The embedding configuration used by the source.

Response

Successful Response
namestring
The name of the source.
embedding_configobject
The embedding configuration used by the source.
descriptionstring or null
The description of the source.
instructionsstring or null
Instructions for how to use the source.
metadatamap from strings to any or null
Metadata associated with the source.
idstring or nullformat: "^source-[a-fA-F0-9]{8}"

The human-friendly ID of the Source

created_by_idstring or null
The id of the user that made this Tool.
last_updated_by_idstring or null
The id of the user that made this Tool.
created_atstring or nullformat: "date-time"
The timestamp when the source was created.
updated_atstring or nullformat: "date-time"
The timestamp when the source was last updated.

Errors