Quadratic Documentation API

OpenAPI spec and Scalar viewer.

OpenAPI Specification

quadratic-documentation-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Quadratic Developer Agent Connections Documentation API
  description: 'Token-authenticated REST API for Quadratic spreadsheets. All `/v1/*` routes require an `Authorization: Bearer <token>` header where the token is a `qdx_live_…` or `qdx_test_…` value minted from the Quadratic UI.


    **Optional `Quadratic-Session-Id` header.** Clients may attach a UUID v4 to every request to correlate analytics events from a single integration run (one client instance, one CLI invocation, one CI job). Official SDKs generate one at construction and send it transparently; direct callers may omit it. Malformed values are dropped silently and never propagated to analytics.'
  contact:
    name: Quadratic
  license:
    name: Apache-2.0
  version: 0.26.9
tags:
- name: Documentation
  description: OpenAPI spec and Scalar viewer.
paths:
  /openapi.json:
    get:
      tags:
      - Documentation
      summary: 'Serves the raw OpenAPI 3.1 spec for the developer API. The same spec

        is rendered as interactive HTML at `/docs`.'
      operationId: openapiSpec
      responses:
        '200':
          description: OpenAPI 3.1 spec for this service
components:
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: API token (qdx_live_… or qdx_test_…)
      description: 'API tokens are minted from the Quadratic UI under Team Settings → API Tokens. Send as `Authorization: Bearer <token>`.'