> ## 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.

# List attempts

> list attempts. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts. 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/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts
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/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts:
    get:
      tags:
        - Workloads
      summary: list attempts
      description: >-
        list attempts. GET
        /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/attempts.
        Uses the same payload, validation, revision checks and response as the
        unified HTTP API.
      operationId: list_attempts
      parameters:
        - in: path
          name: run_id
          required: true
          schema:
            format: uuid
            type: string
        - in: path
          name: task_id
          required: true
          schema:
            format: uuid
            type: string
        - in: path
          name: workload_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:
                $ref: >-
                  #/components/schemas/kernel_controller_src_attempts_model_rs_TaskAttemptListResponse
          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:
    kernel_controller_src_attempts_model_rs_TaskAttemptListResponse:
      properties:
        attempts:
          $ref: >-
            #/components/schemas/shared_common_src_lib_rs_Page_AttemptStatusResponse
        task_run_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TaskRunId'
        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
        - attempts
      type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    shared_common_src_lib_rs_Page_AttemptStatusResponse:
      properties:
        continuation_token:
          anyOf:
            - type: string
            - type: 'null'
        items:
          items:
            $ref: >-
              #/components/schemas/kernel_controller_src_attempts_model_rs_AttemptStatusResponse
          type: array
      required:
        - items
        - continuation_token
      type: object
    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
    kernel_controller_src_attempts_model_rs_AttemptStatusResponse:
      properties:
        allocation_id:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_AllocationId'
            - type: 'null'
        attempt_number:
          minimum: 1
          type: integer
        created_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        execution:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_execution_mod_rs_ResolvedExecution
            - type: 'null'
        failure:
          anyOf:
            - type: string
            - type: 'null'
        finished_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        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_id:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_WorkerId'
            - 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:
        - allocation_id
        - worker_id
        - created_at
        - started_at
        - finished_at
        - workload_id
        - task_attempt_id
        - task_run_id
        - workload_run_id
        - attempt_number
        - status
        - failure
      type: object
    shared_common_src_lib_rs_AllocationId:
      format: uuid
      type: string
    shared_common_src_time_rs_WallClockTimestamp:
      properties:
        unix_millis:
          type: integer
      required:
        - unix_millis
      type: object
    shared_common_src_execution_mod_rs_ResolvedExecution:
      properties:
        compute_requirements:
          $ref: '#/components/schemas/shared_common_src_lib_rs_ComputeRequirements'
        deployment_profile:
          anyOf:
            - type: string
            - type: 'null'
        profile:
          anyOf:
            - type: string
            - type: 'null'
        provisioner:
          type: string
        provisioner_fingerprint:
          type: string
        worker_scope:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_WorkerScope'
            - type: 'null'
          description: Older records inherit the scope stored on their workload run.
      required:
        - provisioner
        - provisioner_fingerprint
        - profile
        - compute_requirements
      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_WorkerId:
      format: uuid
      type: string
    shared_common_src_lib_rs_ComputeRequirements:
      properties:
        cpu_millicores:
          minimum: 1
          type: integer
        memory_bytes:
          minimum: 1
          type: integer
        tuning:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_compute_rs_ComputeTuning'
            - type: 'null'
      required:
        - cpu_millicores
        - memory_bytes
      type: object
    shared_common_src_lib_rs_WorkerScope:
      oneOf:
        - const: Task
          type: string
        - const: Workload
          type: string
        - const: Deployment
          type: string
    shared_common_src_compute_rs_ComputeTuning:
      properties:
        batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        file_read_concurrency:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        input_prefetch_batches:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        native_parquet_scan:
          anyOf:
            - type: boolean
            - type: 'null'
          description: >-
            False always uses connector-produced Arrow batches. Omitted keeps
            the native Parquet capability enabled when the source can supply it
            safely.
        output_buffer_batches:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        query_memory_bytes:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        spill_bytes:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            Zero disables disk spill. The directory is controlled by the
            deployment.
        threads:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_batch_rows:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        write_parallelism:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
      required:
        - threads
        - query_memory_bytes
        - batch_rows
        - write_batch_rows
        - write_parallelism
        - spill_bytes
        - output_buffer_batches
        - file_read_concurrency
        - input_prefetch_batches
      type: object

````

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