> ## 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 campaign defaults

> Retrieve campaign calling limits and default settings.

Requires a Labs `super_user` OAuth bearer token. Use the returned workspace defaults when preparing campaigns; defaults do not grant permission to start calls or guarantee quota. API keys are not accepted.


## OpenAPI

````yaml GET /api/v1/organizations/campaign-defaults
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/campaign-defaults:
    get:
      tags:
        - campaigns
      summary: Get campaign defaults
      description: >-
        **Authorization:** Requires a Labs OAuth bearer token with the
        `super_user` role. API keys are not accepted. A workspace Owner role
        alone is insufficient.


        Retrieve campaign calling limits and default settings.
      operationId: get_campaign_defaults_api_v1_organizations_campaign_defaults_get
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignDefaultsResponse'
          description: Successful Response
        '401':
          description: Missing, invalid, or expired credential.
        '403':
          description: >-
            The account lacks access to the workspace, resource, or required
            role.
        '404':
          description: Not found
      security:
        - LabsAuth: []
components:
  schemas:
    CampaignDefaultsResponse:
      properties:
        concurrent_call_limit:
          title: Concurrent Call Limit
          type: integer
        default_retry_config:
          $ref: '#/components/schemas/RetryConfigResponse'
        from_numbers_count:
          title: From Numbers Count
          type: integer
        last_campaign_settings:
          anyOf:
            - $ref: '#/components/schemas/LastCampaignSettingsResponse'
            - type: 'null'
      required:
        - concurrent_call_limit
        - from_numbers_count
        - default_retry_config
      title: CampaignDefaultsResponse
      type: object
    RetryConfigResponse:
      properties:
        enabled:
          title: Enabled
          type: boolean
        max_retries:
          title: Max Retries
          type: integer
        retry_delay_seconds:
          title: Retry Delay Seconds
          type: integer
        retry_on_busy:
          title: Retry On Busy
          type: boolean
        retry_on_no_answer:
          title: Retry On No Answer
          type: boolean
        retry_on_voicemail:
          title: Retry On Voicemail
          type: boolean
      required:
        - enabled
        - max_retries
        - retry_delay_seconds
        - retry_on_busy
        - retry_on_no_answer
        - retry_on_voicemail
      title: RetryConfigResponse
      type: object
    LastCampaignSettingsResponse:
      properties:
        circuit_breaker:
          anyOf:
            - $ref: '#/components/schemas/CircuitBreakerConfigResponse'
            - type: 'null'
        max_concurrency:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Concurrency
        retry_config:
          anyOf:
            - $ref: '#/components/schemas/RetryConfigResponse'
            - type: 'null'
        schedule_config:
          anyOf:
            - $ref: '#/components/schemas/ScheduleConfigResponse'
            - type: 'null'
      title: LastCampaignSettingsResponse
      type: object
    CircuitBreakerConfigResponse:
      properties:
        enabled:
          default: false
          title: Enabled
          type: boolean
        failure_threshold:
          default: 0.5
          title: Failure Threshold
          type: number
        min_calls_in_window:
          default: 5
          title: Min Calls In Window
          type: integer
        window_seconds:
          default: 120
          title: Window Seconds
          type: integer
      title: CircuitBreakerConfigResponse
      type: object
    ScheduleConfigResponse:
      properties:
        enabled:
          title: Enabled
          type: boolean
        slots:
          items:
            $ref: '#/components/schemas/TimeSlotResponse'
          title: Slots
          type: array
        timezone:
          title: Timezone
          type: string
      required:
        - enabled
        - timezone
        - slots
      title: ScheduleConfigResponse
      type: object
    TimeSlotResponse:
      properties:
        day_of_week:
          title: Day Of Week
          type: integer
        end_time:
          title: End Time
          type: string
        start_time:
          title: Start Time
          type: string
      required:
        - day_of_week
        - start_time
        - end_time
      title: TimeSlotResponse
      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

````

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