Skip to content

Roye documentation

Start with a project key and the SDK, then open the guide for the API you need. Each guide shows where its API is available today.

Get started

  1. Create a project and key

    Sign in to the console, create a project and issue a backend key for an environment.

    Open the console
  2. Set up authentication

    Send the key with the project and environment headers, or let the SDK do it.

    SDK and authentication
  3. Make a first request

    Send a Roundtable request with an idempotency key and read its result and usage.

    Roundtable quickstart

APIs

Rules every API shares

TopicRule
AuthenticationAuthorization: Bearer with a project key, plus X-Roye-Project and X-Roye-Environment. Keys stay on your backend.
Contract versionHeader-selected APIs serve the version named in Roye-Contract-Version, or the environment’s pin without it. Route-bound routes such as /v1/roundtable/runs have a fixed version. Responses state their version in the same header.
IdempotencyMutations carry an idempotencyKey. The same key and input replays the original; other input under that key is 409 idempotency_conflict.
Lost responsesRetry with the same key, or recover the original with POST /v1/operations/recover. Never retry an uncertain request under a new key.
ErrorsEvery refusal carries one shared error envelope. Branch on its category; code values may grow. Each guide lists its codes and what to do.

Details are in SDK and authentication.