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

# List Campaign Executions API

> List a campaign's executions, filterable by status and outcome. Poll after starting to watch contacts progress.



## OpenAPI

````yaml GET /workflow-campaigns/{campaign_id}/executions
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
paths:
  /workflow-campaigns/{campaign_id}/executions:
    get:
      description: >-
        Lists a campaign's executions. Poll after starting a campaign to watch
        contacts progress.
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: string
            format: uuid
          description: The unique `id` of the campaign
        - in: query
          name: status
          required: false
          schema:
            type: string
            enum:
              - pending
              - running
              - completed
              - failed
              - cancelled
              - aborted
          description: Only executions in this status.
        - in: query
          name: outcome
          required: false
          schema:
            type: string
            enum:
              - success
              - failure
              - neutral
              - none
          description: >-
            Only executions with this outcome. `none` selects executions with no
            declared outcome yet.
        - in: query
          name: sort_by
          required: false
          schema:
            type: string
            enum:
              - created_at
              - updated_at
              - status
              - outcome
            default: created_at
          description: Sort field.
        - in: query
          name: order
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
          description: Sort direction.
        - in: query
          name: limit
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
          description: Number of results per page.
        - in: query
          name: offset
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
          description: Number of results to skip.
      responses:
        '200':
          description: Paginated list of executions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowExecutionList'
        '404':
          description: Campaign not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowError'
components:
  schemas:
    WorkflowExecutionList:
      type: object
      required:
        - items
        - total
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowExecution'
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    WorkflowError:
      type: object
      description: >-
        Error envelope returned by every workflow endpoint. `detail.code` is a
        stable machine-readable code; extra keys (such as `current_revision` on
        `revision_conflict`, `execution_id` on `duplicate_run`, or `issues` on
        `invalid_definition`) ride alongside it.
      required:
        - detail
      properties:
        detail:
          type: object
          additionalProperties: true
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Machine-readable error code.
              example: revision_conflict
            message:
              type: string
              description: Human-readable explanation.
    WorkflowExecution:
      type: object
      required:
        - id
        - campaign_id
        - status
      properties:
        id:
          type: string
          description: Execution id.
        campaign_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
            - cancelled
            - aborted
          description: '`completed`, `failed`, `cancelled` and `aborted` are terminal.'
        current_node_id:
          type: string
          nullable: true
          description: The node the execution is at, while running.
        termination_reason:
          type: string
          nullable: true
          description: >-
            On completion, the `label` of the end node that was reached; on
            other terminal statuses, the stop cause.
        outcome:
          type: string
          nullable: true
          enum:
            - success
            - failure
            - neutral
          description: >-
            The reached end node's declared outcome. `null` until the execution
            completes.
        call_count:
          type: integer
          description: Agent-node call attempts made so far.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````