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

# Platform compatibility

> The platform release this API runs, the address of its docs, the total size and number of files one turn may carry, the latest SDK and CLI releases built with it, and the SDK and CLI major versions it supports, so a client can tell whether it is compatible. Requires authentication; open to every authenticated user.

> [!WARNING]
>
> You are reading the docs of Galtea 5.22. [Read this page in the latest version](https://docs.galtea.ai/api-reference/platform-compatibility.md).


## OpenAPI

````yaml /v5.22/openapi.json get /platform-compatibility
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /platform-compatibility:
    get:
      tags: []
      summary: Platform compatibility
      description: >-
        The platform release this API runs, the address of its docs, the total
        size and number of files one turn may carry, the latest SDK and CLI
        releases built with it, and the SDK and CLI major versions it supports,
        so a client can tell whether it is compatible. Requires authentication;
        open to every authenticated user.
      operationId: getPlatformCompatibility
      responses:
        '200':
          description: Platform version and supported client versions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformCompatibility'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    PlatformCompatibility:
      type: object
      properties:
        platform:
          type: string
          pattern: ^\d+\.\d+\.\d+$
          description: >-
            Platform release this API was built for. Absent on a development or
            preview build.
          example: 5.12.0
        docs:
          $ref: '#/components/schemas/PlatformDocs'
        fileLimits:
          allOf:
            - $ref: '#/components/schemas/FileLimits'
            - description: >-
                What this deployment lets one turn carry in files. The defaults
                are 20 files and 20 MB in total, and they are configurable. A
                deployment older than this field has those two limits fixed, so
                a client that finds it absent may apply 20 files and 20 MB.
        sdk:
          $ref: '#/components/schemas/ClientCompatibility'
        cli:
          $ref: '#/components/schemas/ClientCompatibility'
      required:
        - docs
        - sdk
        - cli
    Error:
      type: object
      properties:
        error:
          type: string
          example: NotFound
          description: >-
            The HTTP status name in PascalCase, such as `BadRequest` or
            `NotFound`.
        message:
          type: string
          example: Product not found
          description: What went wrong, for a person.
      required:
        - error
        - message
    PlatformDocs:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: >-
            Docs of this platform release; the bare docs root on a development
            or preview build. The `llms.txt` at the docs root lists the pages of
            the newest docs: open the path of a page under this address. A page
            added after this release answers 404 here.
          example: https://docs.galtea.ai/v5.12
      required:
        - url
    FileLimits:
      type: object
      properties:
        turnTotalBytes:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          description: >-
            Largest total size, in bytes, of the files that one input or output
            of a turn may carry. The same value bounds each file, because the
            total is the only size check.
          example: 20971520
        turnMaxFiles:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          description: Most files that one input or output of a turn may carry.
          example: 20
      required:
        - turnTotalBytes
        - turnMaxFiles
    ClientCompatibility:
      type: object
      properties:
        latest:
          type: string
          pattern: ^\d+\.\d+\.\d+$
          description: >-
            Latest release of the client built with this platform. Absent when
            the build did not record one.
          example: 5.12.0
        majors:
          type: array
          items:
            $ref: '#/components/schemas/SupportedMajor'
          description: >-
            Client major versions this platform supports. Empty when the
            platform version is unknown.
      required:
        - majors
    SupportedMajor:
      type: object
      properties:
        major:
          type: integer
          description: A supported major version of the client.
          example: 5
        endsOn:
          type: string
          nullable: true
          format: date
          description: >-
            Last day (`YYYY-MM-DD`) this platform supports the major. `null`
            while no end date is set.
          example: null
      required:
        - major
        - endsOn
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````

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