Skip to main content
1

Create a Project and API Key

Sign in to the Aurora SDK Developer Portal, complete workspace activation, open a project, and generate a project API key (ask_...). Copy the secret immediately — it is shown only once.
2

Create a Request

Send a POST /api/v1/requests call with a clear objective and the end user’s user_details.
The API responds immediately with 202 Accepted (response examples below highlight key fields — see the API Reference for full schemas):
3

Handle Clarifications (If Needed)

Right after creation (while status is processing), Aurora checks whether it has enough detail before calling businesses. If anything is missing, GET /api/v1/requests/{request_id} returns status: "needs_input" with a pending_form JSON Schema:
Collect the user’s answers and submit them to POST /api/v1/requests/{request_id}/responses (returns 202 Accepted with status: "processing"). Once Aurora has everything it needs, the request transitions to in_progress and starts calling businesses:
cURL
See Clarifications for validation and multi-turn behavior.
4

Poll for Request Status

Poll GET /api/v1/requests/{request_id} every 10–15 seconds until status reaches a terminal state (completed, failed, or cancelled), answering pending_form (Step 3) if it pauses at needs_input.
In production, prefer signed webhooks over polling. Configure a default webhook URL in Project Settings or pass webhook_uri on request creation to receive real-time events (request.needs_input, request.call.updated, request.result.created, request.result.updated, request.completed).
While calls are running, status is in_progress and calls[] and results[] populate incrementally:
5

Inspect Completed Results, Transcripts, and Recordings

Once status becomes completed, GET /api/v1/requests/{request_id} returns overall_summary, ranked results[], and calls[]:
For any call where has_transcript or has_recording is true, fetch the transcript via GET /api/v1/requests/{request_id}/calls/{call_id}/transcript or stream the MP3 audio via GET /api/v1/requests/{request_id}/calls/{call_id}/recording. See Results, Transcripts & Recordings and the API Reference.
Integrating an AI agent instead of a backend service? Skip custom polling and connect directly to the Aurora MCP Server using the same API key.