List Agent Folders

Get the folders associated with an agent.

Authentication

AuthorizationBearer

Header authentication of the form Bearer <token>

Path parameters

agent_idstringRequiredformat: "^agent-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"=42 characters

The ID of the agent in the format ‘agent-<uuid4>’

Query parameters

beforestring or nullOptional
Source ID cursor for pagination. Returns sources that come before this source ID in the specified sort order
afterstring or nullOptional
Source ID cursor for pagination. Returns sources that come after this source ID in the specified sort order
limitinteger or nullOptionalDefaults to 100
Maximum number of sources to return
orderenumOptionalDefaults to desc
Sort order for sources by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
order_by"created_at"Optional
Field to sort by

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

vector_db_providerenum or null
The vector database provider used for this source's passages
Allowed values:
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