The Developer Platform API requires a Max plan. Upgrade in your dashboard.
List keys
Query parameters
Revoke a key
Bulk revoke by watermark
WM_ prefix and pass it here.
watermark must be exactly 16 lowercase hex characters.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List issued keys, revoke individual keys, and bulk-revoke keys by watermark using the API.
GET /v1/projects/:id/keys
| Param | Default | Max | Description |
|---|---|---|---|
limit | 50 | 100 | Keys per page |
offset | 0 | — | Pagination offset |
curl "https://developer.sirius.menu/v1/projects/a1b2.../keys?limit=10" \
-H "Authorization: Bearer sdt_..."
{
"keys": [
{
"id": "k1a2b3c4-...",
"user_hash": "a9f2c8...",
"tier": "standard",
"watermark": "4f8a2b1c9d3e7f06",
"issued_at": 1712345678,
"expires_at": 1712432078,
"max_uses": null,
"current_uses": 14,
"revoked": 0
}
],
"total": 1842
}
POST /v1/projects/:id/keys/revoke
curl -X POST https://developer.sirius.menu/v1/projects/a1b2.../keys/revoke \
-H "Authorization: Bearer sdt_..." \
-H "Content-Type: application/json" \
-d '{ "key_id": "k1a2b3c4-..." }'
{ "ok": true }
POST /v1/projects/:id/keys/revoke-bulk
WM_ prefix and pass it here.
curl -X POST https://developer.sirius.menu/v1/projects/a1b2.../keys/revoke-bulk \
-H "Authorization: Bearer sdt_..." \
-H "Content-Type: application/json" \
-d '{ "watermark": "4f8a2b1c9d3e7f06" }'
{ "ok": true, "revoked_count": 3 }
watermark must be exactly 16 lowercase hex characters.