Create an agent
201 Created:
List / Get / Update / Revoke
Suspend / Unsuspend
Rotate credentials
overlap_window_seconds (default: 15 min) to allow rolling deployments.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create, manage, and revoke agent identities.
curl -X POST https://api.antiailabs.com/api/v1/agents \
-H "Authorization: Bearer YOUR_CLERK_JWT" \
-H "Content-Type: application/json" \
-d '{
"name": "payment-processor",
"description": "Handles Stripe payments",
"tags": ["production", "stripe"],
"policy_ids": ["your-policy-id"]
}'
201 Created:
{
"id": "agent-uuid",
"name": "payment-processor",
"status": "active",
"client_secret": "osk_live_...",
"created_at": "2026-04-11T10:00:00Z"
}
client_secret β itβs shown exactly once.GET /api/v1/agents?tag=production&limit=50
GET /api/v1/agents/AGENT_ID
PATCH /api/v1/agents/AGENT_ID
DELETE /api/v1/agents/AGENT_ID
POST /api/v1/agents/AGENT_ID/suspend
POST /api/v1/agents/AGENT_ID/unsuspend
curl -X POST https://api.antiailabs.com/api/v1/agents/AGENT_ID/credentials/rotate \
-H "Authorization: Bearer YOUR_CLERK_JWT" \
-H "Content-Type: application/json" \
-d '{"overlap_window_seconds": 900}'
overlap_window_seconds (default: 15 min) to allow rolling deployments.