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

# Get call performance

> Inspect completed-run timing and trace coverage.

Supply an IANA `timezone`, such as `Europe/Dublin`. Use `period=7d` or `30d`, or `custom` with `start` and `end` in `YYYY-MM-DD` format. Invalid periods/date ranges return `400`. Use the same range and timezone across related charts. Pages start at 1, with a default limit of 25 and maximum 100. `trace_filter` selects all, traced, missing, errors, or interrupted runs. Summaries cover the entire filtered result, not just the displayed page. Latency percentiles use measured turns/spans; missing trace data is not a measured zero.


## OpenAPI

````yaml GET /api/v1/organizations/reports/call-performance
openapi: 3.1.0
info:
  title: Bandwidth Agent Builder API
  version: v1
  description: >-
    Manage agents, place calls, and retrieve conversation results in your
    workspace.
servers:
  - url: https://agents.labs.bandwidth.com
    description: Workspace API
security: []
paths:
  /api/v1/organizations/reports/call-performance:
    get:
      tags:
        - reports
      summary: Get call performance
      description: >-
        **Authorization:** Accepts a Labs OAuth bearer token or a Labs API key.
        Workspace-scoped resources require membership in the requested
        workspace.


        Inspect completed-run timing and trace coverage.
      operationId: get_call_performance_api_v1_organizations_reports_call_performance_get
      parameters:
        - in: query
          name: timezone
          required: true
          schema:
            title: Timezone
            type: string
        - in: query
          name: period
          required: false
          schema:
            default: 30d
            title: Period
            type: string
        - in: query
          name: start
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Start
        - in: query
          name: end
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: End
        - in: query
          name: workflow_id
          required: false
          schema:
            anyOf:
              - minimum: 1
                type: integer
              - type: 'null'
            title: Workflow Id
        - in: query
          name: page
          required: false
          schema:
            default: 1
            minimum: 1
            title: Page
            type: integer
        - in: query
          name: limit
          required: false
          schema:
            default: 25
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
        - in: query
          name: trace_filter
          required: false
          schema:
            default: all
            enum:
              - all
              - traced
              - missing
              - errors
              - interrupted
            title: Trace Filter
            type: string
        - description: >-
            Required with X-BW-LABS-AGENTS-API-KEY: the positive local workspace
            ID to access. The key owner must be a current member. Missing or
            invalid IDs return 400; non-member workspaces return 403. Not
            required for bearer authentication, which uses the user's selected
            workspace.
          in: header
          name: X-VOAI-ORGANIZATION-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Required with X-BW-LABS-AGENTS-API-KEY: the positive local
              workspace ID to access. The key owner must be a current member.
              Missing or invalid IDs return 400; non-member workspaces return
              403. Not required for bearer authentication, which uses the user's
              selected workspace.
            title: X-Voai-Organization-Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallPerformanceResponse'
          description: Successful Response
        '400':
          description: Invalid request or missing/invalid workspace header with an API key.
        '401':
          description: Missing, invalid, or expired credential.
        '403':
          description: >-
            The account lacks access to the workspace, resource, or required
            role.
        '404':
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - LabsAuth: []
        - LabsApiKey: []
components:
  schemas:
    CallPerformanceResponse:
      properties:
        components:
          items:
            $ref: '#/components/schemas/CallPerformanceComponent'
          title: Components
          type: array
        limit:
          title: Limit
          type: integer
        page:
          title: Page
          type: integer
        runs:
          items:
            $ref: '#/components/schemas/CallPerformanceRun'
          title: Runs
          type: array
        summary:
          $ref: '#/components/schemas/CallPerformanceSummary'
      required:
        - summary
        - components
        - runs
        - page
        - limit
      title: CallPerformanceResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    CallPerformanceComponent:
      properties:
        avg_ttfb_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: Avg Ttfb Ms
        component:
          title: Component
          type: string
        error_count:
          title: Error Count
          type: integer
        p95_ttfb_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P95 Ttfb Ms
        span_count:
          title: Span Count
          type: integer
        ttfb_samples:
          title: Ttfb Samples
          type: integer
      required:
        - component
        - span_count
        - error_count
        - ttfb_samples
      title: CallPerformanceComponent
      type: object
    CallPerformanceRun:
      properties:
        avg_response_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: Avg Response Ms
        created_at:
          format: date-time
          title: Created At
          type: string
        error_count:
          title: Error Count
          type: integer
        id:
          title: Id
          type: integer
        interrupted_turns:
          title: Interrupted Turns
          type: integer
        interruption_samples:
          title: Interruption Samples
          type: integer
        latency_samples:
          title: Latency Samples
          type: integer
        p95_response_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P95 Response Ms
        span_count:
          title: Span Count
          type: integer
        turn_count:
          title: Turn Count
          type: integer
        workflow_id:
          title: Workflow Id
          type: integer
        workflow_name:
          title: Workflow Name
          type: string
      required:
        - interruption_samples
        - id
        - workflow_id
        - workflow_name
        - created_at
        - span_count
        - turn_count
        - error_count
        - interrupted_turns
        - latency_samples
      title: CallPerformanceRun
      type: object
    CallPerformanceSummary:
      properties:
        avg_response_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: Avg Response Ms
        completed_runs:
          title: Completed Runs
          type: integer
        error_count:
          title: Error Count
          type: integer
        interrupted_turns:
          title: Interrupted Turns
          type: integer
        interruption_samples:
          title: Interruption Samples
          type: integer
        latency_samples:
          title: Latency Samples
          type: integer
        p95_response_ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P95 Response Ms
        runs_with_errors:
          title: Runs With Errors
          type: integer
        traced_runs:
          title: Traced Runs
          type: integer
        turn_count:
          title: Turn Count
          type: integer
      required:
        - completed_runs
        - traced_runs
        - runs_with_errors
        - turn_count
        - error_count
        - interrupted_turns
        - interruption_samples
        - latency_samples
      title: CallPerformanceSummary
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    LabsAuth:
      description: >-
        Bandwidth Labs OAuth access token. Uses the user's selected workspace;
        the workspace header is not required. Do not also send an API key.
        Bearer-only operations may additionally require the Labs `super_user`
        role.
      scheme: bearer
      type: http
    LabsApiKey:
      description: >-
        Bandwidth Labs API key. Also send `X-VOAI-ORGANIZATION-ID` with a
        positive local workspace ID belonging to the key owner. Access follows
        the owner's current workspace role. Do not also send a bearer token. API
        keys cannot access bearer-only or Labs `super_user` operations.
      in: header
      name: X-BW-LABS-AGENTS-API-KEY
      type: apiKey

````

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