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

# Live cost report

> Requires Reports entitlement. Inclusive UTC dates, default 14 days and maximum 90. Company scope follows call attribution, not shared-agent membership. Do not sum provider charges and trace estimates; they can overlap. Missing telemetry is listed in failures.



## OpenAPI

````yaml /docs-openapi.json get /v1/reports/costs
openapi: 3.1.0
info:
  title: Zelto REST API
  version: v1
  description: >-
    Programmatic access to your Zelto organization. Every endpoint is scoped to
    the organization the API key belongs to. Mint a key at Settings →
    Integrations → API Call Upload.
servers:
  - url: https://api.zelto.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Agents
    description: Voice and chat bots normalised through Zelto's ingestion pipeline.
  - name: Conversations
    description: Calls, chats, and voicemails — plus their transcripts and recordings.
  - name: Customer Metrics
    description: >-
      Customer-provided evaluations attached to a call (requires metrics
      enabled).
  - name: Reviews
    description: Human review state for conversations.
  - name: Buckets
    description: Reviewer routing — group conversations for batched review.
  - name: Companies
    description: Clients or brands your agents work for, and their logos.
  - name: Findings
    description: >-
      Structured issues discovered during analysis, with optional conversation
      attachments and comments.
  - name: Experiments
    description: >-
      Prospective measurement of two externally routed prompt versions across
      independent monitor outcomes.
  - name: Organizations
    description: >-
      Headless org provisioning. Requires an admin/service API key (not a
      read-only org-scoped customer key).
paths:
  /v1/reports/costs:
    get:
      tags:
        - Reports
      summary: Live cost report
      description: >-
        Requires Reports entitlement. Inclusive UTC dates, default 14 days and
        maximum 90. Company scope follows call attribution, not shared-agent
        membership. Do not sum provider charges and trace estimates; they can
        overlap. Missing telemetry is listed in failures.
      operationId: getCostReport
      parameters:
        - name: companyId
          in: query
          required: false
          schema:
            type: string
            format: uuid
        - name: from
          in: query
          required: false
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Report with effective window
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerCostReport'
        '400':
          description: Invalid parameters
        '401':
          description: Authentication required
        '403':
          description: Reports entitlement required
components:
  schemas:
    CustomerCostReport:
      type: object
      required:
        - rows
        - failures
        - monitors
        - window
      properties:
        rows:
          type: array
          items:
            type: object
            properties:
              companyId:
                type: string
                nullable: true
              companyName:
                type: string
                nullable: true
              provider:
                type: string
              metricId:
                type: string
                nullable: true
              component:
                type: string
                enum:
                  - calls
                  - traces
                  - monitoring
              amountUsd:
                type: number
              events:
                type: integer
              unknownCosts:
                type: integer
        failures:
          type: array
          items:
            type: string
            enum:
              - calls
              - traces
              - monitoring
        monitors:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              name:
                type: string
              sampleRate:
                type: number
        window:
          type: object
          properties:
            from:
              type: string
              format: date
            to:
              type: string
              format: date
          required:
            - from
            - to
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send `Authorization: Bearer YOUR_API_KEY`. The key resolves to a single
        organization.

````