Runs

Answer what a run needs

Supplies the missing inputs, choices or approvals a run asked for (status input_required), then continues it.

post/api/v1/runs/{runId}/responses

Request

  • Base URL: https://unbrowse.ai
  • URL: https://unbrowse.ai/api/v1/runs/{runId}/responses
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://unbrowse.ai/authorize, token URL https://unbrowse.ai/oauth/token, scopes: unbrowse)
    • HTTP bearer

Path parameters

runIdstring required

The run id returned when the run started (run_…), or the one a run_timeout answer names (prun_…).

Request body

expected_state_revisioninteger required

The run's stateRevision when you read its requirements.

idempotency_keystring

Response

The run

runIdstring required
status'accepted' | 'working' | 'input_required' | 'succeeded' | 'failed' | 'outcome_unknown' | 'cancelled' | 'expired' required
capabilityIdstring nullable
phasestring
stateRevisioninteger
resultunknown
requirementsObject[]

What the run needs (status input_required).

errorObject
verifiedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.