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

# Operation status

> operation status. GET /api/v1/sessions/{session_id}/operations/{operation_id}. 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/sessions/{session_id}/operations/{operation_id}
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/sessions/{session_id}/operations/{operation_id}:
    get:
      tags:
        - Sessions and SQL
      summary: operation status
      description: >-
        operation status. GET
        /api/v1/sessions/{session_id}/operations/{operation_id}. Uses the same
        payload, validation, revision checks and response as the unified HTTP
        API.
      operationId: operation_status
      parameters:
        - in: path
          name: operation_id
          required: true
          schema:
            format: uuid
            type: string
        - in: path
          name: session_id
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/frontend_gateway_src_models_rs_OperationStatusResponse
          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:
    frontend_gateway_src_models_rs_OperationStatusResponse:
      properties:
        binding:
          anyOf:
            - $ref: >-
                #/components/schemas/frontend_session_src_models_rs_OperationBinding
            - type: 'null'
        completed_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
          description: >-
            When Session saved completion, not the engine task's execution end
            time.
        created_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        failure:
          anyOf:
            - type: string
            - type: 'null'
        operation_id:
          format: uuid
          type: string
        session_id:
          format: uuid
          type: string
        sql:
          anyOf:
            - type: string
            - type: 'null'
        status:
          $ref: '#/components/schemas/frontend_session_src_models_rs_OperationStatus'
        task:
          anyOf:
            - $ref: >-
                #/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusResponse
            - type: 'null'
        updated_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        workload_id:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadId'
            - type: 'null'
        xray:
          type: boolean
      required:
        - xray
        - session_id
        - operation_id
        - status
        - workload_id
        - binding
        - task
        - failure
        - sql
        - created_at
        - updated_at
        - completed_at
      type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    frontend_session_src_models_rs_OperationBinding:
      properties:
        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
      type: object
    shared_common_src_time_rs_WallClockTimestamp:
      properties:
        unix_millis:
          type: integer
      required:
        - unix_millis
      type: object
    frontend_session_src_models_rs_OperationStatus:
      oneOf:
        - const: Cancelling
          type: string
        - const: Cancelled
          type: string
        - const: Prepared
          type: string
        - const: Accepted
          type: string
        - const: Running
          type: string
        - const: Succeeded
          type: string
        - const: Failed
          type: string
    kernel_controller_src_attempts_model_rs_TaskStatusResponse:
      properties:
        active_attempt_id:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_TaskAttemptId'
            - type: 'null'
        cleanup_complete:
          type: boolean
        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'
        incremental:
          anyOf:
            - $ref: >-
                #/components/schemas/kernel_controller_src_attempts_model_rs_IncrementalTaskProgress
            - type: 'null'
          description: >-
            Saved source boundaries, without connector access or catalog
            payloads.
        name:
          type: string
        phase_history:
          items:
            $ref: >-
              #/components/schemas/kernel_controller_src_attempts_model_rs_TaskStatusPhase
          type: array
        phase_history_complete:
          type: boolean
        profiling_available:
          type: boolean
        queue:
          anyOf:
            - $ref: >-
                #/components/schemas/kernel_controller_src_queue_model_rs_QueuedAttempt
            - 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_run_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TaskRunId'
        workflow:
          $ref: >-
            #/components/schemas/kernel_controller_src_workflow_mod_rs_TaskWorkflowState
        workload_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadId'
        workload_run_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadRunId'
        write_summary:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_TaskWriteSummary'
            - type: 'null'
          description: Present only when Controller has durably confirmed commit.
      required:
        - profiling_available
        - workflow
        - queue
        - cleanup_complete
        - created_at
        - started_at
        - finished_at
        - phase_history
        - phase_history_complete
        - workload_id
        - task_run_id
        - workload_run_id
        - name
        - status
        - active_attempt_id
        - failure
        - write_summary
      type: object
    shared_common_src_lib_rs_WorkloadId:
      format: uuid
      type: string
    shared_common_src_lib_rs_TaskRunId:
      format: uuid
      type: string
    shared_common_src_lib_rs_WorkloadRunId:
      format: uuid
      type: string
    shared_common_src_lib_rs_TaskAttemptId:
      format: uuid
      type: string
    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_IncrementalTaskProgress:
      properties:
        commit_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CommitId'
        end:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_TableDataVersion'
            - type: 'null'
        start:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_TableDataVersion'
            - type: 'null'
        table_identity:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - table_identity
        - start
        - end
        - commit_id
      type: object
    kernel_controller_src_attempts_model_rs_TaskStatusPhase:
      properties:
        attempt_number:
          anyOf:
            - minimum: 1
              type: integer
            - type: 'null'
        finished_at:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        started_at:
          $ref: '#/components/schemas/shared_common_src_time_rs_WallClockTimestamp'
        status:
          $ref: >-
            #/components/schemas/kernel_controller_src_attempts_model_rs_TaskRunStatus
        task_attempt_id:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_TaskAttemptId'
            - type: 'null'
      required:
        - status
        - started_at
        - finished_at
        - task_attempt_id
        - attempt_number
      type: object
    kernel_controller_src_queue_model_rs_QueuedAttempt:
      properties:
        deadline:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_time_rs_WallClockTimestamp
            - type: 'null'
        entered_at:
          $ref: '#/components/schemas/shared_common_src_time_rs_WallClockTimestamp'
        reason:
          type: string
        task_attempt_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TaskAttemptId'
      required:
        - task_attempt_id
        - entered_at
        - deadline
        - reason
      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
    kernel_controller_src_workflow_mod_rs_TaskWorkflowState:
      properties:
        reused_from:
          anyOf:
            - $ref: '#/components/schemas/shared_common_src_lib_rs_WorkloadRunId'
            - type: 'null'
        wait:
          anyOf:
            - $ref: '#/components/schemas/kernel_sensors_src_lib_rs_WaitState'
            - type: 'null'
      required: []
      type: object
    shared_common_src_lib_rs_TaskWriteSummary:
      properties:
        affected_rows:
          minimum: 0
          type: integer
        receipt:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CommitReceipt'
      required:
        - affected_rows
        - receipt
      type: object
    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_lib_rs_CommitId:
      format: uuid
      type: string
    shared_common_src_lib_rs_TableDataVersion:
      oneOf:
        - properties:
            Version:
              type: string
          required:
            - Version
          type: object
        - const: Empty
          type: string
        - const: Unversioned
          type: string
    kernel_sensors_src_lib_rs_WaitState:
      properties:
        checks:
          minimum: 0
          type: integer
        deadline_unix_millis:
          type: integer
        last_observation:
          anyOf:
            - type: string
            - type: 'null'
        next_check_unix_millis:
          type: integer
        satisfied:
          type: boolean
        started_at_unix_millis:
          type: integer
      required:
        - started_at_unix_millis
        - deadline_unix_millis
        - next_check_unix_millis
        - checks
        - last_observation
        - satisfied
      type: object
    shared_common_src_lib_rs_CommitReceipt:
      properties:
        boundary:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WriteBoundary'
        commit:
          $ref: >-
            #/components/schemas/shared_common_src_lib_rs_DestinationCommitReceipt
        commit_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CommitId'
        plan_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_ConnectorPlanId'
        target:
          $ref: '#/components/schemas/shared_common_src_lib_rs_WriteTarget'
      required:
        - plan_id
        - commit_id
        - target
        - boundary
        - commit
      type: object
    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
    shared_common_src_lib_rs_WriteBoundary:
      oneOf:
        - const: Final
          type: string
        - properties:
            Checkpoint:
              $ref: '#/components/schemas/shared_common_src_lib_rs_Checkpoint'
          required:
            - Checkpoint
          type: object
    shared_common_src_lib_rs_DestinationCommitReceipt:
      oneOf:
        - properties:
            Table:
              $ref: '#/components/schemas/shared_common_src_lib_rs_TableCommitReceipt'
          required:
            - Table
          type: object
        - properties:
            Direct:
              properties:
                receipt:
                  $ref: '#/components/schemas/shared_common_src_lib_rs_DurablePayload'
                version:
                  anyOf:
                    - type: string
                    - type: 'null'
                  description: >-
                    None means the destination does not expose a committed
                    version.
              required:
                - receipt
                - version
              type: object
          required:
            - Direct
          type: object
    shared_common_src_lib_rs_ConnectorPlanId:
      format: uuid
      type: string
    shared_common_src_lib_rs_WriteTarget:
      oneOf:
        - properties:
            Table:
              $ref: '#/components/schemas/shared_common_src_lib_rs_TableWriteTarget'
          required:
            - Table
          type: object
        - properties:
            Direct:
              $ref: >-
                #/components/schemas/shared_common_src_lib_rs_DirectResourceReference
          required:
            - Direct
          type: object
    shared_common_src_lib_rs_Checkpoint:
      properties:
        id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CheckpointId'
        sequence:
          minimum: 1
          type: integer
      required:
        - id
        - sequence
      type: object
    shared_common_src_lib_rs_TableCommitReceipt:
      properties:
        commit_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CommitId'
        committed_table:
          $ref: '#/components/schemas/shared_common_src_lib_rs_ResolvedTableReference'
        target:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TableWriteTarget'
      required:
        - commit_id
        - target
        - committed_table
      type: object
    shared_common_src_lib_rs_DurablePayload:
      oneOf:
        - properties:
            Inline:
              $ref: '#/components/schemas/shared_common_src_lib_rs_EncodedPayload'
          required:
            - Inline
          type: object
        - properties:
            Stored:
              properties:
                codec:
                  type: string
                object:
                  $ref: '#/components/schemas/shared_common_src_lib_rs_ResultObject'
                version:
                  minimum: 1
                  type: integer
              required:
                - object
                - codec
                - version
              type: object
          required:
            - Stored
          type: object
    shared_common_src_lib_rs_TableWriteTarget:
      oneOf:
        - properties:
            Existing:
              $ref: >-
                #/components/schemas/shared_common_src_lib_rs_ResolvedTableReference
          required:
            - Existing
          type: object
        - properties:
            Staged:
              $ref: >-
                #/components/schemas/shared_common_src_lib_rs_StagedTableReference
          required:
            - Staged
          type: object
    shared_common_src_lib_rs_DirectResourceReference:
      properties:
        configuration_revision:
          type: string
        connector:
          type: string
        identity:
          type: string
        resource:
          type: string
        state:
          $ref: '#/components/schemas/shared_common_src_lib_rs_EncodedPayload'
        version:
          anyOf:
            - type: string
            - type: 'null'
          description: None is unversioned and does not promise repeatable reads.
      required:
        - connector
        - resource
        - identity
        - configuration_revision
        - version
        - state
      type: object
    shared_common_src_lib_rs_CheckpointId:
      format: uuid
      type: string
    shared_common_src_lib_rs_ResolvedTableReference:
      properties:
        catalog_revision:
          type: string
        catalog_state:
          $ref: '#/components/schemas/shared_common_src_lib_rs_EncodedPayload'
        data_version:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TableDataVersion'
        metadata_revision:
          type: string
        table:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TableReference'
        table_identity:
          type: string
      required:
        - table
        - catalog_revision
        - table_identity
        - metadata_revision
        - data_version
        - catalog_state
      type: object
    shared_common_src_lib_rs_EncodedPayload:
      properties:
        codec:
          type: string
        payload:
          items:
            minimum: 0
            type: integer
          type: array
        version:
          minimum: 1
          type: integer
      required:
        - codec
        - version
        - payload
      type: object
    shared_common_src_lib_rs_ResultObject:
      properties:
        bytes:
          minimum: 0
          type: integer
        key:
          type: string
        version:
          type: string
      required:
        - key
        - version
        - bytes
      type: object
    shared_common_src_lib_rs_StagedTableReference:
      properties:
        stage_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_TableStageId'
        table:
          $ref: '#/components/schemas/shared_common_src_lib_rs_ResolvedTableReference'
      required:
        - stage_id
        - table
      type: object
    shared_common_src_lib_rs_TableReference:
      properties:
        catalog_id:
          $ref: '#/components/schemas/shared_common_src_lib_rs_CatalogId'
        name:
          type: string
        namespace:
          items:
            type: string
          type: array
      required:
        - catalog_id
        - namespace
        - name
      type: object
    shared_common_src_lib_rs_TableStageId:
      format: uuid
      type: string
    shared_common_src_lib_rs_CatalogId:
      format: uuid
      type: string

````

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