Rivia API
The Rivia API: everything the console does, for your own scripts and integrations.
Base URL: https://rivia.io. Every path below starts with /v1.
Authentication. Send an API key as Authorization: Bearer sk_.... Owners and admins create keys
with POST /v1/organizations/{org}/api-keys (Members and API keys); a key acts with the role it was given.
Organizations. Most endpoints are under /v1/organizations/{org}, where {org} is the
organization's ID (org_...). GET /v1/me lists the organizations the key can access.
Errors use RFC 9457 problem details (application/problem+json) with a stable code.
An organization you cannot access returns 404, so its existence is not revealed.
Integrations are provider-neutral. An integration connects one provider (aws, github) to an
organization. What it monitors are scopes (for AWS, accounts). Provider-specific content sits in a
block named after the provider, e.g. {"provider": "aws", "aws": {...}}.
The machine-readable description is at https://rivia.io/openapi.yaml.
Authentication
- HTTP: Bearer Auth
API key (sk_...)
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |