Sandbox — Explore with sample data from Acme Corp
Start Free →

API Reference

Complete REST API documentation. Authenticate with Clerk session or API key (Bearer token).

Browser Session

Automatic when signed in. Used by dashboard.

API Key (Bearer Token)

For CLI and programmatic access.

Authorization: Bearer ap_your_key
Base URL
https://getagentpmo.com

Agents

GET
/api/agents

List all agents

Auth: Session / API KeyRate: 100/min
POST
/api/agents

Register a new agent

Auth: Session / API KeyRate: 100/min
GET
/api/agents/:id

Get agent details

Auth: SessionRate: 100/min
PATCH
/api/agents/:id

Update agent

Auth: SessionRate: 100/min
DELETE
/api/agents/:id

Archive agent

Auth: SessionRate: 100/min
POST
/api/agents/:id/heartbeat

Record heartbeat

Auth: API KeyRate: 300/min

Compliance

GET
/api/compliance/:id/pdf

Download action plan PDF

Auth: SessionRate: 10/min

Incidents

GET
/api/incidents

List incidents

Auth: SessionRate: 100/min
POST
/api/incidents

Create incident

Auth: SessionRate: 100/min

Metrics & Bias

POST
/api/metrics/ingest

Push metrics + optional biasMetrics (demographicParityDelta, falsePositiveRateGap, calibrationError)

Auth: API KeyRate: 60/min

Real-time (SSE)

GET
/api/sse

Server-Sent Events stream. Events: agent.updated, incident.created/updated, metrics.ingested, ping

Auth: SessionRate: 10 conn/org

Audit Logs

GET
/api/audit-logs

Paginated audit log entries

Auth: SessionRate: 100/min
GET
/api/audit-logs/export

Export as CSV/JSON or push to Splunk/Datadog via ?format=csv|json&siem=splunk|datadog|all

Auth: SessionRate: 10/min

Webhooks

POST
/api/webhooks/slack/commands

Slack slash commands: /agentpmo status|incidents|agents|help

Auth: x-slack-signatureRate: 60/min
POST
/api/webhooks/slack/interactions

Slack interactive buttons: acknowledge/resolve incident

Auth: x-slack-signatureRate: 60/min
POST
/api/webhooks/teams/actions

Teams Adaptive Card actions: acknowledge/resolve incident

Auth: Teams invokeRate: 60/min

Reports

GET
/api/reports

Executive report JSON

Auth: SessionRate: 100/min
GET
/api/reports/pdf

8-page CISO PDF

Auth: SessionRate: 10/min

API Keys

GET
/api/api-keys

List keys

Auth: SessionRate: 100/min
POST
/api/api-keys

Create key

Auth: SessionRate: 20/min
DELETE
/api/api-keys

Revoke key

Auth: SessionRate: 20/min

Search

GET
/api/search?q=term

Search agents and incidents

Auth: SessionRate: 100/min

CLI

npm install -g agentpmo-cli
agentpmo --api-key YOUR_KEY register -n "My Agent" -i my-agent
agentpmo --api-key YOUR_KEY heartbeat -a AGENT_UUID
agentpmo --api-key YOUR_KEY list
agentpmo --api-key YOUR_KEY report