agents

List Agent Files

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

get/v1/agents/{agent_id}/files

Path parameters

agent_idstring required

Query parameters

cursorstring nullable

Pagination cursor from previous response

Pagination cursor from previous response

limitinteger

Number of items to return (1-100)

Number of items to return (1-100)

is_openboolean nullable

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

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

Response

Successful Response

next_cursorstring nullable

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

has_moreboolean required

Whether more results exist after this page

Changes