Skip to main content
GET
/
agent
/
v1
/
agents
List agents
curl --request GET \
  --url https://api.case.dev/agent/v1/agents \
  --header 'Authorization: Bearer <token>'
{
  "agents": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "model": "<string>",
      "vaultIds": [
        "<string>"
      ],
      "isActive": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Query Parameters

limit
integer
default:50

Maximum number of agents to return (default 50, max 250)

Required range: 1 <= x <= 250
cursor
string

Pagination cursor (agent ID from previous page). Returns agents created before this agent.

Response

List of agents

agents
object[]
hasMore
boolean
nextCursor
string | null

Pass as cursor to fetch the next page