Skip to main content
Raigal Cloud provides a REST API to query scores, inspect active policies, manage tokens, and ingest CLI run payloads.

Authentication

All API requests must include a valid Bearer token in the Authorization header:
Generate API keys at app.raigal.dev/settings under API Tokens.

Endpoints

1. Identity check

Verify the active token and return the authenticated user, organization, evaluation trial or license plan status, and allowed repository owners.
Response:

2. Organization quality policy

Retrieve active quality thresholds and locked rules configured for the organization or a specific repository.
Response:

3. Ingest CLI run

Submit an evaluation run payload generated by the CLI (raigal ci or raigal scan):
Request body (strict Run contract schema):
Response:

Token management

Tokens can be created in the web dashboard or via the tokens API:

Create API token

Response:
Store your token when created. The full token string is shown once. Raigal Cloud stores a SHA-256 hash and cannot recover lost tokens.

Dashboard and repository management

Repository management, branch tracking, and token revocation are available through the web interface at app.raigal.dev/settings using your authenticated browser session.