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

# Get a Run

> Reads one Run: its Session, agent, execution identity, trigger, status (`queued`, `running`, `requires_action`, `completed`, `failed`, or `canceled`), cost, retained artifacts, `stop_reason`, and typed error. A Run in `requires_action` is parked on something outside the platform rather than failed; read the Session's `run.requires_action` event to learn which action it awaits and how to answer it.

Checkfu support posture: alpha; hosted. Required evidence journey: session-turn. Deployment-specific readiness and the latest proven release are available from GET /v1/support/capabilities.



## OpenAPI

````yaml /openapi.json get /v1/runs/{id}
openapi: 3.1.0
info:
  title: Checkfu API
  version: '2026-08-27'
  description: >-
    Authentication is declared per operation: API-key, runtime, or connector
    bearer; Automation signature; or credential-free pairing redemption. Every
    general Checkfu REST request requires the dated `Checkfu-Version` header
    (one of: 2026-08-27); the three MCP JSON-RPC transports use
    `MCP-Protocol-Version`, A2A uses `A2A-Version`, and the provider OAuth
    callback carries neither Checkfu header. API keys resolve one Workspace
    without a request selector; authenticated responses identify it with
    `Checkfu-Workspace-Id`.
servers:
  - url: https://api.checkfu.com
security:
  - bearerAuth: []
tags:
  - name: organizations
  - name: sourceRepositories
  - name: tenants
  - name: workspaces
  - name: principals
  - name: principalGroups
  - name: principalAccessCredentials
  - name: apiKeys
  - name: agents
  - name: harnesses
  - name: harnessRuntime
  - name: sandboxProfiles
  - name: computerProfiles
  - name: permissionAssignments
  - name: actionPolicies
  - name: files
  - name: memoryStores
  - name: dreams
  - name: modelCredentials
  - name: modelRoutingProfiles
  - name: blueprintInstallations
  - name: toolSources
  - name: skills
  - name: skillSources
  - name: agentSources
  - name: skillProposals
  - name: instructionProposals
  - name: catalog
  - name: concepts
  - name: support
  - name: connections
  - name: connectionVaults
  - name: connectionAssignments
  - name: connectedRuntimes
  - name: projects
  - name: collaboration
  - name: automationGraphs
  - name: automations
  - name: actionApprovals
  - name: standingApprovals
  - name: usage
  - name: models
  - name: outcomes
  - name: budgets
  - name: billing
  - name: sessions
  - name: audit
  - name: sessionExports
  - name: runs
  - name: runnerPools
  - name: transcripts
  - name: sessionWatches
  - name: webhookEndpoints
  - name: integrationGateway
  - name: agentDeployments
  - name: workEnvironments
  - name: computers
  - name: computerScreens
  - name: computerBrowserObservations
  - name: computerBrowserActions
  - name: environments
  - name: vaults
  - name: apiMcp
  - name: a2a
paths:
  /v1/runs/{id}:
    get:
      tags:
        - runs
      summary: Get a Run
      description: >-
        Reads one Run: its Session, agent, execution identity, trigger, status
        (`queued`, `running`, `requires_action`, `completed`, `failed`, or
        `canceled`), cost, retained artifacts, `stop_reason`, and typed error. A
        Run in `requires_action` is parked on something outside the platform
        rather than failed; read the Session's `run.requires_action` event to
        learn which action it awaits and how to answer it.


        Checkfu support posture: alpha; hosted. Required evidence journey:
        session-turn. Deployment-specific readiness and the latest proven
        release are available from GET /v1/support/capabilities.
      operationId: runs.getRun
      parameters:
        - name: id
          in: path
          schema:
            $ref: '#/components/schemas/RunId'
          required: true
        - name: checkfu-version
          in: header
          schema:
            type: string
            enum:
              - '2026-08-27'
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Objects_426'
          headers:
            checkfu-workspace-id:
              description: The Workspace resolved from the authenticated bearer credential.
              required: true
              schema:
                $ref: '#/components/schemas/WorkspaceId'
        '400':
          description: Typed Checkfu wire error
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - validation.malformed
                      message:
                        type: string
                      more:
                        type: string
                        enum:
                          - >-
                            https://docs.checkfu.com/reference/errors#validation-malformed
                        description: >-
                          Stable public documentation and remedy for this error
                          type.
                    required:
                      - type
                      - message
                      - more
                    additionalProperties: false
                additionalProperties: false
        '401':
          description: Typed Checkfu wire error
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - type
                      - message
                      - more
                    properties:
                      type:
                        type: string
                        enum:
                          - auth.invalid_key
                      message:
                        type: string
                      more:
                        type: string
                        enum:
                          - >-
                            https://docs.checkfu.com/reference/errors#auth-invalid-key
                        description: >-
                          Stable public documentation and remedy for this error
                          type.
                    additionalProperties: false
                additionalProperties: false
        '403':
          description: >-
            The organization, tenant, or workspace backing this key is
            administratively disabled. | Deployment governance or retention
            policy denied the request.
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    required:
                      - error
                    properties:
                      error:
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - auth.disabled_tenancy
                          message:
                            type: string
                          more:
                            type: string
                            enum:
                              - >-
                                https://docs.checkfu.com/reference/errors#auth-disabled-tenancy
                            description: >-
                              Stable public documentation and remedy for this
                              error type.
                        required:
                          - type
                          - message
                          - more
                        additionalProperties: false
                    additionalProperties: false
                  - $ref: '#/components/schemas/PolicyDeniedError'
        '404':
          description: >-
            The requested resource does not exist in the resolved deployment
            boundary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationNotFoundError'
        '429':
          description: Typed Checkfu wire error
          headers:
            retry-after:
              description: >-
                Delay in seconds for rate limits or deployment quotas with a
                known release or UTC reset boundary
              required: false
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - type
                      - message
                      - more
                    properties:
                      type:
                        type: string
                        enum:
                          - budget.exceeded
                      message:
                        type: string
                      more:
                        type: string
                        enum:
                          - >-
                            https://docs.checkfu.com/reference/errors#budget-exceeded
                        description: >-
                          Stable public documentation and remedy for this error
                          type.
                    additionalProperties: false
                additionalProperties: false
        '500':
          description: >-
            An unexpected internal failure occurred; the message contains an
            opaque incident reference.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuntimeInternalError'
      security:
        - bearerAuth: []
components:
  schemas:
    RunId:
      type: string
      allOf:
        - pattern: ^run_[0-9a-f]{32}$
    Objects_426:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/RunId'
        workspace_id:
          $ref: '#/components/schemas/WorkspaceId'
        session_id:
          $ref: '#/components/schemas/SessionId'
        agent:
          $ref: '#/components/schemas/AgentId'
        principal:
          $ref: '#/components/schemas/PrincipalId'
        requested_by:
          $ref: '#/components/schemas/Union_103'
        acted_as:
          $ref: '#/components/schemas/PrincipalId'
        caused_by:
          $ref: '#/components/schemas/Union_254'
        agent_installation_id:
          $ref: '#/components/schemas/Union_256'
        surface_scope_id:
          $ref: '#/components/schemas/Union_257'
        surface_scope_kind:
          type: string
          enum:
            - root
            - team
            - channel
            - personal
        trigger:
          $ref: '#/components/schemas/Union_258'
        status:
          $ref: '#/components/schemas/Union_260'
        cost:
          $ref: '#/components/schemas/Objects_143'
        artifacts:
          $ref: '#/components/schemas/Arrays_44'
        stop_reason:
          $ref: '#/components/schemas/Union_261'
        error:
          $ref: '#/components/schemas/Union_263'
        created_at:
          type: string
        updated_at:
          type: string
        completed_at:
          $ref: '#/components/schemas/Union_264'
      required:
        - id
        - workspace_id
        - session_id
        - agent
        - principal
        - requested_by
        - acted_as
        - caused_by
        - agent_installation_id
        - surface_scope_id
        - trigger
        - status
        - cost
        - artifacts
        - stop_reason
        - error
        - created_at
        - updated_at
        - completed_at
      additionalProperties: false
    WorkspaceId:
      type: string
      allOf:
        - pattern: ^wrkspc_[0-9a-f]{32}$
    PolicyDeniedError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - policy.denied
            message:
              type: string
            more:
              type: string
              enum:
                - https://docs.checkfu.com/reference/errors#policy-denied
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: Deployment governance or retention policy denied the request.
    ValidationNotFoundError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - validation.not_found
            message:
              type: string
            more:
              type: string
              enum:
                - https://docs.checkfu.com/reference/errors#validation-not-found
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: >-
        The requested resource does not exist in the resolved deployment
        boundary.
    RuntimeInternalError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - runtime.internal
            message:
              type: string
            more:
              type: string
              enum:
                - https://docs.checkfu.com/reference/errors#runtime-internal
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: >-
        An unexpected internal failure occurred; the message contains an opaque
        incident reference.
    SessionId:
      type: string
      allOf:
        - pattern: ^sess_[0-9a-f]{32}$
    AgentId:
      type: string
      allOf:
        - pattern: ^agent_[0-9a-f]{32}$
    PrincipalId:
      type: string
      allOf:
        - pattern: ^prin_[0-9a-f]{32}$
    Union_103:
      anyOf:
        - type: object
          properties:
            kind:
              type: string
              enum:
                - principal
            principal:
              $ref: '#/components/schemas/PrincipalId'
          required:
            - kind
            - principal
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - automation
            automation:
              $ref: '#/components/schemas/AutomationId'
          required:
            - kind
            - automation
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - system
            name:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 512
          required:
            - kind
            - name
          additionalProperties: false
    Union_254:
      anyOf:
        - $ref: '#/components/schemas/Union_255'
        - type: object
          properties:
            kind:
              type: string
              enum:
                - action_approval
            approval:
              $ref: '#/components/schemas/ActionApprovalId'
          required:
            - kind
            - approval
          additionalProperties: false
    Union_256:
      anyOf:
        - $ref: '#/components/schemas/AgentInstallationId'
        - type: 'null'
    Union_257:
      anyOf:
        - $ref: '#/components/schemas/SurfaceScopeId'
        - type: 'null'
    Union_258:
      anyOf:
        - $ref: '#/components/schemas/Union_259'
        - type: object
          properties:
            kind:
              type: string
              enum:
                - action_approval
            approval:
              $ref: '#/components/schemas/ActionApprovalId'
          required:
            - kind
            - approval
          additionalProperties: false
    Union_260:
      type: string
      enum:
        - queued
        - running
        - requires_action
        - completed
        - failed
        - canceled
    Objects_143:
      type: object
      properties:
        tokens:
          type: integer
          allOf:
            - minimum: 0
        tool_calls:
          type: integer
          allOf:
            - minimum: 0
        active_ms:
          type: integer
          allOf:
            - minimum: 0
      additionalProperties: false
    Arrays_44:
      type: array
      items:
        type: object
        properties:
          kind:
            type: string
            enum:
              - file
          file:
            $ref: '#/components/schemas/FileId'
        required:
          - kind
          - file
        additionalProperties: false
    Union_261:
      anyOf:
        - $ref: '#/components/schemas/Union_262'
        - type: 'null'
    Union_263:
      anyOf:
        - $ref: '#/components/schemas/Objects_144'
        - type: 'null'
    Union_264:
      anyOf:
        - type: string
        - type: 'null'
    AutomationId:
      type: string
      allOf:
        - pattern: ^auto_[0-9a-f]{32}$
    Union_255:
      anyOf:
        - type: object
          properties:
            kind:
              type: string
              enum:
                - api
            request_id:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 512
          required:
            - kind
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - external_event
            external_installation_id:
              $ref: '#/components/schemas/CollaborationInstallationId'
            surface_scope_id:
              $ref: '#/components/schemas/SurfaceScopeId'
            external_event_id:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 512
          required:
            - kind
            - external_installation_id
            - surface_scope_id
            - external_event_id
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - automation
            automation:
              $ref: '#/components/schemas/AutomationId'
          required:
            - kind
            - automation
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - watch
            watch:
              $ref: '#/components/schemas/WatchId'
            source_state_hash:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 512
          required:
            - kind
            - watch
            - source_state_hash
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - session_thread
            session:
              $ref: '#/components/schemas/SessionId'
            session_thread_id:
              $ref: '#/components/schemas/SessionThreadId'
            run:
              $ref: '#/components/schemas/RunId'
          required:
            - kind
            - session
            - session_thread_id
            - run
          additionalProperties: false
    ActionApprovalId:
      anyOf:
        - $ref: '#/components/schemas/NonBrowserActionApprovalId'
        - $ref: '#/components/schemas/BrowserActionApprovalId'
      description: >-
        an ActionApprovalId of the form approval_<32 hex chars> or bapproval_<32
        hex chars>
    AgentInstallationId:
      type: string
      allOf:
        - pattern: ^aini_[0-9a-f]{32}$
    SurfaceScopeId:
      type: string
      allOf:
        - pattern: ^surf_[0-9a-f]{32}$
    Union_259:
      anyOf:
        - type: object
          properties:
            kind:
              type: string
              enum:
                - api
          required:
            - kind
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - automation
            automation:
              $ref: '#/components/schemas/AutomationId'
          required:
            - kind
            - automation
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - question
            question:
              $ref: '#/components/schemas/QuestionId'
          required:
            - kind
            - question
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - outcome
            outcome:
              $ref: '#/components/schemas/OutcomeId'
          required:
            - kind
            - outcome
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - watch
            watch:
              $ref: '#/components/schemas/WatchId'
            source_state_hash:
              type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
          required:
            - kind
            - watch
            - source_state_hash
          additionalProperties: false
    FileId:
      type: string
      allOf:
        - pattern: ^file_[0-9a-f]{32}$
    Union_262:
      type: string
      enum:
        - end_turn
        - requires_action
        - interrupted
        - retries_exhausted
        - max_tokens
        - max_turn_requests
        - refusal
        - error
        - budget_reached
    Objects_144:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/Union_213'
        message:
          type: string
        more:
          type: string
          allOf:
            - pattern: ^https:\/\/docs\.checkfu\.com\/reference\/errors#[a-z0-9-]+$
      required:
        - type
        - message
      additionalProperties: false
    CollaborationInstallationId:
      type: string
      allOf:
        - pattern: ^exti_[0-9a-f]{32}$
    WatchId:
      type: string
      allOf:
        - pattern: ^wch_[0-9a-f]{32}$
    SessionThreadId:
      type: string
      allOf:
        - pattern: ^sthr_[0-9a-f]{32}$
    NonBrowserActionApprovalId:
      type: string
      allOf:
        - pattern: ^approval_[0-9a-f]{32}$
    BrowserActionApprovalId:
      type: string
      allOf:
        - pattern: ^bapproval_[0-9a-f]{32}$
    QuestionId:
      type: string
      allOf:
        - pattern: ^qst_[0-9a-f]{32}$
    OutcomeId:
      type: string
      allOf:
        - pattern: ^outc_[0-9a-f]{32}$
    Union_213:
      type: string
      enum:
        - validation.malformed
        - validation.prompt_integrity_review_required
        - validation.not_found
        - validation.conflict
        - validation.idempotency_conflict
        - validation.idempotency_in_progress
        - validation.payload_too_large
        - validation.range_too_large
        - auth.invalid_key
        - auth.disabled_tenancy
        - policy.denied
        - budget.exceeded
        - model.no_eligible_model
        - model.credential_rejected
        - model.platform_supply_unavailable
        - model.platform_capacity_reached
        - billing.entitlement_unavailable
        - billing.usage_limit_reached
        - billing.payment_required
        - billing.seat_activation_unavailable
        - memory.not_found
        - memory.conflict
        - memory.read_only
        - memory.invalid_path
        - memory.backend_unavailable
        - memory.curation_failed
        - runtime.invalid_transition
        - runtime.primary_thread
        - runtime.checkpoint_expired
        - runtime.session_history_unavailable
        - runtime.harness_unavailable
        - runtime.harness_failed
        - runtime.runner_unavailable
        - runtime.lease_lost
        - runtime.start_timeout
        - runtime.provisioning_suspended
        - runtime.turn_deadline_exceeded
        - runtime.observation_gap
        - runtime.observation_conflict
        - runtime.attestation_invalid
        - runtime.harness_incompatible
        - runtime.internal
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````