API

Last updated: July 2026

The Revenue Quality Engine public API is defined by an OpenAPI 3.1 contract. Access is currently in the experimental / partner tier. A full Developer Portal is on the roadmap.

Status. API endpoints are not open to self-serve today. Contact the team for partner access. This page will expand into full reference material as endpoints move from experimental to beta and GA.

Overview

StyleREST + JSON
ContractOpenAPI 3.1 (single-file bundle)
TransportHTTPS only (TLS 1.2+)
Base URLhttps://api.revenuequalityengine.com (planned)
Content typeapplication/json; charset=utf-8

Authentication

Two mechanisms are supported:

API keys can be revoked and rotated at any time. Every request is logged with the credential identifier (never the secret) for audit purposes.

Versioning

Two orthogonal axes, both declared in the contract root:

AxisFieldValues
Contract SemVerinfo.version0.x pre-GA · 1.x GA · 2.x breaking
Release statusx-release-statusexperimental · beta · ga · deprecated

Rules:

Rate limits

Rate limits are enforced per API key and per workspace. Exact quotas are set by plan. When a limit is hit, the API responds with HTTP 429 and a Retry-After header. Idempotent retries (with Idempotency-Key header) are safe.

Errors

Errors follow a consistent envelope:

{
  "error": {
    "code": "resource_not_found",
    "message": "Client not found",
    "request_id": "req_01H7..."
  }
}

Client errors are 4xx; server errors are 5xx. The request_id is safe to share with support.

OpenAPI contract

The contract lives at openapi/root.yaml in the source repository. It bundles into a single file for tooling. Release status per operation is expressed via x-release-status. Governance rules are enforced by CI guards (snapshot immutability, operation-id immutability, release-status redundancy, ADR references).

SDK

A TypeScript SDK is generated from the OpenAPI contract and versioned alongside it. See sdk/ts/README.md in the source repository for usage. The SDK is the recommended way to consume the API from TypeScript / JavaScript environments.

What is coming