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

# Trace usage this month

> This calendar month's stored traces against the workspace's free allowance and monthly cap, with the rates billed beyond the allowance.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/traces/usage
openapi: 3.1.0
info:
  title: Veri API
  description: >-
    REST API for the Veri RL post-training platform. All requests require a
    Bearer API key (`vk_` prefix).
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.veri.studio
    description: Production
security: []
tags:
  - name: Training jobs
    description: Create, monitor, and manage training jobs.
  - name: Datasets
    description: Upload and connect training datasets.
  - name: Deployments
    description: Serve trained models and run inference.
  - name: Volumes
    description: Persistent file storage mounted into jobs.
  - name: Models
    description: Custom model registry deployments serve from.
  - name: Regions
    description: Discover available launch regions.
  - name: GPU
    description: Live GPU availability by provider and region.
  - name: Code artifacts
    description: Upload custom training script bundles.
  - name: Billing
    description: Credit balance and transaction history.
  - name: API keys
    description: Create and revoke API keys.
  - name: Account
    description: The authenticated caller's identity.
  - name: Settings
    description: Account-level integrations (Weights & Biases).
  - name: Metrics
    description: Prometheus metrics export for your own observability stack.
  - name: Evaluators
    description: 'Evaluators: versioned scoring rules (LLM judge, code, human).'
  - name: Experiments
    description: >-
      Experiments: offline runs of a pinned dataset snapshot through a target,
      scored by pinned evaluators.
  - name: Annotation queues
    description: >-
      Human review: queue traces, threads and experiment items, reserve one at a
      time, score them and feed corrections back into datasets.
  - name: Monitors
    description: >-
      Monitors: evaluators scoring a sampled share of a deployment's live
      traffic.
  - name: Observability
    description: Agent conversations, agents and their traffic.
  - name: Ask AI
    description: 'The in-app helper agent: chat, ratings and versions.'
  - name: Public runs
    description: Unauthenticated reads of runs their owners published to Explore.
paths:
  /v1/traces/usage:
    get:
      tags:
        - Observability
      summary: Trace usage this month
      description: >-
        This calendar month's stored traces against the workspace's free
        allowance and monthly cap, with the rates billed beyond the allowance.
      operationId: trace_usage
      parameters:
        - name: deployment_id
          in: query
          description: >-
            Also count what this deployment stored this month
            (`deployment_used`).
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceUsage'
        '400':
          description: Request traces disabled
        '404':
          description: '`deployment_id` is not a deployment of this workspace'
      security:
        - bearerAuth: []
components:
  schemas:
    TraceUsage:
      type: object
      description: This calendar month's stored traces against the workspace's limits.
      required:
        - year_month
        - used
        - used_base
        - free_allowance
        - cap
        - price_per_1k_base
        - price_per_1k_extended
      properties:
        year_month:
          type: string
          description: The UTC month counted, `YYYY-MM`.
        used:
          type: integer
          format: int64
          description: |-
            Traces accepted this month, both classes: what `cap` limits. Failed
            calls are stored free and don't count here.
        used_base:
          type: integer
          format: int64
          description: |-
            Base-class traces accepted this month: what `free_allowance` covers.
            Extended-class traces bill from the first one.
        deployment_used:
          type:
            - integer
            - 'null'
          format: int64
          description: 'With `deployment_id`: bodies that deployment stored this month.'
        free_allowance:
          type: integer
          format: int64
          description: Base-class traces free this month. 0 = unlimited.
        cap:
          type: integer
          format: int64
          description: >-
            Traces accepted per month before new bodies are dropped. 0 =
            unlimited.
        price_per_1k_base:
          type: number
          format: double
          description: $ per 1k base-class traces beyond the allowance (14-day retention).
        price_per_1k_extended:
          type: number
          format: double
          description: $ per 1k extended-class traces (400-day retention).
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: API key with the `vk_` prefix. Create one from the dashboard.

````

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