Create Source

POST
/v1/sources/

Create a new data source.

Request

This endpoint expects an object.
namestringRequired

The name of the source.

embedding_configobjectOptional

The embedding configuration used by the source.

descriptionstringOptional

The description of the source.

metadatamap from strings to anyOptional

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.

metadatamap from strings to anyOptional

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_atdatetimeOptional

The timestamp when the source was created.

updated_atdatetimeOptional

The timestamp when the source was last updated.

Errors

Built with