Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Human Input and Approval Controls

Human-input controls pause a workflow for a person’s response or approval. Use them when the next step requires a deliberate decision.

Send the person’s decision to the paused run

Authenticated v2 operation excerpt. Use the response form required by the pending step. Do not create a second run to answer a paused run, and do not reuse a consumed token. Follow the same run after resumption is accepted.

Copy the example
# First display the pending decision to the intended person.
# Then submit that person's response for this pause only.
POST /v2/runs/{run_id}/resume
Content-Type: application/json

{
  "resume_token": "<token-for-this-pending-request>",
  "response": "<the-persons-response>"
}

GET /v2/runs/{run_id}

Before you begin

A workflow with a supported human-input step and permission to respond.

Key concepts

Term
Definition

Paused

A run state that waits for a supported response before it can continue. Respond to the existing run instead of starting a new one.

Response type

The supported form of human input, such as text, approval, or choice. Match the submitted response to the pending request’s requirements.

Resume token

A value supplied for a particular pending human-input request. Use it for that request only and keep it out of logs or public links.

Interface

The user-facing form, chat, batch view, or other supported access surface for a project. Its fields and security settings are distinct from editing the workflow.

Side effect

A change outside the returned answer, such as creating a record or sending email. Cancellation or release rollback does not undo a completed side effect.

Respond to a request for human input

  1. Configure the prompt and supported response type.

  2. Run the workflow until it pauses and display the available options.

  3. Submit the response for that pending request and follow the same run to its next state.

The workflow continues with the person’s recorded response.

Behavior and limitations

Approval applies to the pending request, not to every later action. An expired or already-used response token cannot be reused. Do not start another run to answer a paused one. Keep the decision wording clear about what the following step will do.

Interface Inputs and Output Mapping

Was this helpful?