Add Calls
Submit a call recording and/or transcript for analysis.
At least one of recording_url or transcript is required.
The response returns immediately with analysis_status: "pending". Poll GET /calls/{id} to check when analysis is complete.
Authentication
JWT token from RubricHQ Settings → API Keys
Request
Required. RubricHQ client (workspace) ID.
Publicly accessible URL to the audio recording (WAV, MP3, or M4A).
Required if no transcript is provided.
RubricHQ will download and store this securely. Needed for audio-based metrics (latency, interruptions, silence, WPM).
Omit it for text-only calls — audio analysis simply won’t run.
The conversation as an ordered list of turns. Required if no recording_url is provided.
Each turn is an object:
If provided alongside a recording_url, transcript-based metrics run immediately while audio metrics run asynchronously.
Optional (defaults to inbound). Whether the call was initiated by the agent (outbound) or the customer (inbound).
Optional. How the call ended (e.g. completed, dropped, transferred).
Optional. When the call occurred (ISO 8601). Defaults to ingestion time if omitted.
Optional. Free-text label for this call (visible in the dashboard).
Optional. Arbitrary key-value pairs stored with the call (visible in the dashboard).
Response
pending— analysis queued or in progresscomputed— all metrics computed successfullyfailed— analysis encountered an error