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

# Get query stats

> Retrieve aggregate Atlantic query statistics, including average query time and total submitted queries for your API key.



## OpenAPI

````yaml get /atlantic-queries/stats
openapi: 3.0.3
info:
  title: Atlantic API
  version: 0.1.0
servers:
  - url: https://atlantic.api.herodotus.cloud
    description: Production
  - url: https://stg.atlantic.api.herodotus.cloud
    description: Staging
security: []
paths:
  /atlantic-queries/stats:
    get:
      tags:
        - Atlantic Query
      summary: Get the stats of Atlantic queries you have submitted.
      description: >-
        Provide your API key to get stats (average query time and total queries)
        of Atlantic queries you have submitted.
      parameters:
        - schema:
            type: string
          in: query
          name: apiKey
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  averageProcessingTime:
                    type: number
                  totalQueries:
                    type: number
                required:
                  - averageProcessingTime
                  - totalQueries
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    enum:
                      - ATLANTIC_QUERY_NOT_FOUND
                required:
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                      - INTERNAL_SERVER_ERROR
                      - ZOD_PARSING_ERROR
                required:
                  - error
                additionalProperties: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api-key

````