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

# Get campaign progress

> Get where an outbound campaign's leads and calls stand, and when its next call is due.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/convai/outbound-campaigns/campaigns/{campaign_id}/progress
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/outbound-campaigns/campaigns/{campaign_id}/progress:
    get:
      tags:
        - Agents Platform
      summary: Get campaign progress
      description: >-
        Get where an outbound campaign's leads and calls stand, and when its
        next call is due.
      operationId: get_campaign_progress
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            title: Campaign Id
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignProgressResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CampaignProgressResponse:
      properties:
        leads:
          $ref: '#/components/schemas/LeadsProgress'
        conversations:
          $ref: '#/components/schemas/ConversationProgress'
        next_call_time_unix:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Call Time Unix
          description: When the next call is due; unset when none is scheduled.
      type: object
      required:
        - leads
        - conversations
        - next_call_time_unix
      title: CampaignProgressResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LeadsProgress:
      properties:
        total:
          type: integer
          title: Total
        uncalled:
          type: integer
          title: Uncalled
          description: Unfinished leads whose first call hasn't been placed yet.
        leads_needing_attention:
          type: integer
          title: Leads Needing Attention
          description: Unfinished leads whose next call an attention item holds back.
        active:
          type: integer
          title: Active
          description: >-
            Other unfinished leads: a call under way, awaiting analysis or a
            follow-up.
        finished:
          type: integer
          title: Finished
          description: Leads that won't be called again.
        finished_by_disposition:
          additionalProperties:
            type: integer
          propertyNames:
            $ref: '#/components/schemas/TerminalDisposition'
          type: object
          title: Finished By Disposition
          description: Finished leads by why they finished. Missing keys mean none.
      type: object
      required:
        - total
        - uncalled
        - leads_needing_attention
        - active
        - finished
        - finished_by_disposition
      title: LeadsProgress
    ConversationProgress:
      properties:
        scheduled:
          type: integer
          title: Scheduled
          description: Calls due to be placed that haven't started.
        scheduled_by_type:
          additionalProperties:
            type: integer
          propertyNames:
            $ref: '#/components/schemas/CampaignConversationType'
          type: object
          title: Scheduled By Type
          description: Scheduled calls by call type. Missing keys mean none.
        awaiting_permission:
          type: integer
          title: Awaiting Permission
          description: WhatsApp calls waiting on the contact to grant call permission.
        in_progress:
          type: integer
          title: In Progress
          description: Calls under way.
        awaiting_analysis:
          type: integer
          title: Awaiting Analysis
          description: Ended calls whose analysis the campaign is waiting on.
      type: object
      required:
        - scheduled
        - scheduled_by_type
        - awaiting_permission
        - in_progress
        - awaiting_analysis
      title: ConversationProgress
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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