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

# Read an assistant run

> The status and the proposed diff of one run.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/assist/{run_id}
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-1
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/assist/{run_id}:
    get:
      tags:
        - governance
      summary: Read an assistant run
      description: >-
        Reads one assistant run: its status, the checks it ran against your
        samples, the problems it found and, once proposed, the diff sent to the
        control plane for approval.


        **Authentication.** Console person token with the `integration` role (or
        admin), or a source key with the `admin` scope.
      operationId: get_assist_v1_assist__run_id__get
      parameters:
        - in: path
          name: run_id
          required: true
          schema:
            format: uuid
            title: Run Id
            type: string
          example: 0192f7c0-5d21-7f3b-8a4c-2b3c4d5e6f70
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssistRunOut'
              example:
                run_id: 0192f7c0-5d21-7f3b-8a4c-2b3c4d5e6f70
                task: webhook_mapping
                status: proposed
                created_at: '2026-09-22T19:00:00Z'
                config_type: mappings
                diff_id: 0192f7c1-0a11-7b22-9c33-4d5e6f708192
                diff_hash: sha256:5f2e9b10c7
                checks:
                  events_sampled: 100
                  mapped: 97
                  unmapped_types:
                    - invoice.reminder_sent
                problems: []
          description: The assistant run.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    AssistRunOut:
      additionalProperties: false
      properties:
        checks:
          additionalProperties: true
          description: Validation against the samples, inside the cell.
          title: Checks
          type: object
        config_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Config Type
        created_at:
          format: date-time
          title: Created At
          type: string
        diff_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Diff Hash
        diff_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The diff waiting for approval in the control plane.
          title: Diff Id
        document:
          description: The proposed configuration document, as sent to the control plane.
          title: Document
        problems:
          items:
            type: string
          title: Problems
          type: array
        run_id:
          format: uuid
          title: Run Id
          type: string
        status:
          $ref: '#/components/schemas/AssistStatus'
        task:
          $ref: '#/components/schemas/AssistTask'
      required:
        - run_id
        - task
        - status
        - created_at
      title: AssistRunOut
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    AssistStatus:
      enum:
        - queued
        - proposed
        - delivered
        - rejected
        - failed
      title: AssistStatus
      type: string
    AssistTask:
      enum:
        - webhook_mapping
        - extraction_schema
        - source_policy
        - trigger_or_trait_rule
      title: AssistTask
      type: string
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````