> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> The Spiral REST API.

Every endpoint lives under `https://api.spiral.ai/v1`, takes your API key as a bearer token
([Authentication](/docs/authentication.md)) and answers JSON. Errors are `application/problem+json`
([Errors and retries](/docs/concepts/errors.md)).

The reference pages are generated from the API's own OpenAPI document, served at `GET /v1/openapi.json`.

## Rate limits

Every response carries `RateLimit-Policy` and `RateLimit` headers. Creating runs and polling them have separate limits,
so polling never uses your create quota.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.