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

# Fire an Automation now

> Fire an Automation manually through the same durable AutomationFiring receipt a schedule or webhook uses. There are three 201 success shapes and a client that assumes one will break on the others: an agent target returns the initial Run of a fresh Session, a dream target returns the created Dream, and a dream target whose session selector found nothing new returns the durable `{ disposition: skipped, reason: no_new_sessions }` record. Requires a non-empty Idempotency-Key, unlike pause and resume, which merely accept one.

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



## OpenAPI

````yaml /openapi.json post /v1/automations/{id}/fire
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/automations/{id}/fire:
    post:
      tags:
        - automations
      summary: Fire an Automation now
      description: >-
        Fire an Automation manually through the same durable AutomationFiring
        receipt a schedule or webhook uses. There are three 201 success shapes
        and a client that assumes one will break on the others: an agent target
        returns the initial Run of a fresh Session, a dream target returns the
        created Dream, and a dream target whose session selector found nothing
        new returns the durable `{ disposition: skipped, reason: no_new_sessions
        }` record. Requires a non-empty Idempotency-Key, unlike pause and
        resume, which merely accept one.


        Checkfu support posture: alpha; hosted. Required evidence journey:
        automation-firing. Deployment-specific readiness and the latest proven
        release are available from GET /v1/support/capabilities.
      operationId: automations.fireAutomation
      parameters:
        - name: id
          in: path
          schema:
            $ref: '#/components/schemas/AutomationId'
          required: true
        - name: checkfu-version
          in: header
          schema:
            type: string
            enum:
              - '2026-08-27'
          required: true
        - name: idempotency-key
          in: header
          schema:
            type: string
            allOf:
              - maxLength: 255
              - minLength: 1
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmptyPayload'
        required: true
      responses:
        '201':
          description: >-
            The initial Run (agent target), the created Dream (dream target),
            the step-program firing (steps target), or the durable
            no_new_sessions skip record | an error exactly on failure, an end
            time exactly on terminal status, and a completed dream always names
            its output store | AutomationStepProgramFiring
          content:
            application/json:
              schema:
                anyOf:
                  - 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_255'
                      agent_installation_id:
                        $ref: '#/components/schemas/Union_257'
                      surface_scope_id:
                        $ref: '#/components/schemas/Union_258'
                      surface_scope_kind:
                        type: string
                        enum:
                          - root
                          - team
                          - channel
                          - personal
                      trigger:
                        $ref: '#/components/schemas/Union_259'
                      status:
                        $ref: '#/components/schemas/Union_261'
                      cost:
                        $ref: '#/components/schemas/Objects_143'
                      artifacts:
                        $ref: '#/components/schemas/Arrays_44'
                      stop_reason:
                        $ref: '#/components/schemas/Union_262'
                      error:
                        $ref: '#/components/schemas/Union_264'
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      completed_at:
                        $ref: '#/components/schemas/Union_265'
                    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
                    description: >-
                      The initial Run (agent target), the created Dream (dream
                      target), the step-program firing (steps target), or the
                      durable no_new_sessions skip record
                  - $ref: '#/components/schemas/DreamConsistency_2'
                  - type: object
                    properties:
                      disposition:
                        type: string
                        enum:
                          - skipped
                      reason:
                        type: string
                        enum:
                          - no_new_sessions
                    required:
                      - disposition
                      - reason
                    additionalProperties: false
                  - $ref: '#/components/schemas/AutomationStepProgramFiring'
          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:
                $ref: '#/components/schemas/ValidationMalformedError'
        '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:
                  - $ref: '#/components/schemas/AuthDisabledTenancyError'
                  - $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'
        '409':
          description: >-
            The request conflicts with the resource's current state. | An
            idempotent mutation conflicts with a completed or in-progress
            request for the same key.
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ValidationConflictError'
                  - $ref: '#/components/schemas/IdempotencyConflictError'
        '422':
          description: >-
            No model candidate satisfies the deployment's routing constraints. |
            The harness does not satisfy the required protocol or capability
            set.
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ModelNoEligibleModelError'
                  - $ref: '#/components/schemas/RuntimeHarnessIncompatibleError'
        '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'
        '503':
          description: >-
            The MemoryStore backend cannot serve the operation and applied no
            write. | Platform-managed model credentials are temporarily
            unavailable. | No eligible Runner can currently claim the work.
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/MemoryBackendUnavailableError'
                  - $ref: '#/components/schemas/ModelPlatformSupplyUnavailableError'
                  - $ref: '#/components/schemas/RuntimeRunnerUnavailableError'
      security:
        - bearerAuth: []
components:
  schemas:
    AutomationId:
      type: string
      allOf:
        - pattern: ^auto_[0-9a-f]{32}$
    EmptyPayload:
      type: object
      additionalProperties: false
      description: An exact empty JSON object with no named properties.
    RunId:
      type: string
      allOf:
        - pattern: ^run_[0-9a-f]{32}$
    WorkspaceId:
      type: string
      allOf:
        - pattern: ^wrkspc_[0-9a-f]{32}$
    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_255:
      anyOf:
        - $ref: '#/components/schemas/Union_256'
        - type: object
          properties:
            kind:
              type: string
              enum:
                - action_approval
            approval:
              $ref: '#/components/schemas/ActionApprovalId'
          required:
            - kind
            - approval
          additionalProperties: false
    Union_257:
      anyOf:
        - $ref: '#/components/schemas/AgentInstallationId'
        - type: 'null'
    Union_258:
      anyOf:
        - $ref: '#/components/schemas/SurfaceScopeId'
        - type: 'null'
    Union_259:
      anyOf:
        - $ref: '#/components/schemas/Union_260'
        - type: object
          properties:
            kind:
              type: string
              enum:
                - action_approval
            approval:
              $ref: '#/components/schemas/ActionApprovalId'
          required:
            - kind
            - approval
          additionalProperties: false
    Union_261:
      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_262:
      anyOf:
        - $ref: '#/components/schemas/Union_263'
        - type: 'null'
    Union_264:
      anyOf:
        - $ref: '#/components/schemas/Objects_144'
        - type: 'null'
    Union_265:
      anyOf:
        - type: string
        - type: 'null'
    DreamConsistency_2:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/DreamId'
        memory_store:
          $ref: '#/components/schemas/MemoryStoreId'
        session_ids:
          $ref: '#/components/schemas/Arrays_24'
        instructions:
          $ref: '#/components/schemas/Union_121'
        model_routing_profile_key:
          $ref: '#/components/schemas/Union_122'
        review:
          type: boolean
        status:
          $ref: '#/components/schemas/Union_123'
        output_memory_store:
          $ref: '#/components/schemas/Union_124'
        proposal:
          $ref: '#/components/schemas/Union_125'
        curation_run:
          $ref: '#/components/schemas/Union_126'
        error:
          $ref: '#/components/schemas/Union_127'
        usage:
          $ref: '#/components/schemas/Objects_69'
        created_at:
          type: string
        ended_at:
          $ref: '#/components/schemas/Union_128'
        archived_at:
          $ref: '#/components/schemas/Union_129'
        version:
          type: integer
          allOf:
            - exclusiveMinimum: 0
      required:
        - id
        - memory_store
        - session_ids
        - instructions
        - model_routing_profile_key
        - review
        - status
        - output_memory_store
        - proposal
        - curation_run
        - error
        - usage
        - created_at
        - ended_at
        - archived_at
        - version
      additionalProperties: false
    AutomationStepProgramFiring:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/AutomationFiringId'
        workspace_id:
          $ref: '#/components/schemas/WorkspaceId'
        automation_id:
          $ref: '#/components/schemas/AutomationId'
        source:
          $ref: '#/components/schemas/Union_266'
        attempt_count:
          type: integer
          allOf:
            - minimum: 0
        created_at:
          type: string
        updated_at:
          type: string
        status:
          type: string
          enum:
            - step_program
        program:
          $ref: '#/components/schemas/Objects_145'
        outcome:
          type: 'null'
        session_id:
          type: 'null'
        run_id:
          type: 'null'
        error:
          type: 'null'
      required:
        - id
        - workspace_id
        - automation_id
        - source
        - attempt_count
        - created_at
        - updated_at
        - status
        - program
        - outcome
        - session_id
        - run_id
        - error
      additionalProperties: false
    ValidationMalformedError:
      type: object
      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
      required:
        - error
      additionalProperties: false
      description: >-
        The request could not be decoded or violated a declared input
        constraint.
    AuthDisabledTenancyError:
      type: object
      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
      required:
        - error
      additionalProperties: false
      description: >-
        The organization, tenant, or workspace backing this key is
        administratively disabled.
    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.
    ValidationConflictError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - validation.conflict
            message:
              type: string
            more:
              type: string
              enum:
                - https://docs.checkfu.com/reference/errors#validation-conflict
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: The request conflicts with the resource's current state.
    IdempotencyConflictError:
      anyOf:
        - $ref: '#/components/schemas/ValidationIdempotencyConflictError'
        - $ref: '#/components/schemas/ValidationIdempotencyInProgressError'
      description: >-
        An idempotent mutation conflicts with a completed or in-progress request
        for the same key.
    ModelNoEligibleModelError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - model.no_eligible_model
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#model-no-eligible-model
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: No model candidate satisfies the deployment's routing constraints.
    RuntimeHarnessIncompatibleError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - runtime.harness_incompatible
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#runtime-harness-incompatible
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: The harness does not satisfy the required protocol or capability set.
    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.
    MemoryBackendUnavailableError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - memory.backend_unavailable
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#memory-backend-unavailable
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: The MemoryStore backend cannot serve the operation and applied no write.
    ModelPlatformSupplyUnavailableError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - model.platform_supply_unavailable
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#model-platform-supply-unavailable
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: Platform-managed model credentials are temporarily unavailable.
    RuntimeRunnerUnavailableError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - runtime.runner_unavailable
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#runtime-runner-unavailable
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: No eligible Runner can currently claim the work.
    Union_256:
      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_260:
      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_263:
      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_214'
        message:
          type: string
        more:
          type: string
          allOf:
            - pattern: ^https:\/\/docs\.checkfu\.com\/reference\/errors#[a-z0-9-]+$
      required:
        - type
        - message
      additionalProperties: false
    DreamId:
      type: string
      allOf:
        - pattern: ^drm_[0-9a-f]{32}$
    MemoryStoreId:
      type: string
      allOf:
        - pattern: ^memstore_[0-9a-f]{32}$
    Arrays_24:
      type: array
      items:
        $ref: '#/components/schemas/SessionId'
      allOf:
        - minItems: 1
        - maxItems: 100
    Union_121:
      anyOf:
        - type: string
          allOf:
            - minLength: 1
            - maxLength: 4096
        - type: 'null'
    Union_122:
      anyOf:
        - type: string
          allOf:
            - pattern: ^[a-z0-9](?:[a-z0-9._-]{0,93})$
        - type: 'null'
    Union_123:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - canceled
    Union_124:
      anyOf:
        - $ref: '#/components/schemas/MemoryStoreId'
        - type: 'null'
    Union_125:
      anyOf:
        - $ref: '#/components/schemas/MemoryProposalId'
        - type: 'null'
    Union_126:
      anyOf:
        - $ref: '#/components/schemas/CurationRunId'
        - type: 'null'
    Union_127:
      anyOf:
        - type: string
          enum:
            - input_memory_store_unavailable
            - input_session_unavailable
            - input_sessions_too_large
            - curation_failed
            - internal
        - type: 'null'
    Objects_69:
      type: object
      properties:
        input_tokens:
          type: integer
          allOf:
            - minimum: 0
        cached_input_tokens:
          type: integer
          allOf:
            - minimum: 0
        cache_write_input_tokens:
          type: integer
          allOf:
            - minimum: 0
        output_tokens:
          type: integer
          allOf:
            - minimum: 0
        reasoning_output_tokens:
          type: integer
          allOf:
            - minimum: 0
        total_tokens:
          type: integer
          allOf:
            - minimum: 0
      required:
        - input_tokens
        - cached_input_tokens
        - cache_write_input_tokens
        - output_tokens
        - reasoning_output_tokens
        - total_tokens
      additionalProperties: false
    Union_128:
      anyOf:
        - type: string
        - type: 'null'
    Union_129:
      anyOf:
        - type: string
        - type: 'null'
    AutomationFiringId:
      type: string
      allOf:
        - pattern: ^afire_[0-9a-f]{32}$
    Union_266:
      anyOf:
        - type: object
          properties:
            kind:
              type: string
              enum:
                - manual
          required:
            - kind
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - schedule
            scheduled_for:
              type: string
          required:
            - kind
            - scheduled_for
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - webhook
          required:
            - kind
          additionalProperties: false
        - type: object
          properties:
            kind:
              type: string
              enum:
                - subscription
          required:
            - kind
          additionalProperties: false
    Objects_145:
      type: object
      properties:
        state:
          type: string
          enum:
            - pending
            - settled
            - terminal
        result:
          anyOf:
            - type: string
              enum:
                - completed
                - failed
                - denied
                - rejected
            - type: 'null'
        steps:
          type: array
          items:
            $ref: '#/components/schemas/Union_267'
        wake_at:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - state
        - result
        - steps
        - wake_at
      additionalProperties: false
    ValidationIdempotencyConflictError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - validation.idempotency_conflict
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#validation-idempotency-conflict
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: The Idempotency-Key is already bound to a different request.
    ValidationIdempotencyInProgressError:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - validation.idempotency_in_progress
            message:
              type: string
            more:
              type: string
              enum:
                - >-
                  https://docs.checkfu.com/reference/errors#validation-idempotency-in-progress
              description: Stable public documentation and remedy for this error type.
          required:
            - type
            - message
            - more
          additionalProperties: false
      required:
        - error
      additionalProperties: false
      description: >-
        An identical idempotent request is still in progress and may be retried
        later.
    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_214:
      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
    MemoryProposalId:
      type: string
      allOf:
        - pattern: ^mprop_[0-9a-f]{32}$
    CurationRunId:
      type: string
      allOf:
        - pattern: ^mcur_[0-9a-f]{32}$
    Union_267:
      anyOf:
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - completed
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - skipped
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - rejected
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - failed
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - awaiting_approval
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - waiting
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - running
          required:
            - step
            - kind
          additionalProperties: false
        - type: object
          properties:
            step:
              type: string
              allOf:
                - minLength: 1
                - maxLength: 64
                - pattern: ^[A-Za-z0-9_]+$
            kind:
              type: string
              enum:
                - denied
          required:
            - step
            - kind
          additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````