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

# Record profile evidence

> record profile evidence. PUT /api/v1/workloads/{workload_id}/runs/{run_id}/profile/evidence. 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 PUT /api/v1/workloads/{workload_id}/runs/{run_id}/profile/evidence
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}/profile/evidence:
    put:
      tags:
        - Workloads
      summary: record profile evidence
      description: >-
        record profile evidence. PUT
        /api/v1/workloads/{workload_id}/runs/{run_id}/profile/evidence. Uses the
        same payload, validation, revision checks and response as the unified
        HTTP API.
      operationId: record_profile_evidence
      parameters:
        - in: path
          name: run_id
          required: true
          schema:
            format: uuid
            type: string
        - in: path
          name: workload_id
          required: true
          schema:
            format: uuid
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                baselines:
                  items:
                    additionalProperties: false
                    properties:
                      case_identity:
                        type: string
                      cpu_millicores:
                        minimum: 1
                        type: integer
                      dataset_identity:
                        type: string
                      execution_nanos:
                        minimum: 1
                        type: integer
                      image:
                        type:
                          - string
                          - 'null'
                      memory_bytes:
                        minimum: 1
                        type: integer
                      name:
                        type: string
                      profiling:
                        type: boolean
                      task_name:
                        type:
                          - string
                          - 'null'
                      timing:
                        enum:
                          - task_execution
                          - native_sql
                          - wall
                      version:
                        type:
                          - string
                          - 'null'
                    required:
                      - name
                      - dataset_identity
                      - case_identity
                      - cpu_millicores
                      - memory_bytes
                      - profiling
                      - execution_nanos
                      - timing
                    type: object
                  maxItems: 128
                  type: array
                cache_policy:
                  type:
                    - string
                    - 'null'
                case_identity:
                  type:
                    - string
                    - 'null'
                checks:
                  items:
                    additionalProperties: false
                    properties:
                      actual:
                        type:
                          - string
                          - 'null'
                      expected:
                        type:
                          - string
                          - 'null'
                      name:
                        type: string
                      passed:
                        type: boolean
                    required:
                      - name
                      - passed
                    type: object
                  maxItems: 256
                  type: array
                dataset_identity:
                  type:
                    - string
                    - 'null'
                labels:
                  additionalProperties:
                    type: string
                  type: object
                task_identities:
                  additionalProperties:
                    type: string
                  type: object
                version:
                  enum:
                    - 1
                  type: integer
              required:
                - version
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/kernel_controller_src_profiling_model_rs_ProfileEvidenceResponse
          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_profiling_model_rs_ProfileEvidenceResponse:
      properties:
        identity_sha256:
          type: string
      required:
        - identity_sha256
      type: object
    ApiError:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object

````

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