> ## 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 volume

> Retrieve call counts grouped by time.

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. Choose `granularity=day` or `hour`; optionally filter by agent. Returned buckets use the requested timezone.


## OpenAPI

````yaml GET /api/v1/organizations/reports/call-volume
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-volume:
    get:
      tags:
        - reports
      summary: Get call volume
      description: >-
        **Authorization:** Accepts a Labs OAuth bearer token or a Labs API key.
        Workspace-scoped resources require membership in the requested
        workspace.


        Retrieve call counts grouped by time.
      operationId: get_analytics_call_volume_api_v1_organizations_reports_call_volume_get
      parameters:
        - in: query
          name: period
          required: false
          schema:
            default: 7d
            title: Period
            type: string
        - description: day | hour
          in: query
          name: granularity
          required: false
          schema:
            default: day
            description: day | hour
            title: Granularity
            type: string
        - in: query
          name: timezone
          required: true
          schema:
            title: Timezone
            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:
              - type: integer
              - type: 'null'
            title: Workflow Id
        - 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/AnalyticsCallVolumeResponse'
          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:
    AnalyticsCallVolumeResponse:
      properties:
        granularity:
          title: Granularity
          type: string
        period:
          title: Period
          type: string
        series:
          items:
            $ref: '#/components/schemas/AnalyticsSeriesPoint'
          title: Series
          type: array
        timezone:
          title: Timezone
          type: string
      required:
        - period
        - granularity
        - timezone
        - series
      title: AnalyticsCallVolumeResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    AnalyticsSeriesPoint:
      properties:
        bucket:
          anyOf:
            - type: string
            - type: 'null'
          title: Bucket
        call_count:
          title: Call Count
          type: integer
        total_duration_seconds:
          title: Total Duration Seconds
          type: number
        total_spend_usd:
          title: Total Spend Usd
          type: number
      required:
        - bucket
        - call_count
        - total_duration_seconds
        - total_spend_usd
      title: AnalyticsSeriesPoint
      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.