Skip to main content
GET
/
api
/
v2
/
agents
curl -X GET "http://localhost:8000/api/v2/agents?limit=10&offset=0" \
  -H "Authorization: Bearer your_api_key"
{
  "agents": [
    {
      "agent_id": "customer-support",
      "created_at": "2025-03-25T10:30:00Z",
      "memory_count": 42,
      "last_active": "2025-03-30T14:22:00Z"
    },
    {
      "agent_id": "project-manager",
      "created_at": "2025-03-20T09:15:00Z",
      "memory_count": 18,
      "last_active": "2025-03-28T11:45:00Z"
    }
  ],
  "total": 2,
  "limit": 10,
  "offset": 0
}

Overview

Manage agents via the REST API.

Authentication

  • Authorization: Bearer your_api_key
curl -X GET "http://localhost:8000/api/v2/agents?limit=10&offset=0" \
  -H "Authorization: Bearer your_api_key"
{
  "agents": [
    {
      "agent_id": "customer-support",
      "created_at": "2025-03-25T10:30:00Z",
      "memory_count": 42,
      "last_active": "2025-03-30T14:22:00Z"
    },
    {
      "agent_id": "project-manager",
      "created_at": "2025-03-20T09:15:00Z",
      "memory_count": 18,
      "last_active": "2025-03-28T11:45:00Z"
    }
  ],
  "total": 2,
  "limit": 10,
  "offset": 0
}

Response Fields

agents
array
Agent list.
total
integer
Total records.
limit
integer
Page size.
offset
integer
Page offset.