Black Friday: 90% offEnds Dec 1Get Hobby for $3
Crayo Logo
Browse the API docs
Guide

OpenAPI specification

The Crayo API publishes an OpenAPI 3.1 document at crayo.ai/docs/openapi.json that describes all 39 endpoints with their parameters, request bodies, example responses and error codes. Import it into an API client or a code generator to get a typed SDK.

Download the specification

The document is generated from the same endpoint registry that renders these pages and the API console in the Crayo app, so it always matches what is documented here. It is served as plain JSON.

curl
curl -o crayo-openapi.json "https://crayo.ai/docs/openapi.json"
  • Format: OpenAPI 3.1.0, title Crayo API, server https://api.crayo.ai.
  • Security: one bearerAuth HTTP bearer scheme applied to every operation. Supply a key that starts with crayo_sk_.
  • Coverage: 39 operations across 10 tags, one tag per endpoint group in these docs.

What each operation contains

Operations are keyed by path and lower-case method. Each one carries the endpoint id as operationId, the description and notes from these docs, path and query parameters with enums and defaults, a JSON request body schema with an example where the endpoint takes a body, and a 200 response schema inferred from the example response.

excerpt
{
  "/v1/projects/{id}/export": {
    "post": {
      "operationId": "export-project",
      "summary": "Export project",
      "tags": [
        "Projects"
      ],
      "x-credits": "1 export credit per second of finished video",
      "x-rate-limit": {
        "tier": "heavy",
        "requests_per_second": 2,
        "requests_per_minute": 10
      }
    }
  }
}
  • x-credits is the plain-language cost string shown on every endpoint page.
  • x-rate-limit names the tier and its requests per second and per minute, the same numbers as the rate limit tables.
  • Error responses are listed per status with example bodies keyed by code. The shared 401, 429 and 500 responses are present on every operation.

Tags

TagEndpointsReference
Account1/docs/account
Assets and Uploads7/docs/assets
Generation6/docs/generation
Catalogs4/docs/catalogs
Transcripts1/docs/transcripts
Projects6/docs/projects
Exports2/docs/exports
AutoClip3/docs/autoclip
Speech Enhancer5/docs/speech-enhancer
Webhooks4/docs/webhooks
New to the Crayo API? See what it is forUse cases, pricing and the console walkthrough live on the API feature page.

Frequently asked questions

OpenAPI 3.1.0. The info block names the API Crayo API, the servers list points at the production base URL, and the security scheme is HTTP bearer authentication.

Every operation has an x-credits string describing what the call costs and an x-rate-limit object with its tier, requests per second and requests per minute. Tags match the endpoint groups in these docs.

Each operation lists its error statuses with example bodies keyed by code, including the shared 401 MISSING_API_KEY and UNAUTHORIZED, 429 RATE_LIMITED and 500 SERVER_ERROR responses.

Still have questions?

Contact our 24/7 support team for any concerns or inquiries.

Get in touch

Get an API key and make your first call