Skip to main content
GET
/
api
/
agents
cURL
curl --request GET \
  --url http://localhost:8080/api/agents \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>'
{
  "message": "Agents retrieved successfully",
  "status": "success",
  "error": null,
  "data": {
    "organization_id": "org_123",
    "agents": [],
    "pagination": {
      "page": 0,
      "limit": 20,
      "total_count": 150,
      "total_pages": 8,
      "has_next_page": true,
      "has_previous_page": false
    },
    "returned_count": 20,
    "sort_order": "descending",
    "sort_by": "updated_at"
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Query Parameters

page
integer<int32>

Page number (default: 0)

limit
integer<int32>

Items per page (default: 20, max: 100)

sort_by
string

Sort field (default: updated_at)

sort_order
string

Sort direction (default: descending)

Response

200 - application/json

OK

message
string
status
string
error
string
data
object