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

# Fetch this OpenAPI spec

> Returns the raw contents of this OpenAPI spec (docs/openapi.yaml) as `text/yaml`.
No authentication required.




## OpenAPI

````yaml /openapi.yaml get /api/docs/openapi
openapi: 3.0.3
info:
  title: Aptly API
  version: '1.0'
  description: >
    The Aptly API lets you read and write cards on any Aptly board from external
    systems.


    All requests require an API key passed as the `x-token` header.

    API keys are scoped to your company and work across all boards.
servers:
  - url: https://core-api.getaptly.com
    description: Production
security:
  - ApiKeyHeader: []
paths:
  /api/docs/openapi:
    get:
      tags:
        - Docs
      summary: Fetch this OpenAPI spec
      description: >
        Returns the raw contents of this OpenAPI spec (docs/openapi.yaml) as
        `text/yaml`.

        No authentication required.
      operationId: getPublicOpenApiSpec
      responses:
        '200':
          description: The OpenAPI spec, as YAML.
          content:
            text/yaml:
              schema:
                type: string
      security: []
components:
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-token

````