Get Agents
Return every agent the user can see, newest save first.
Each row carries id, title, question_count, updated_at, conversation_count, status, workspace_id and workspace_role.
Two response shapes. With no limit and no cursor this returns a bare
JSON array — the shape the app has always returned. Sending either one instead
returns {"data": [...], "next_cursor": ...}, where next_cursor is
None on the last page.
Query Parameters
Maximum agents to return. Sending this switches the response to the paged object shape.
x >= 1Where to resume from: the next_cursor of the previous page. Sending this switches the response to the paged object shape.
x >= 0Response
Successful Response
- AgentListItem · object[]
- AgentListPage · object
One row of GET /agents.