API conventions
Use the appliance’s versioned HTTP API and its own OpenAPI reference.
ReferenceChecked against the source on October 19, 2026Describes Opal 2.7.0, the current release
API location
The API is served at /api/v1/..., with /api/... as an alias. On your appliance, open /api/docs for the rendered reference or /api/openapi.json for the schema.
Authentication and permissions
Protected API routes require a session or an API token and enforce their applicable permissions. Authentication endpoints and health probes have their own access rules. Pass an API token using the Authorization header:
Authorization: Bearer <your-api-token>API tokens
- Only a District Administrator, signed in to the console, creates or revokes a token, with
POST /api/tokensandDELETE /api/tokens/<id>. A token cannot create or revoke tokens. - A token names the pages and actions it may use, and never more than its creator holds. It never holds district-wide rights and never changes Cenovel’s own settings. Creating and revoking a token are recorded in the audit log.
- The token is shown once, in the answer that creates it; Cenovel keeps only its digest. It lasts 90 days unless you set an earlier or later end, at most two years. A revoked token stops working on its next request.
- After 10 failed token attempts from one address, further attempts wait, with
429and aRetry-Afterheader. Exports are limited to 40 an hour for each account; a token’s exports count toward its creator’s. - While the console is read-only under its license, writes are refused, through a token too.
Use the installed contract
The schema distinguishes routes with a declared contract using x-cenovel-contract: documented and marks other routes as undocumented. Check the schema on the installed release for its parameters, response fields and permissions.
An unsupported path version or Accept-Version header returns 406 with the supported versions.