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
422and leavepending_formopen so you can prompt again. - Locked once calling starts: Once a request moves to
in_progress(or finishes), further submissions return409 Conflict. - History: Previous forms and answers remain visible in
clarifications[]on the request object.
POST /api/v1/requests/{request_id}/responses specification.