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

# Task metadata

> task metadata. GET /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/results/metadata. Uses the same payload, validation, revision checks and response as the unified HT

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}/results/metadata
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}/results/metadata:
    get:
      tags:
        - Workloads
      summary: task metadata
      description: >-
        task metadata. GET
        /api/v1/workloads/{workload_id}/runs/{run_id}/tasks/{task_id}/results/metadata.
        Uses the same payload, validation, revision checks and response as the
        unified HTTP API.
      operationId: task_metadata
      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
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/frontend_gateway_src_models_rs_ResultMetadataResponse
          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_ResultMetadataResponse:
      properties:
        batch_count:
          minimum: 0
          type: integer
        bytes:
          minimum: 0
          type: integer
        format:
          type: string
        query_profile:
          anyOf:
            - $ref: >-
                #/components/schemas/shared_common_src_query_profile_rs_QueryProfile
            - type: 'null'
        rows:
          minimum: 0
          type: integer
        truncated:
          type: boolean
      required:
        - query_profile
        - format
        - rows
        - bytes
        - batch_count
        - truncated
      type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    shared_common_src_query_profile_rs_QueryProfile:
      properties:
        engine:
          type: string
        metrics:
          additionalProperties:
            type: number
          type: object
        operators:
          items:
            $ref: >-
              #/components/schemas/shared_common_src_query_profile_rs_QueryPlanOperator
          type: array
        truncated:
          type: boolean
      required:
        - engine
        - metrics
        - operators
        - truncated
      type: object
    shared_common_src_query_profile_rs_QueryPlanOperator:
      properties:
        children:
          items:
            $ref: >-
              #/components/schemas/shared_common_src_query_profile_rs_QueryPlanOperator
          type: array
        metrics:
          additionalProperties:
            type: number
          type: object
        name:
          type: string
      required:
        - name
        - metrics
        - children
      type: object

````

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