API Reference Overview
This reference documents the public Runtype API. Use it to manage core resources such as Flows, Agents, Tools, Records, Products, API keys, model configs, and secrets.
Base URL
Authentication
All API requests require an API key:
See Authentication for details.
Endpoints by category
Core resources
Tools and integrations
Access and product delivery
Common patterns
Pagination
List endpoints support cursor-based pagination:
Response includes pagination metadata:
Error handling
Errors use standard HTTP status codes and include a JSON error body.
Validation errors (400)
When a request fails schema validation, the body includes a details array.
Each item carries a stable, machine-readable code so you can branch on the
failure type without string-matching the message:
OpenAPI specification
Download the full OpenAPI spec:
Import it into your API client or code-generation tool for interactive exploration. The official TypeScript SDK derives its core response and streaming types from this same committed spec, and the Python SDK exposes a Fern-generated low-level RuntypeApi through RuntypeClient.api. If a field is not present in the OpenAPI contract, do not depend on it in SDK code.