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

# Get execution details



## OpenAPI

````yaml /openapi.json get /api/program-executions/{id}
openapi: 3.0.0
info:
  title: GoMobile Backend API
  description: >-
    API documentation for GoMobile telephony platform - automated calling
    campaigns, interactive voice flows, and call management
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:3000
    description: Local Development
security: []
tags:
  - name: Organizations
    description: Multi-tenant organization management
  - name: Teams
    description: Team structure and hierarchy
  - name: Contacts
    description: Customer contact management (CRM)
  - name: Entities
    description: Business entities management
  - name: Audiences
    description: Contact segmentation and groups
  - name: Programs
    description: Call campaign configuration
  - name: Call Flows
    description: Interactive call flow builder
paths:
  /api/program-executions/{id}:
    get:
      tags:
        - Program Executions
      summary: Get execution details
      operationId: ProgramExecutionController_getExecution
      parameters:
        - name: id
          required: true
          in: path
          description: Execution ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutionResponseDto'
        '404':
          description: Execution not found
      security:
        - bearer: []
components:
  schemas:
    ExecutionResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Execution ID
        programId:
          type: string
          description: Program ID
        organizationId:
          type: string
          description: Organization ID
        audienceId:
          type: string
          description: Audience ID
        flowId:
          type: string
          description: Flow ID
        status:
          type: string
          enum:
            - scheduled
            - running
            - paused
            - paused_no_credits
            - paused_threshold
            - completed
            - stopped
            - cancelled
        totalContacts:
          type: number
          description: Total contacts in execution
        contactsCompleted:
          type: number
          description: Contacts completed successfully
        contactsFailed:
          type: number
          description: Contacts failed
        contactsPending:
          type: number
          description: Contacts pending
        contactsInProgress:
          type: number
          description: Contacts currently in progress
        scheduledStartAt:
          type: string
          description: Scheduled start time
        scheduledStopAt:
          type: string
          description: Scheduled stop time
        actualStartAt:
          type: string
          description: Actual start time
        actualEndAt:
          type: string
          description: Actual end time
        createdAt:
          type: string
          description: Created at
        autoPauseRules:
          description: Auto-pause rules
          type: array
          items:
            $ref: '#/components/schemas/AutoPauseRuleDto'
        updatedAt:
          type: string
          description: Updated at
      required:
        - id
        - programId
        - organizationId
        - audienceId
        - flowId
        - status
        - totalContacts
        - contactsCompleted
        - contactsFailed
        - contactsPending
        - contactsInProgress
        - scheduledStartAt
        - createdAt
        - updatedAt
    AutoPauseRuleDto:
      type: object
      properties:
        nodeId:
          type: string
          description: Node ID to count executions for
          example: node_abc123
        threshold:
          type: number
          description: Threshold value that triggers pause
          example: 100
        resetOnResume:
          type: boolean
          description: Whether to reset this counter when execution is resumed
          example: true
      required:
        - nodeId
        - threshold
        - resetOnResume
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````