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

# Submit user interaction data

> Submits user interaction data during an active run. This endpoint enables:
- Real-time user input submission during run
- Dynamic response handling for interactive runs
- Support for various input types through flexible key-value pairs
- Integration with run decision points and verification steps



## OpenAPI

````yaml run-api/run-api.yaml post /run/{session_id}/user_interaction
openapi: 3.1.0
info:
  title: CloudCruise Run API
  version: 0.1.0
  description: >-
    Endpoints for managing workflow executions, user interactions, and
    retrieving execution results.
servers:
  - url: https://api.cloudcruise.com
    description: CloudCruise Platform Production API Server
security:
  - AuthScheme: []
paths:
  /run/{session_id}/user_interaction:
    post:
      summary: Submit user interaction data
      description: >-
        Submits user interaction data during an active run. This endpoint
        enables:

        - Real-time user input submission during run

        - Dynamic response handling for interactive runs

        - Support for various input types through flexible key-value pairs

        - Integration with run decision points and verification steps
      operationId: user_interaction_post
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            description: The unique identifier for the workflow execution session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              example:
                verification_code: '123456'
              description: A dictionary containing workflow-specific user input data
      responses:
        '200':
          description: User interaction data accepted
          content:
            application/json:
              schema:
                type: object
                properties:
                  session_id:
                    type: string
                    description: The workflow execution session ID
                  success:
                    type: boolean
                    example: true
                required:
                  - session_id
                  - success
        '400':
          description: >-
            Invalid interaction payload, waiting-node mismatch, or data model
            mismatch
        '401':
          description: The session does not belong to the authenticated workspace
components:
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````