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

# List executions for a job

> List a job's per-record executions. Filter by `status` and paginate with `limit`/`skip`. Cross-tenant access returns 404.



## OpenAPI

````yaml /openapi.json get /jobs/{job_id}/executions
openapi: 3.1.0
info:
  title: GetDialed Flows API
  version: 0.1.0
servers:
  - url: https://api.getdialed.ai/flows
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /jobs/{job_id}/executions:
    get:
      tags:
        - executions
      summary: List executions for a job
      description: >-
        List a job's per-record executions. Filter by `status` and paginate with
        `limit`/`skip`. Cross-tenant access returns 404.
      operationId: list_executions_jobs__job_id__executions_get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            title: Job Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - pending
                  - running
                  - completed
                  - failed
                  - cancelled
                type: string
              - type: 'null'
            title: Status
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 50000
            minimum: 1
            default: 50
            title: Limit
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Skip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExecutionResponse'
                title: Response List Executions Jobs  Job Id  Executions Get
        '401':
          description: Missing or invalid authentication
          content:
            application/json:
              example:
                detail: Authentication required
        '404':
          description: No such job for this organization
          content:
            application/json:
              example:
                detail: Job not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded — retry after the Retry-After header
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              example:
                detail: 'Rate limit exceeded: 100 per 1 minute'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    ExecutionResponse:
      properties:
        id:
          type: string
          title: Id
        job_id:
          type: string
          title: Job Id
        definition_id:
          type: string
          title: Definition Id
        org_id:
          type: string
          title: Org Id
        status:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
            - cancelled
          title: Status
        input_data:
          additionalProperties: true
          type: object
          title: Input Data
        workflow_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow Id
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        result:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Result
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - job_id
        - definition_id
        - org_id
        - status
        - input_data
        - workflow_id
        - started_at
        - completed_at
        - result
        - error
        - created_at
        - updated_at
      title: ExecutionResponse
      example:
        completed_at: '2026-07-09T18:00:03Z'
        created_at: '2026-07-09T17:59:59Z'
        definition_id: def_a1b2c3d4
        id: exec_99aabbcc
        input_data:
          phone: '+15555550100'
        job_id: job_55667788
        org_id: org_a1b2c3d4
        result:
          records_loaded: 1
        started_at: '2026-07-09T18:00:00Z'
        status: completed
        updated_at: '2026-07-09T18:00:03Z'
        workflow_id: acme/exec-exec_99aabbcc
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````