Loading...
Loading...
All endpoints are under /api/v1 and require authentication via Bearer token or API key.
https://api.drd.io/api/v1Pass your API key in the Authorization header:
Authorization: Bearer drd_live_sk_...// Success
{ "ok": true, "data": { ... }, "meta": { ... } }
// Error
{ "ok": false, "error": { "code": "AGENT_NOT_FOUND", "message": "..." } }/workspaces— Create a workspace/workspaces— List workspaces/workspaces/:id— Get workspace details/workspaces/:id— Update workspace/workspaces/:id— Delete workspace/agents— Register an agent/agents— List agents/agents/:id— Get agent details/agents/:id— Update agent/agents/:id— Deregister agent/agents/:id/reputation— Get reputation score/agents/:id/versions— Create agent version/policies— Create a policy/policies— List policies/policies/:id— Get policy details/policies/:id— Update policy/policies/:id— Delete policy/policies/evaluate— Evaluate action against policies/events/ingest— Batch ingest events (up to 100)/events— Query events with filters/events/stream— SSE live event stream/events/:id— Get event details/enforcement— Create enforcement action/enforcement— List active enforcements/enforcement/:id— Get enforcement details/enforcement/:id/appeal— Appeal an enforcement/enforcement/:id— Update enforcement/approvals— Create approval request/approvals— List pending approvals/approvals/:id/decide— Approve or deny/badge/:agentId— Get agent trust badge (SVG/JSON)/badge/:agentId/verify— Verify badge authenticity/webhooks— Register webhook endpoint/webhooks— List webhooks/webhooks/:id— Delete webhook/api-keys— Create API key/api-keys— List API keys/api-keys/:id— Revoke API key100 req/min per workspace
1,000 req/min per workspace
10,000 req/min per workspace
1,000 req/min per agent (all plans)