List Agent Files

Get the files attached to an agent with their open/closed status (paginated).

Path parameters

agent_idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Query parameters

cursorstring or nullOptional
Pagination cursor from previous response
limitintegerOptional>=1<=100Defaults to 20

Number of items to return (1-100)

is_openboolean or nullOptional

Filter by open status (true for open files, false for closed files)

Response

Successful Response
fileslist of objects
List of file attachments for the agent
has_moreboolean
Whether more results exist after this page
next_cursorstring or null

Cursor for fetching the next page (file-agent relationship ID)

Errors