Documentation Index
Fetch the complete documentation index at: https://zpg6.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Live OpenAPI
The canonical, always-current schema.
https://api.swarmlord.ai and requires a bearer token:
swarmlord login (CLI) or the dashboard.
Deploy a bundle
{ ok: true, agentId, warnings } or { ok: false, errors }.
Create a session
{ id }.
Send a message (streaming)
Send a message (async)
202 { messageId } immediately. Events are persisted to the session for later replay.
Subscribe / replay
seq > 5, then streams new ones.
Fork
{ id }.
Abort
Revert / regenerate
Keys
Secrets
Webhooks
x-swarmlord-signature: <hmac-sha256> and x-swarmlord-timestamp headers. Verify with verifyWebhook() from swarmlord/webhooks.
Triggers
Webhook-triggered agents are reachable at:Errors
| Status | Meaning |
|---|---|
| 400 | Validation error. |
| 401 | Missing or invalid token. |
| 403 | Token valid but lacks access. |
| 404 | Agent or session not found. |
| 429 | Rate-limited. Retry after Retry-After. |
| 5xx | Server error. Response body holds a trace id. |
Health
200 { "ok": true } if the platform is reachable.