Attach Source To Agent

POST
/v1/sources/:source_id/attach

Attach a data source to an existing agent.

Path parameters

source_idstringRequired

Query parameters

agent_idstringRequired

The unique identifier of the agent to attach the source to.

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.

organization_idstringOptional

The ID of the organization that created the source.

metadata_map 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_atdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The timestamp when the source was created.

updated_atdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The timestamp when the source was last updated.

Errors