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

# Get Statistics

> Retrieve the statistics on each node in the database.

<Info>
  These fields appear in every entry returned in the response from the `http://oc1-lts0:9090/v1/stats` endpoint:

  * `name`
  * `time`
  * `timestamp`
  * `node`
  * `value`

  Additional fields can vary.
</Info>


## OpenAPI

````yaml /openapi/generated-api-methods.json GET /v1/stats
openapi: 3.1.0
info:
  title: Generated API methods
  version: 1.0.0
  description: Generated from imported ApiMethodV2 blocks.
servers:
  - url: https://{sql_node}
    variables:
      sql_node:
        default: sql_node
  - url: http://oc1-lts0:9090
security: []
paths:
  /v1/stats:
    get:
      tags:
        - System Information REST Endpoints
      summary: Get Statistics
      description: Retrieve the statistics on each node in the database.
      operationId: getSystemInformationRestEndpointsGetStatistics
      parameters: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                filter:
                  type: string
                  description: Filter for the statistics.
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    time:
                      type: string
                    timestamp:
                      type: string
                    node:
                      type: string
                    value:
                      type: integer
              examples:
                response:
                  value:
                    - name: vm.stats.pdfCacheSize
                      time: '1686335017884363'
                      timestamp: '2023-06-09T18:23:37.884Z'
                      node: sql0
                      value: 4680936
                    - name: localStorageService.device.spaceFree
                      time: '1686335145388588'
                      timestamp: '2023-06-09T18:25:45.388Z'
                      node: sql0
                      value: 0
                      device: 4418fbc3-fcf9-5cfe-b2b3-b41a8247a600
      servers:
        - url: http://oc1-lts0:9090
      x-codeSamples:
        - lang: curl
          label: curl
          source: |-
            curl --location --request GET 'http://oc1-lts0:9090/v1/stats' \
            --header 'Accept: application/json' 

````