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

# Import a qualified native continuation capsule

> Validates a transferred capsule, its exact bytes, current retention-projector signature, scrub receipt, and signed checkpoint-import target before retaining import custody for this Session. Import does not launch native work; target-harness launch is the separate handoff operation.

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 post /v1/sessions/{id}/continuation-capsules/import
openapi: 3.1.0
info:
  title: Checkfu API
  version: '2026-08-29'
  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-29); 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: 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: sessionHandoffs
  - name: sessionCapsules
  - name: sessionTrajectories
  - 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/sessions/{id}/continuation-capsules/import:
    post:
      tags:
        - sessionCapsules
      summary: Import a qualified native continuation capsule
      description: >-
        Validates a transferred capsule, its exact bytes, current
        retention-projector signature, scrub receipt, and signed
        checkpoint-import target before retaining import custody for this
        Session. Import does not launch native work; target-harness launch is
        the separate handoff operation.


        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: sessionCapsules.importSessionContinuationCapsule
      parameters:
        - name: id
          in: path
          schema:
            $ref: '#/components/schemas/SessionId'
          required: true
        - name: checkfu-version
          in: header
          schema:
            type: string
            enum:
              - '2026-08-29'
          required: true
        - name: idempotency-key
          in: header
          schema:
            type: string
            allOf:
              - maxLength: 255
              - minLength: 1
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                session_thread_id:
                  $ref: '#/components/schemas/SessionThreadId'
                target:
                  $ref: >-
                    #/components/schemas/SessionRecoveryTargetQualificationBinding
                transfer:
                  $ref: '#/components/schemas/Objects_443'
                use_kind:
                  type: string
                  enum:
                    - same_run_recovery
                    - idle_handoff
              required:
                - session_thread_id
                - target
                - transfer
              additionalProperties: false
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      outcome:
                        type: string
                        enum:
                          - refused
                      reason:
                        $ref: '#/components/schemas/Union_398'
                    required:
                      - outcome
                      - reason
                    additionalProperties: false
                  - type: object
                    properties:
                      outcome:
                        type: string
                        enum:
                          - imported
                      inspection:
                        $ref: '#/components/schemas/Objects_442'
                      launch:
                        type: string
                        enum:
                          - not_attempted
                    required:
                      - outcome
                      - inspection
                      - launch
                    additionalProperties: false
          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:
                  - 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'
        '409':
          description: >-
            An idempotent mutation conflicts with a completed or in-progress
            request for the same key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdempotencyConflictError'
        '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:
    SessionId:
      type: string
      allOf:
        - pattern: ^sess_[0-9a-f]{32}$
    SessionThreadId:
      type: string
      allOf:
        - pattern: ^sthr_[0-9a-f]{32}$
    SessionRecoveryTargetQualificationBinding:
      type: object
      properties:
        importer_id:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        target_type:
          $ref: '#/components/schemas/Union_396'
        agent_id:
          $ref: '#/components/schemas/AgentId'
        agent_version_number:
          type: integer
          allOf:
            - exclusiveMinimum: 0
            - maximum: 9007199254740991
        environment_id:
          $ref: '#/components/schemas/EnvironmentId'
        environment_snapshot_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        admission_snapshot_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        runtime_tuple_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        adapter_version_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        driver_version_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        continuation_schema_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        transport_protocol:
          type: string
          enum:
            - acp
            - managed
            - connected
        platform_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        model_manifest_digest:
          anyOf:
            - type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
            - type: 'null'
        tool_manifest_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        resource_manifest_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        capture_policy_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        filesystem_digest:
          anyOf:
            - type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
            - type: 'null'
        qualification_receipt:
          $ref: '#/components/schemas/SessionRuntimeQualificationReceiptIntegrity'
      required:
        - importer_id
        - target_type
        - agent_id
        - agent_version_number
        - environment_id
        - environment_snapshot_digest
        - admission_snapshot_digest
        - runtime_tuple_digest
        - adapter_version_identifier
        - driver_version_identifier
        - continuation_schema_identifier
        - transport_protocol
        - platform_identifier
        - model_manifest_digest
        - tool_manifest_digest
        - resource_manifest_digest
        - capture_policy_digest
        - filesystem_digest
        - qualification_receipt
      additionalProperties: false
    Objects_443:
      type: object
      properties:
        format:
          type: string
          enum:
            - checkfu.session-continuation-capsule
        schema_version:
          type: number
          enum:
            - 1
        capsule:
          $ref: '#/components/schemas/SessionContinuationCapsuleCustody'
        projection_signature:
          $ref: '#/components/schemas/Objects_437'
        content_encoding:
          type: string
          enum:
            - base64
        content_base64:
          $ref: '#/components/schemas/SessionContinuationCapsuleContentBase64'
        exported_at:
          $ref: '#/components/schemas/CurrentTimestamp'
      required:
        - format
        - schema_version
        - capsule
        - projection_signature
        - content_encoding
        - content_base64
        - exported_at
      additionalProperties: false
    Union_398:
      type: string
      enum:
        - capsule_absent
        - capsule_unavailable
        - source_projection_unavailable
        - secret_scrub_failed
        - projector_unavailable
        - target_unqualified
        - capsule_invalid
        - capsule_incompatible
    Objects_442:
      type: object
      properties:
        session_id:
          $ref: '#/components/schemas/SessionId'
        capsule_present:
          type: boolean
        restorable:
          type: boolean
        receipt_kind:
          type: string
          enum:
            - recovery_evidence
            - handoff_evidence
        continuity:
          $ref: '#/components/schemas/Union_395'
        advertised_grade:
          type: string
          enum:
            - native_exact
            - portable_rebuild
            - transcript_only
      required:
        - session_id
        - capsule_present
        - restorable
        - receipt_kind
        - continuity
        - advertised_grade
      additionalProperties: false
    WorkspaceId:
      type: string
      allOf:
        - pattern: ^wrkspc_[0-9a-f]{32}$
    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.
    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.
    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.
    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.
    Union_396:
      type: string
      enum:
        - semantic
        - native
        - filesystem
    AgentId:
      type: string
      allOf:
        - pattern: ^agent_[0-9a-f]{32}$
    EnvironmentId:
      type: string
      allOf:
        - pattern: ^env_[0-9a-f]{32}$
    SessionRuntimeQualificationReceiptIntegrity:
      type: object
      properties:
        authority:
          type: string
          enum:
            - server_runtime_tuple_catalog
        catalog_entry_id:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        catalog_revision_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        target_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        continuation_type:
          $ref: '#/components/schemas/Union_396'
        qualified_capabilities:
          $ref: '#/components/schemas/DistinctSessionRuntimeQualificationCapabilities'
        valid_from:
          $ref: '#/components/schemas/CurrentTimestamp'
        valid_until:
          $ref: '#/components/schemas/CurrentTimestamp'
        receipt_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        signature:
          $ref: '#/components/schemas/Objects_437'
      required:
        - authority
        - catalog_entry_id
        - catalog_revision_digest
        - target_digest
        - continuation_type
        - qualified_capabilities
        - valid_from
        - valid_until
        - receipt_digest
        - signature
      additionalProperties: false
    SessionContinuationCapsuleCustody:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SessionContinuationCapsuleId'
        workspace_id:
          $ref: '#/components/schemas/WorkspaceId'
        session_id:
          $ref: '#/components/schemas/SessionId'
        session_thread_id:
          $ref: '#/components/schemas/SessionThreadId'
        source_actor_id:
          $ref: '#/components/schemas/SessionActorId'
        through_sequence:
          type: integer
          allOf:
            - minimum: 0
            - maximum: 9007199254740991
        source_agent_id:
          $ref: '#/components/schemas/AgentId'
        source_agent_version_number:
          type: integer
          allOf:
            - exclusiveMinimum: 0
            - maximum: 9007199254740991
        source_environment_id:
          $ref: '#/components/schemas/EnvironmentId'
        source_environment_snapshot_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        source_admission_snapshot_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        source_runtime_tuple_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        source_model_manifest_digest:
          anyOf:
            - type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
            - type: 'null'
        source_tool_manifest_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        source_resource_manifest_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        source_capture_policy_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        adapter_version_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        transport_protocol:
          type: string
          enum:
            - acp
            - managed
            - connected
        platform_identifier:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        native_session_id_digest:
          anyOf:
            - type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
            - type: 'null'
        checkpoint_id:
          anyOf:
            - $ref: '#/components/schemas/CheckpointId'
            - type: 'null'
        included_state:
          $ref: '#/components/schemas/DistinctSessionRetainedContextReferences'
        encryption:
          type: object
          properties:
            encryption_type:
              type: string
              enum:
                - workspace_envelope
                - organization_managed_envelope
            key_reference_digest:
              type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
          required:
            - encryption_type
            - key_reference_digest
          additionalProperties: false
        artifact:
          $ref: '#/components/schemas/SessionArtifactLifecycleClosure'
        secret_scrub_receipt:
          anyOf:
            - type: object
              properties:
                scrub_result:
                  type: string
                  enum:
                    - passed
                scrubber_version_identifier:
                  type: string
                  allOf:
                    - maxLength: 4096
                    - minLength: 1
                    - maxLength: 255
                inspected_digest:
                  type: string
                  allOf:
                    - pattern: ^sha256:[0-9a-f]{64}$
              required:
                - scrub_result
                - scrubber_version_identifier
                - inspected_digest
              additionalProperties: false
            - type: 'null'
        compatible_importers:
          $ref: '#/components/schemas/DistinctSessionContinuationCompatibleImporters'
        compatibility_expires_at:
          anyOf:
            - $ref: '#/components/schemas/CurrentTimestamp'
            - type: 'null'
        unavailable_reason:
          anyOf:
            - $ref: '#/components/schemas/Union_400'
            - type: 'null'
      required:
        - id
        - workspace_id
        - session_id
        - session_thread_id
        - source_actor_id
        - through_sequence
        - source_agent_id
        - source_agent_version_number
        - source_environment_id
        - source_environment_snapshot_digest
        - source_admission_snapshot_digest
        - source_runtime_tuple_digest
        - source_model_manifest_digest
        - source_tool_manifest_digest
        - source_resource_manifest_digest
        - source_capture_policy_digest
        - adapter_version_identifier
        - transport_protocol
        - platform_identifier
        - native_session_id_digest
        - checkpoint_id
        - included_state
        - encryption
        - artifact
        - secret_scrub_receipt
        - compatible_importers
        - compatibility_expires_at
        - unavailable_reason
      additionalProperties: false
    Objects_437:
      type: object
      properties:
        algorithm:
          type: string
          enum:
            - ed25519
        key_id:
          $ref: '#/components/schemas/SessionAuthorityUnicodeScalarKeyId'
        statement_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        signature:
          type: string
          allOf:
            - pattern: ^[A-Za-z0-9+/]{86}==$
      required:
        - algorithm
        - key_id
        - statement_digest
        - signature
      additionalProperties: false
    SessionContinuationCapsuleContentBase64:
      type: string
      allOf:
        - maxLength: 524288
    CurrentTimestamp:
      type: string
      allOf:
        - maxLength: 24
        - pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
          description: A canonical UTC ISO-8601 timestamp with millisecond precision.
    Union_395:
      type: string
      enum:
        - native_compatible
        - portable_rebuild
        - transcript_only
        - not_resumable
    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.
    DistinctSessionRuntimeQualificationCapabilities:
      type: array
      items:
        type: string
        enum:
          - orphan_recovery
          - checkpoint_import
          - handoff_import
      allOf:
        - minItems: 1
        - maxItems: 3
    SessionContinuationCapsuleId:
      type: string
      allOf:
        - pattern: ^scap_[0-9a-f]{32}$
    SessionActorId:
      type: string
      allOf:
        - pattern: ^sact_[0-9a-f]{32}$
    CheckpointId:
      type: string
      allOf:
        - pattern: ^ckpt_[0-9a-f]{32}$
    DistinctSessionRetainedContextReferences:
      type: array
      items:
        type: string
        enum:
          - process
          - disk
          - conversation
          - provider_state
      allOf:
        - maxItems: 4
    SessionArtifactLifecycleClosure:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SessionArtifactId'
        session_id:
          $ref: '#/components/schemas/SessionId'
        artifact_type:
          type: string
          enum:
            - model_input
            - model_output
            - tool_input
            - tool_output
            - workflow_source
            - native_transcript
            - context_snapshot
            - file
            - patch
            - screenshot
            - browser_observation
            - computer_recording
            - terminal_output
            - checkpoint_manifest
            - sandbox_checkpoint
            - continuation_capsule
            - grader_report
            - reward_evidence
            - user_feedback
        media_type:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        byte_count:
          type: integer
          allOf:
            - minimum: 0
            - maximum: 9007199254740991
            - maximum: 1073741824
        content_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        content_class:
          $ref: '#/components/schemas/Union_352'
        producer_actor_id:
          anyOf:
            - $ref: '#/components/schemas/SessionActorId'
            - type: 'null'
        work_unit_id:
          anyOf:
            - $ref: '#/components/schemas/SessionWorkUnitId'
            - type: 'null'
        availability:
          $ref: '#/components/schemas/Union_399'
        availability_recorded_at:
          $ref: '#/components/schemas/CurrentTimestamp'
        retention:
          $ref: '#/components/schemas/SessionArtifactRetentionReceiptIntegrity'
        created_at:
          $ref: '#/components/schemas/CurrentTimestamp'
      required:
        - id
        - session_id
        - artifact_type
        - media_type
        - byte_count
        - content_digest
        - content_class
        - producer_actor_id
        - work_unit_id
        - availability
        - availability_recorded_at
        - retention
        - created_at
      additionalProperties: false
    DistinctSessionContinuationCompatibleImporters:
      type: array
      items:
        type: object
        properties:
          importer_id:
            type: string
            allOf:
              - maxLength: 4096
              - minLength: 1
              - maxLength: 255
          target_digest:
            type: string
            allOf:
              - pattern: ^sha256:[0-9a-f]{64}$
          catalog_revision_digest:
            type: string
            allOf:
              - pattern: ^sha256:[0-9a-f]{64}$
        required:
          - importer_id
          - target_digest
          - catalog_revision_digest
        additionalProperties: false
      allOf:
        - maxItems: 64
    Union_400:
      type: string
      enum:
        - zdr
        - expired
        - shredded
        - not_captured
        - unsupported
        - policy_excluded
        - opaque
    SessionAuthorityUnicodeScalarKeyId:
      type: string
      allOf:
        - minLength: 1
        - maxLength: 255
    SessionArtifactId:
      type: string
      allOf:
        - pattern: ^sart_[0-9a-f]{32}$
    Union_352:
      type: string
      enum:
        - message
        - thinking
        - tool_arguments
        - tool_result
        - artifact
        - checkpoint
        - file_body
        - memory_document
        - sandbox_state
        - wire_frame
    SessionWorkUnitId:
      type: string
      allOf:
        - pattern: ^swu_[0-9a-f]{32}$
    Union_399:
      anyOf:
        - type: object
          properties:
            availability_type:
              type: string
              enum:
                - retained
            custody_digest:
              type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
          required:
            - availability_type
            - custody_digest
          additionalProperties: false
        - type: object
          properties:
            availability_type:
              type: string
              enum:
                - bundle_external
            locator_digest:
              type: string
              allOf:
                - pattern: ^sha256:[0-9a-f]{64}$
          required:
            - availability_type
            - locator_digest
          additionalProperties: false
        - type: object
          properties:
            availability_type:
              type: string
              enum:
                - unavailable
            reason:
              $ref: '#/components/schemas/Union_400'
          required:
            - availability_type
            - reason
          additionalProperties: false
    SessionArtifactRetentionReceiptIntegrity:
      type: object
      properties:
        authority:
          type: string
          enum:
            - server_retention_projector
        workspace_id:
          $ref: '#/components/schemas/WorkspaceId'
        session_id:
          $ref: '#/components/schemas/SessionId'
        artifact_id:
          $ref: '#/components/schemas/SessionArtifactId'
        byte_count:
          type: integer
          allOf:
            - minimum: 0
            - maximum: 9007199254740991
            - maximum: 1073741824
        content_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        content_class:
          $ref: '#/components/schemas/Union_352'
        availability:
          $ref: '#/components/schemas/Union_399'
        availability_recorded_at:
          $ref: '#/components/schemas/CurrentTimestamp'
        artifact_created_at:
          $ref: '#/components/schemas/CurrentTimestamp'
        policy:
          $ref: '#/components/schemas/Union_351'
        policy_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        final_expiry:
          anyOf:
            - type: object
              properties:
                expiry_type:
                  type: string
                  enum:
                    - at
                expires_at:
                  $ref: '#/components/schemas/CurrentTimestamp'
              required:
                - expiry_type
                - expires_at
              additionalProperties: false
            - type: object
              properties:
                expiry_type:
                  type: string
                  enum:
                    - indefinite
              required:
                - expiry_type
              additionalProperties: false
            - type: object
              properties:
                expiry_type:
                  type: string
                  enum:
                    - not_retained
              required:
                - expiry_type
              additionalProperties: false
        erasure_owner:
          anyOf:
            - type: object
              properties:
                kind:
                  type: string
                  enum:
                    - workspace
                workspace_id:
                  $ref: '#/components/schemas/WorkspaceId'
              required:
                - kind
                - workspace_id
              additionalProperties: false
            - type: object
              properties:
                kind:
                  type: string
                  enum:
                    - principal
                principal_id:
                  $ref: '#/components/schemas/PrincipalId'
              required:
                - kind
                - principal_id
              additionalProperties: false
            - type: object
              properties:
                kind:
                  type: string
                  enum:
                    - automation
                automation_id:
                  $ref: '#/components/schemas/AutomationId'
              required:
                - kind
                - automation_id
              additionalProperties: false
        erasure_resource:
          type: object
          properties:
            kind:
              $ref: '#/components/schemas/ContentResourceIdentity'
            id:
              $ref: '#/components/schemas/ContentResourceIdentity'
          required:
            - kind
            - id
          additionalProperties: false
        erasure_envelope_id:
          type: string
          allOf:
            - maxLength: 4096
            - minLength: 1
            - maxLength: 255
        recorded_at:
          $ref: '#/components/schemas/CurrentTimestamp'
        statement_digest:
          type: string
          allOf:
            - pattern: ^sha256:[0-9a-f]{64}$
        signature:
          $ref: '#/components/schemas/Objects_437'
      required:
        - authority
        - workspace_id
        - session_id
        - artifact_id
        - byte_count
        - content_digest
        - content_class
        - availability
        - availability_recorded_at
        - artifact_created_at
        - policy
        - policy_digest
        - final_expiry
        - erasure_owner
        - erasure_resource
        - erasure_envelope_id
        - recorded_at
        - statement_digest
        - signature
      additionalProperties: false
    Union_351:
      anyOf:
        - type: object
          properties:
            mode:
              type: string
              enum:
                - zdr
          required:
            - mode
          additionalProperties: false
        - type: object
          properties:
            mode:
              type: string
              enum:
                - standard
            default_ttl_seconds:
              type: integer
              allOf:
                - exclusiveMinimum: 0
                - maximum: 2147483647
            overrides:
              type: array
              items:
                type: object
                properties:
                  content_class:
                    $ref: '#/components/schemas/Union_352'
                  ttl_seconds:
                    type: integer
                    allOf:
                      - exclusiveMinimum: 0
                      - maximum: 2147483647
                required:
                  - content_class
                  - ttl_seconds
                additionalProperties: false
          required:
            - mode
          additionalProperties: false
    PrincipalId:
      type: string
      allOf:
        - pattern: ^prin_[0-9a-f]{32}$
    AutomationId:
      type: string
      allOf:
        - pattern: ^auto_[0-9a-f]{32}$
    ContentResourceIdentity:
      type: string
      allOf:
        - minLength: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````