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

# List execution tasks

> Returns one cursor-paginated page of an execution's tasks. Tasks are derived from event history each request; only the in-memory slicing is paginated, the events scan still fetches the whole event log behind the scenes. Available starting with API version 2026-04-28.



## OpenAPI

````yaml /api-reference/controlplane.yml get /jobs/{jobId}/executions/{executionId}/tasks
openapi: 3.0.3
info:
  title: Blaxel Control Plane
  version: 0.0.1
servers:
  - description: Blaxel Control Plane
    url: https://api.blaxel.ai/v0
  - description: Blaxel Inference
    url: https://run.blaxel.ai
security:
  - OAuth2:
      - admin
  - ApiKeyAuth: []
paths:
  /jobs/{jobId}/executions/{executionId}/tasks:
    get:
      tags:
        - jobs
      summary: List execution tasks
      description: >-
        Returns one cursor-paginated page of an execution's tasks. Tasks are
        derived from event history each request; only the in-memory slicing is
        paginated, the events scan still fetches the whole event log behind the
        scenes. Available starting with API version 2026-04-28.
      operationId: ListJobExecutionTasks
      parameters:
        - description: Name of the job
          in: path
          name: jobId
          required: true
          schema:
            type: string
        - description: Execution id
          in: path
          name: executionId
          required: true
          schema:
            type: string
        - $ref: '#/components/parameters/PaginationCursor'
        - $ref: '#/components/parameters/PaginationLimit'
        - $ref: '#/components/parameters/PaginationSort'
        - $ref: '#/components/parameters/PaginationQuery'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobExecutionTaskList'
          description: successful operation
        '400':
          description: bad request
        '404':
          description: job or execution not found
        '500':
          description: internal server error
      security:
        - OAuth2:
            - jobs:get
        - ApiKeyAuth: []
components:
  parameters:
    PaginationCursor:
      description: >-
        Opaque cursor returned by a previous response's meta.nextCursor. Only
        valid for the same query (workspace + filters); the server rejects
        cursors bound to a different query or older than 24h. Omit on the first
        page.
      in: query
      name: cursor
      required: false
      schema:
        type: string
      x-stainless-pagination-property:
        purpose: next_cursor_param
    PaginationLimit:
      description: >-
        Maximum number of items to return per page. Defaults to 50, clamped to
        200.
      in: query
      name: limit
      required: false
      schema:
        default: 50
        maximum: 200
        minimum: 1
        type: integer
    PaginationSort:
      description: >-
        Sort spec, formatted as `<key>:<direction>`. Allowed values are
        `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`.
        The cursor fingerprint is bound to the sort, so a cursor opened with one
        value cannot be reused with another. Only honoured starting on
        Blaxel-Version 2026-04-28.
      in: query
      name: sort
      required: false
      schema:
        enum:
          - createdAt:desc
          - createdAt:asc
          - name:asc
          - name:desc
        type: string
    PaginationQuery:
      description: >-
        Substring search across `metadata.name`, `metadata.displayName` and
        labels (keys + values). Trimmed and lowercased server-side; queries
        shorter than 2 characters fall back to the unfiltered listing. Bound
        into the cursor fingerprint so a cursor opened with one query cannot be
        reused with another. Only honoured starting on Blaxel-Version
        2026-04-28.
      in: query
      name: q
      required: false
      schema:
        maxLength: 200
        type: string
  schemas:
    JobExecutionTaskList:
      type: object
      description: >-
        Cursor-paginated list of an execution's tasks. Tasks are derived from
        event history; pagination slices the in-memory list and the cursor is a
        base64-JSON offset bound to (workspace, job, execution).
      properties:
        data:
          type: array
          description: Page of execution tasks.
          items:
            $ref: '#/components/schemas/JobExecutionTask'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    JobExecutionTask:
      type: object
      description: Job execution task
      properties:
        conditions:
          type: array
          description: Task conditions
          items:
            $ref: '#/components/schemas/JobExecutionTaskCondition'
        metadata:
          $ref: '#/components/schemas/JobExecutionTaskMetadata'
        spec:
          $ref: '#/components/schemas/JobExecutionTaskSpec'
        status:
          $ref: '#/components/schemas/JobExecutionTaskStatus'
    PaginationMeta:
      type: object
      description: >-
        Pagination metadata returned alongside a page of listing results. Always
        present on listing endpoints starting with API version 2026-04-28.
      properties:
        hasMore:
          type: boolean
          description: True when more pages are available beyond the current one.
        nextCursor:
          type: string
          description: >-
            Opaque cursor to pass back as the `cursor` query param for the next
            page. Empty when there are no more pages.
        total:
          type: integer
          description: >-
            Total number of items in the workspace, ignoring the current page's
            filters. Lets the UI render "page X of Y" without walking the cursor
            chain. Computed from the hash-only metadata.workspace GSI count, so
            search (`q`) does not narrow it.
    JobExecutionTaskCondition:
      type: object
      description: Job execution task condition
      properties:
        executionReason:
          type: string
          description: Execution reason
        message:
          type: string
          description: Condition message
        reason:
          type: string
          description: Condition reason
        severity:
          type: string
          description: Condition severity
        state:
          type: string
          description: Condition state
        type:
          type: string
          description: Condition type
    JobExecutionTaskMetadata:
      type: object
      description: Job execution task metadata
      properties:
        completedAt:
          type: string
          description: Completion timestamp
          readOnly: true
        createdAt:
          type: string
          description: Creation timestamp
          readOnly: true
        name:
          type: string
          description: Task name
          example: task-0
        scheduledAt:
          type: string
          description: Scheduled timestamp
          readOnly: true
        startedAt:
          type: string
          description: Start timestamp
          readOnly: true
        updatedAt:
          type: string
          description: Last update timestamp
          readOnly: true
    JobExecutionTaskSpec:
      type: object
      description: Job execution task specification
      properties:
        maxRetries:
          type: integer
          description: Maximum number of retries
          example: 3
        timeout:
          type: string
          description: Task timeout duration
          example: 30m
    JobExecutionTaskStatus:
      type: string
      description: Job execution task status
      enum:
        - unspecified
        - pending
        - reconciling
        - failed
        - succeeded
        - running
        - cancelled
  securitySchemes:
    OAuth2:
      description: OAuth2 authentication with JWT tokens
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          scopes:
            admin: Administrative access
            agents:create: Create agents
            agents:delete: Delete agents
            agents:get: Get agent details
            agents:list: List agents
            agents:update: Update agents
            apiKey:list: List API keys
            apiKey:write: Create and delete API keys
            configurations:list: List configurations
            customdomains:create: Create custom domains
            customdomains:delete: Delete custom domains
            customdomains:get: Get custom domain details
            customdomains:list: List custom domains
            customdomains:update: Update custom domains
            functions:create: Create functions
            functions:delete: Delete functions
            functions:get: Get function details
            functions:list: List functions
            functions:update: Update functions
            integrations:create: Create integrations
            integrations:list: List integrations
            invitations:list: List invitations
            jobs:create: Create jobs
            jobs:delete: Delete jobs
            jobs:get: Get job details
            jobs:list: List jobs
            jobs:update: Update jobs
            locations:list: List locations
            mcphub:list: List MCP hub resources
            models:create: Create models
            models:delete: Delete models
            models:get: Get model details
            models:list: List models
            models:update: Update models
            policies:create: Create policies
            policies:delete: Delete policies
            policies:get: Get policy details
            policies:list: List policies
            policies:update: Update policies
            sandboxes:control: Control sandbox operations
            sandboxes:create: Create sandboxes
            sandboxes:delete: Delete sandboxes
            sandboxes:get: Get sandbox details
            sandboxes:list: List sandboxes
            sandboxes:update: Update sandboxes
            sandboxhub:list: List sandbox hub resources
            templates:get: Get template details
            templates:list: List templates
            volumeTemplates:create: Create volume templates
            volumeTemplates:delete: Delete volume templates
            volumeTemplates:get: Get volume template details
            volumeTemplates:list: List volume templates
            volumeTemplates:upsert: Create or update volume templates
            volumes:create: Create volumes
            volumes:delete: Delete volumes
            volumes:get: Get volume details
            volumes:list: List volumes
            workspaces:accept: Accept workspace invitation
            workspaces:create: Create workspaces
            workspaces:decline: Decline workspace invitation
            workspaces:delete: Delete workspaces
            workspaces:get: Get workspace details
            workspaces:invite: Invite users to workspace
            workspaces:leave: Leave workspace
            workspaces:list: List workspaces
            workspaces:remove: Remove users from workspace
            workspaces:update: Update workspaces
          tokenUrl: /oauth/token
        clientCredentials:
          scopes:
            admin: Administrative access
            agents:create: Create agents
            agents:delete: Delete agents
            agents:get: Get agent details
            agents:list: List agents
            agents:update: Update agents
            apiKey:list: List API keys
            apiKey:write: Create and delete API keys
            configurations:list: List configurations
            customdomains:create: Create custom domains
            customdomains:delete: Delete custom domains
            customdomains:get: Get custom domain details
            customdomains:list: List custom domains
            customdomains:update: Update custom domains
            functions:create: Create functions
            functions:delete: Delete functions
            functions:get: Get function details
            functions:list: List functions
            functions:update: Update functions
            integrations:create: Create integrations
            integrations:list: List integrations
            invitations:list: List invitations
            jobs:create: Create jobs
            jobs:delete: Delete jobs
            jobs:get: Get job details
            jobs:list: List jobs
            jobs:update: Update jobs
            locations:list: List locations
            mcphub:list: List MCP hub resources
            models:create: Create models
            models:delete: Delete models
            models:get: Get model details
            models:list: List models
            models:update: Update models
            policies:create: Create policies
            policies:delete: Delete policies
            policies:get: Get policy details
            policies:list: List policies
            policies:update: Update policies
            sandboxes:control: Control sandbox operations
            sandboxes:create: Create sandboxes
            sandboxes:delete: Delete sandboxes
            sandboxes:get: Get sandbox details
            sandboxes:list: List sandboxes
            sandboxes:update: Update sandboxes
            sandboxhub:list: List sandbox hub resources
            templates:get: Get template details
            templates:list: List templates
            volumeTemplates:create: Create volume templates
            volumeTemplates:delete: Delete volume templates
            volumeTemplates:get: Get volume template details
            volumeTemplates:list: List volume templates
            volumeTemplates:upsert: Create or update volume templates
            volumes:create: Create volumes
            volumes:delete: Delete volumes
            volumes:get: Get volume details
            volumes:list: List volumes
            workspaces:accept: Accept workspace invitation
            workspaces:create: Create workspaces
            workspaces:decline: Decline workspace invitation
            workspaces:delete: Delete workspaces
            workspaces:get: Get workspace details
            workspaces:invite: Invite users to workspace
            workspaces:leave: Leave workspace
            workspaces:list: List workspaces
            workspaces:remove: Remove users from workspace
            workspaces:update: Update workspaces
          tokenUrl: /oauth/token
      type: oauth2
    ApiKeyAuth:
      bearerFormat: API Key
      description: Long-lived API key for programmatic access
      scheme: bearer
      type: http

````