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

# Context read time

> The server time, without the network, of the space's context reads over 24 hours and 7 days: median, p95, the share under 100 ms, the 99% objective, the reads and the degraded ones.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/usage/context-latency
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/usage/context-latency:
    get:
      tags:
        - usage
      summary: Context read time
      description: >-
        The server time of the space's context reads over 24 hours and 7 days,
        without the network: median,

        p95, the share under the published target and against the objective, the
        reads and the share served

        degraded.


        **Authentication.** Console person token with the `analysis` role (or
        admin), or a source key with the `admin` scope.
      operationId: context_latency_v1_usage_context_latency_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextLatencyReport'
          description: Successful Response
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    ContextLatencyReport:
      additionalProperties: false
      description: >-
        The server time of the space's context reads (`/v1/context`), without
        the network, from the cell's

        own metrics, refreshed at most once a minute.
      properties:
        as_of:
          format: date-time
          title: As Of
          type: string
        available:
          description: >-
            False when the cell's metrics could not be read; the windows are
            empty.
          title: Available
          type: boolean
        slo:
          description: The share of reads the objective expects under `target_ms`.
          title: Slo
          type: number
        target_ms:
          description: The published server time of a context read.
          title: Target Ms
          type: integer
        windows:
          items:
            $ref: '#/components/schemas/ContextLatencyWindow'
          title: Windows
          type: array
      required:
        - available
        - target_ms
        - slo
        - windows
        - as_of
      title: ContextLatencyReport
      type: object
    ContextLatencyWindow:
      additionalProperties: false
      properties:
        degraded:
          anyOf:
            - type: number
            - type: 'null'
          description: >-
            Share of the reads served degraded: memory late, missing or a block
            left out.
          title: Degraded
        error_budget_used:
          anyOf:
            - type: number
            - type: 'null'
          description: >-
            Share of the objective's error budget (the reads over `target_ms` it
            allows) spent; above 1 the objective was missed.
          title: Error Budget Used
        p50_ms:
          anyOf:
            - type: number
            - type: 'null'
          description: Median server time; null without reads.
          title: P50 Ms
        p95_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P95 Ms
        reads:
          description: Context reads of the space in the window.
          title: Reads
          type: integer
        under_target:
          anyOf:
            - type: number
            - type: 'null'
          description: Share of the reads the server answered in `target_ms` or less.
          title: Under Target
        window:
          enum:
            - 24h
            - 7d
          title: Window
          type: string
        within_slo:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Whether that share reached the objective, `slo` of the reads.
          title: Within Slo
      required:
        - window
        - reads
      title: ContextLatencyWindow
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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