Skip to main content
GET
Get Human Input Form

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

form_token
string
required

Access token for the paused form, returned in the human_input_required event from the Run Workflow or Send Chat Message endpoint in streaming mode.

Response

Form contents retrieved successfully.

expiration_time
integer<int64> | null

Unix timestamp (seconds) after which this form can no longer be submitted.

form_content
string

The form's body in Markdown, with the run's variables already filled in. Place each input where its placeholder, {{#$output.<output_variable_name>#}}, appears.

inputs
object[]

Form input field definitions.

resolved_default_values
object

Each variable default's value in this run, keyed by the paragraph input's output_variable_name. Pre-fill a field from here when its default.type is variable.

Constant defaults aren't included: pre-fill those from default.value.

Values are strings; an object or list arrives as JSON text. A variable with no value in this run comes back as "" or with no key at all. Either way, leave the field empty.

user_actions
object[]

Available submission actions.