CognitiveX Docs
API

GET /api/agents/{slug}

Get Agent

GET /api/agents/{slug}

Get Agent

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
slugpathstringYes-
X-Org-IDheaderstring | nullNo-

Example request

curl -X GET https://api.cognitivx.io/api/agents/{slug} \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{
  "slug": "string",
  "name": "production",
  "agent_type": "semantic",
  "description": "string",
  "current_task": "string",
  "context_summary": "Parsa prefers limit/offset pagination",
  "last_active_at": "2026-06-16T08:30:00Z",
  "created_at": "2026-06-16T08:30:00Z"
}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.