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

# List saved config versions (newest first)

> The version history — each save snapshots author, message, timestamp.



## OpenAPI

````yaml get /api/airouter/versions
openapi: 3.1.0
info:
  title: Nx1 AI API
  description: |

    AI API for Nx1 Data Platform Management and Automated Data Tasks.

    Authentication is required via PSK in Authorization header.

    Default PSK is | [ask a friend] |
  version: 0.10.2
servers: []
security: []
paths:
  /api/airouter/versions:
    get:
      tags:
        - AI Router
      summary: List saved config versions (newest first)
      description: The version history — each save snapshots author, message, timestamp.
      operationId: list_versions_api_airouter_versions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigVersionListResponse'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    ConfigVersionListResponse:
      properties:
        versions:
          items:
            $ref: '#/components/schemas/ConfigVersion'
          type: array
          title: Versions
        current:
          anyOf:
            - type: integer
            - type: 'null'
          title: Current
      type: object
      required:
        - versions
      title: ConfigVersionListResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
          description: A brief description of the error that occurred.
        code:
          type: integer
          title: Code
          description: The HTTP status code associated with the error.
          default: 500
      type: object
      required:
        - error
      title: ErrorResponse
    ConfigVersion:
      properties:
        version:
          type: integer
          title: Version
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
        created_at:
          type: string
          title: Created At
          description: ISO-8601 UTC timestamp.
        size_bytes:
          type: integer
          title: Size Bytes
          default: 0
        is_current:
          type: boolean
          title: Is Current
          default: false
      type: object
      required:
        - version
        - created_at
      title: ConfigVersion
      description: One saved snapshot of the router config on the shared volume.
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/auth
          tokenUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/token
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization-PSK

````

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