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

# Worker tasks

> worker tasks. GET /api/v1/workers/{allocation_id}/tasks. Uses the same payload, validation, revision checks and response as the unified HTTP API.

ReferenceApplies to: Unified engine deployments

## Related guidance

[Addresses and access](https://docs.e6data.com/transformation/http/access.md) · [Request identity](https://docs.e6data.com/transformation/http/request-identity.md) · [Errors and recovery](https://docs.e6data.com/transformation/http/errors.md) · [Pagination and results](https://docs.e6data.com/transformation/http/results.md)


## OpenAPI

````yaml openapi/transformation.json GET /api/v1/workers/{allocation_id}/tasks
openapi: 3.1.0
info:
  description: >-
    HTTP contracts for the Unified engine. Requests use the connected
    deployment's access model and configured owner. Response examples are
    illustrative; inspect your engine response in your client. SQL-managed
    secrets, credentials, streaming pipelines and maintenance run through
    session operations.
  title: Laminar Unified HTTP API
  version: v1
servers:
  - url: https://engine.example.com
    description: >-
      Example engine origin. Replace it with your deployment URL and any API
      mount prefix.
security: []
paths:
  /api/v1/workers/{allocation_id}/tasks:
    get:
      tags:
        - Compute and workers
      summary: worker tasks
      description: >-
        worker tasks. GET /api/v1/workers/{allocation_id}/tasks. Uses the same
        payload, validation, revision checks and response as the unified HTTP
        API.
      operationId: worker_tasks
      parameters:
        - in: path
          name: allocation_id
          required: true
          schema:
            format: uuid
            type: string
        - in: query
          name: continuation_token
          required: false
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            description: >-
              Page size, bounded by the server. For query results this counts
              Arrow batches, default 1.
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  continuation_token:
                    type:
                      - string
                      - 'null'
                  items:
                    items:
                      $ref: >-
                        #/components/schemas/app_api_src_service_workers_rs_WorkerTaskView
                    type: array
                type: object
          description: Successful response.
        default:
          content:
            application/json:
              example:
                error:
                  code: invalid_request
                  message: Check the request fields
              schema:
                $ref: '#/components/schemas/ApiError'
          description: A rejected or failed request. Inspect error.code before retrying.
components:
  schemas:
    app_api_src_service_workers_rs_WorkerTaskView:
      allOf:
        - $ref: >-
            #/components/schemas/kernel_controller_src_workers_inventory_rs_WorkerTaskRecord
        - properties:
            workload_kind:
              anyOf:
                - $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadKind'
                - type: 'null'
          required:
            - workload_kind
          type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    kernel_controller_src_workers_inventory_rs_WorkerTaskRecord:
      properties:
        assignment_id:
          description: >-
            Serialized AssignmentId; provider-specific fields retain their
            original JSON representation.
          x-rust-type: AssignmentId
        attempt_number:
          minimum: 1
          type: integer
        created_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        failure:
          anyOf:
            - type: string
            - type: 'null'
        finished_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        name:
          type: string
        started_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        status:
          $ref: >-
            #/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus
        task_attempt_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TaskAttemptId'
        task_run_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TaskRunId'
        worker_status:
          anyOf:
            - description: >-
                Serialized TaskExecutionStatus; provider-specific fields retain
                their original JSON representation.
              x-rust-type: TaskExecutionStatus
            - type: 'null'
        workload_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadId'
        workload_run_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadRunId'
      required:
        - workload_id
        - workload_run_id
        - task_run_id
        - task_attempt_id
        - assignment_id
        - name
        - attempt_number
        - status
        - worker_status
        - created_at
        - started_at
        - finished_at
        - failure
      type: object
    shared_common_src_lib_rs_WorkloadKind:
      oneOf:
        - const: Standalone
          type: string
        - const: Streaming
          type: string
        - const: SessionOperation
          type: string
    shared_common_src_time_rs_WallClockTimestamp:
      properties:
        unix_millis:
          type: integer
      required:
        - unix_millis
      type: object
    kernel_controller_src_attempts_model_rs_TaskRunStatus:
      oneOf:
        - const: Cancelling
          type: string
        - const: Cancelled
          type: string
        - const: Pending
          type: string
        - const: Planning
          type: string
        - const: Queued
          type: string
        - const: Provisioning
          type: string
        - const: WaitingWorker
          type: string
        - const: Running
          type: string
        - const: Committing
          type: string
        - const: WaitingRetry
          type: string
        - const: Succeeded
          type: string
        - const: Failed
          type: string
        - const: Skipped
          type: string
        - const: OutcomeUnknown
          type: string
    shared_common_src_lib_rs_TaskAttemptId:
      format: uuid
      type: string
    shared_common_src_lib_rs_TaskRunId:
      format: uuid
      type: string
    shared_common_src_lib_rs_WorkloadId:
      format: uuid
      type: string
    shared_common_src_lib_rs_WorkloadRunId:
      format: uuid
      type: string

````

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