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

# Get all deployed APIs and their versions.

> Lists the APIs deployed by this application, by namespace. Each version of an API gives the prefix of its REST path and, when it is also exposed through WebSocket, its WebSocket path. With includeRevision, each version also gives its revision, which counts the non-breaking changes made to that version, and the version of the response structure becomes 2.



## OpenAPI

````yaml engine/rest/6.2.4/openapi.json GET /versions/rest
openapi: 3.1.0
info:
  title: Atoti REST services
  version: 6.2.4-SNAPSHOT
servers:
  - description: The Atoti Server instance to query, over HTTPS
    url: https://{host}
    variables:
      host:
        default: my-atoti-server:9090
        description: Host and port of your Atoti Server instance
  - description: The Atoti Server instance to query, over plain HTTP
    url: http://{host}
    variables:
      host:
        default: my-atoti-server:9090
        description: Host and port of your Atoti Server instance
security: []
tags:
  - description: Implementation of the REST API controller for an ActivePivot database.
    name: Database REST API
  - description: >
      GetAggregatesQuery (GAQ) REST API for executing OLAP queries.


      This API provides a programmatic way to execute GetAggregatesQuery
      operations

      against Atoti cubes. Results are returned in Apache Arrow format for
      efficient

      data transfer and processing.


      **Note:** This API is experimental and may change in future versions
      without notice.
    name: GAQ Query REST API
  - description: >
      XML for Analysis (XMLA) endpoint for executing MDX queries and OLAP
      discovery operations.


      This endpoint implements the XMLA protocol which is used by:

      - Microsoft Excel and other OLAP clients

      - Custom BI tools that support XMLA connectivity


      The endpoint supports both text XML and binary XML formats for improved
      performance.
    name: XMLA API
  - description: Definition of REST API to query data from ActivePivot (V10).
    name: Query REST API (V10)
  - description: Definition of REST API to query data from ActivePivot (V9).
    name: Query REST API (V9)
  - description: Implementation of the REST Bulk API of the content server (version 8).
    name: Bulk REST API
  - description: Lists the APIs exposed by an application, with their versions and paths.
    name: Version REST API
  - description: Implementation of the REST API of the content server.
    name: Content Server REST API
  - description: Implementation of the REST API controller for an ActivePivot database.
    name: Database REST API v9
  - description: Rest Service providing the discovery information.
    name: Discovery REST API
  - description: >-
      Endpoints for Atoti Auto-Explain, which explains how a measure varies
      between two members by attributing the variation to the hierarchies that
      drive it.
    name: Auto-Explain
  - description: JSON Web Token (JWT) endpoint.
    name: JWT API
  - description: >
      Endpoints to retrieve and manage query history.


      **Note:** This API is experimental and may change in future versions
      without notice.
    name: Query History REST API (Experimental)
  - description: Description of REST API to configure an ActivePivot application.
    name: Configuration REST API
  - description: API to export the result of MDX queries
    name: Data Export
  - description: >
      GetAggregatesQuery (GAQ) REST API for executing OLAP queries.


      This API provides a programmatic way to execute GetAggregatesQuery
      operations

      against Atoti cubes. Results and updates are streamed in Apache Arrow
      format for efficient

      data transfer and processing.
    name: Continuous GAQ Query REST API
  - description: Endpoints for inspecting the distribution layer of a query cube.
    name: Distribution Observability
  - description: Endpoints of the Atoti BI adapter.
    name: BI Adapter REST API
  - description: Endpoints for AI-based optimization of Atoti cubes
    name: AI Optimizer
  - description: Implementation of the REST Bulk API of the content server.
    name: Bulk REST API
paths:
  /versions/rest:
    get:
      tags:
        - Version REST API
      summary: Get all deployed APIs and their versions.
      description: >-
        Lists the APIs deployed by this application, by namespace. Each version
        of an API gives the prefix of its REST path and, when it is also exposed
        through WebSocket, its WebSocket path. With includeRevision, each
        version also gives its revision, which counts the non-breaking changes
        made to that version, and the version of the response structure becomes
        2.
      operationId: getAllVersions
      parameters:
        - description: >-
            Whether to include the revision of each version, which counts the
            non-breaking changes made to that version.
          in: query
          name: includeRevision
          required: false
          schema:
            default: ''
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                With revisions:
                  description: With revisions
                  value:
                    apis:
                      activeviam/pivot:
                        versions:
                          - id: '10'
                            restPath: /activeviam/pivot/rest/v10
                            revision: 2
                    serverVersion: 6.1.13
                    version: 2
                Without revisions:
                  description: Without revisions
                  value:
                    apis:
                      activeviam/pivot:
                        versions:
                          - id: '10'
                            restPath: /activeviam/pivot/rest/v10
                          - id: '9'
                            restPath: /activeviam/pivot/rest/v9
                    serverVersion: 6.1.13
                    version: 1
              schema:
                $ref: '#/components/schemas/ApisDto'
                additionalProperties:
                  default: ''
                default: ''
          description: APIs returned successfully.
components:
  schemas:
    ApisDto:
      properties:
        apis:
          additionalProperties:
            $ref: '#/components/schemas/ApiVersionDto'
          type: object
        serverVersion:
          type: string
        version:
          format: int32
          type: integer
      type: object
    ApiVersionDto:
      properties:
        versions:
          items:
            $ref: '#/components/schemas/VersionDto'
          type: array
      type: object
    VersionDto:
      properties:
        id:
          type: string
        includeRevision:
          $ref: '#/components/schemas/VersionDto'
          writeOnly: true
        restPath:
          type: string
        revision:
          format: int32
          type: integer
        wsPath:
          type: string
      type: object

````