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.

embeddingstringOptional

The hande for the embedding config used by the source.

embedding_chunk_sizeintegerOptional

The chunk size of the embedding.

embedding_configobjectOptional

(Legacy) The embedding configuration used by the source.

descriptionstringOptional

The description of the source.

instructionsstringOptional

Instructions for how to use the source.

metadataobjectOptional

Metadata associated with the source.

Response

Successful Response

namestring

The name of the source.

embedding_configobject

The embedding configuration used by the source.

idstringOptionalformat: "^source-[a-fA-F0-9]{8}"

The human-friendly ID of the Source

descriptionstringOptional

The description of the source.

instructionsstringOptional

Instructions for how to use the source.

metadataobjectOptional

Metadata associated with the source.

created_by_idstringOptional

The id of the user that made this Tool.

last_updated_by_idstringOptional

The id of the user that made this Tool.

created_atstringOptionalformat: "date-time"

The timestamp when the source was created.

updated_atstringOptionalformat: "date-time"

The timestamp when the source was last updated.