Skip to main content
Before starting to work on the task, Aurora checks whether the objective has enough information to have a useful conversation (such as preferred dates, party size, or budget). If key details are missing, the request pauses in needs_input status, attaches a pending_form, and sends a request.needs_input webhook.

How It Works

1

Detect needs_input

Read pending_form from the request.needs_input webhook or GET /api/v1/requests/{request_id}.
2

Collect answers from the user

Render pending_form.message and the fields in pending_form.requested_schema (simple flat JSON Schema types: strings, numbers, booleans, and enums).
3

Submit answers

Send the user’s answers along with form_id to POST /api/v1/requests/{request_id}/responses. Aurora validates the answers and resumes the request.

Example pending_form

  • Validation: Invalid answers return 422 and leave pending_form open so you can prompt again.
  • Locked once calling starts: Once a request moves to in_progress (or finishes), further submissions return 409 Conflict.
  • History: Previous forms and answers remain visible in clarifications[] on the request object.
See the API Reference for the full POST /api/v1/requests/{request_id}/responses specification.