Endpoint
http://localhost:8000
Request headers
string
required
JWT obtained from the OTAS login endpoint, identifying the calling user.
string
required
UUID of the project whose agents you want to list.
Response
number
1 on success.string
"agents_listed" on success.object
Only agents with
is_active=True are returned. Within each agent, only keys with active=True appear in agent_keys. The full API key secret is never included — use POST /api/agent/v1/create/ or POST /api/agent/v1/agents/key/create/ to obtain a new plaintext key.Example
cURL
Response (200)