API Reference
API overview
The live ReQlo API: base URL, credentials and every route you can call.
The API is served at https://api.reqlo.io/v1. Every page in this section documents a live route, generated from
openapi/reqlo-v1.yaml. Requests and responses are JSON; unknown fields are rejected.
Credentials
| Credential | Looks like | Where you get it | Use it for |
|---|---|---|---|
| Project API key | rq_test_… | API keys in the dashboard | Your server: authorize, read approvals, manage delegations |
| CLI token | rqat_… | reqlo login | You or CI as a person: agents, catalog, policies, key metadata, approving and rejecting |
Keys are issued for the Sandbox environment during the beta. See Authentication.
Routes
| Area | Routes | Credential |
|---|---|---|
| Authorize | POST /authorize | Project key |
| Approvals | GET /approvals, GET /approvals/{id} | Project key or CLI token |
POST /approvals/{id}/approve, POST /approvals/{id}/reject | CLI token | |
| Delegations | POST /delegations, GET /delegations, GET /delegations/{id}, POST /delegations/{id}/revoke | Project key |
| Policies | GET /policies/state, POST /policies/save, POST /policies/{id}/publish, GET /policy-versions, POST /policy-versions/{version}/rollback | CLI token |
| Workspace | GET /organizations, GET /projects, GET /environments, GET/POST /agents, agent tags/disable/enable/delete, POST /resource-types, POST /actions, POST /actions/{name}/update, GET /api-keys, POST /api-keys/{id}/revoke | CLI token |
| Credentials | GET /key-context, GET /me, POST /access-tokens/current/revoke | Key or token |
Creating and rolling API keys, approval channels and webhook endpoints are managed in the dashboard. The TypeScript SDK wraps the project-key routes; the CLI wraps the token routes.
Next
- Errors and reason codes.
- Rate limits.
- Webhooks for approval events.
Something wrong or unclear? Report an issue with this page.