This endpoint returns every active agent registered under the given project, along with each agent’s currently active API keys. Use it to audit which agents exist, verify key expiry dates, or build management UIs. Inactive agents and revoked keys are excluded from the response automatically.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Vedant-Jayesh-Oza/otas/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
http://localhost:8000
Request headers
JWT obtained from the OTAS login endpoint, identifying the calling user.
UUID of the project whose agents you want to list.
Response
1 on success."agents_listed" on success.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)