REST API
Workspace API tokens and endpoint check API.
Authenticate with a workspace API token from Settings → Tokens.
Authorization: Bearer adg_live_…Tokens are shown once at creation and stored as SHA-256 hashes.
Check an endpoint
curl -X POST \
"https://YOUR_APP/api/v1/endpoints/$ENDPOINT_ID/check" \
-H "Authorization: Bearer adg_live_…"Successful response:
{
"success": true,
"diffId": "…",
"breakingCount": 0,
"warningCount": 1,
"changeCount": 3,
"alertsSent": 1
}This runs the same hosted check path as the console (baseline diff, schema mode, OpenAPI contract, Slack/Discord fan-out).
Also available
| Surface | Notes |
|---|---|
| Console | Full baseline / check / diff / alerts / schedules UI |
POST /api/check | Signed-in one-off URL probe (session cookie) |
POST /api/openapi/parse | OpenAPI parse for import |
| CLI | Offline / CI JSON gates — see CLI |
| Stripe webhooks | Billing only |