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

# Realtime usage window



## OpenAPI

````yaml /openapi/analytics.yaml get /api/v1/analytics/usage/realtime
openapi: 3.0.3
info:
  title: Titan Analytics API
  description: Read-only usage summaries, series, execution metrics, and custom queries.
  version: '1.0'
servers:
  - url: https://api.webscraping.titannet.io
    description: Production
security: []
tags:
  - name: Summary & series
  - name: Realtime & timeseries
  - name: Executions
  - name: Tasks
  - name: Query
paths:
  /api/v1/analytics/usage/realtime:
    get:
      tags:
        - Realtime & timeseries
      summary: Realtime usage window
      operationId: getAnalyticsUsageRealtime
      parameters:
        - name: window
          in: query
          schema:
            type: string
            enum:
              - 1m
              - 5m
              - 15m
              - 60m
            default: 5m
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessEnvelope'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    SuccessEnvelope:
      type: object
      properties:
        success:
          type: boolean
        data: {}
    ErrorEnvelope:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````