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
API key from RubricHQ Settings → API Keys. Send it as: Authorization: Bearer <YOUR_API_KEY>.
Request
Optional. RubricHQ client (workspace) ID. Defaults to the workspace your API key belongs to.
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:
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. Customer phone number. e.g. 978-987-9876
Optional. When the call occurred (ISO 8601) in your system. Defaults to the time the call was added in our system 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