Retrieve a practice session
import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
const practiceSession = await mv.webCalls.retrievePracticeSession("prs_7Hk2Lm9Qp");console.log(practiceSession);from morevoice import MoreVoice
client = MoreVoice() # MOREVOICE_API_KEY from the environment
practice_session = client.web_calls.retrieve_practice_session("prs_7Hk2Lm9Qp")print(practice_session)curl https://api.morevoice.ai/v1/practice_sessions/prs_7Hk2Lm9Qp \ -H "Authorization: Bearer $MOREVOICE_API_KEY"A practice web call’s result (POST /v1/web_calls with practice returns its id): the transcript (rep and customer lines) and, once status is scored, the score on your QA rubric with each item’s reasoning, the strengths and the coaching. It exists once the browser has joined the call; poll after the call ends (scoring takes a few seconds). Test keys read test-mode practice sessions only.
Try it in the API playground with a test-mode key.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A practice session ID (prs_…).
Header Parameters
Section titled “Header Parameters”The API version to use for this request. Defaults to the version the API key is pinned to.
Example
2026-11-01Responses
Section titled “Responses”OK
A practice call’s result: what was said and how the rep did. Practice calls are never billed as calls.
object
The practice web call’s id (it has no call record).
A practice session ID (prefix prs_).
true in live mode, false in test mode.
The web call’s metadata, with purpose: practice and practice_run_id.
object
Your practice.run_id.
The practice scored with your QA rubric (the same scorer as POST /v1/calls/{id}/scorecard/run, with the rep as the agent).
object
object
object
object
0-based index into transcript.
The rubric item’s key.
0–100 on your QA rubric (null: every item was not applicable).
True when no model scored it (test mode): a fixed example card.
An ISO-8601 timestamp in UTC.
live during the call, scoring right after it, then scored; too_short (the rep said too little to score), failed (it could not be scored) or abandoned (the call never finished).
Example
{ "call_id": "call_3slqGaD2htUzxdRsI", "duration_s": 184, "end_reason": "assistant-ended-call", "ended_at": "2026-11-08T09:17:26.000Z", "id": "prs_B1Hdhc4M5i6PPRni0rAWDd", "language": "he", "livemode": true, "metadata": { "practice_run_id": "practice_42", "purpose": "practice" }, "object": "practice_session", "run_id": "practice_42", "scenario_title": "Angry customer, late delivery", "scorecard": { "coaching": [ { "better": "I'll send you the courier's number now.", "tip": "Offer a concrete next step" } ], "critical_failed": [], "items": [], "pass_threshold": 70, "passed": true, "rubric_name": "Service", "score": 82, "stand_in": false, "strengths": [ "Acknowledged the delay" ], "summary": "Calm, clear handling." }, "scored_at": "2026-11-08T09:17:31.000Z", "started_at": "2026-11-08T09:14:22.000Z", "status": "scored", "transcript": [ { "end_ms": 2600, "role": "rep", "start_ms": 900, "text": "שלום, מדברת נועה, במה אפשר לעזור?" }, { "end_ms": 4800, "role": "customer", "start_ms": 3100, "text": "ההזמנה שלי מאחרת כבר שבוע." } ]}The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown.
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "parameter_missing", "doc_url": "https://docs.morevoice.ai/api/errors#parameter-missing", "message": "Missing required parameter: to.", "param": "to", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "invalid_request_error" }}Headers
Section titled “Headers”The request’s ID (req_…). Quote it when you contact support.
No valid API key was sent.
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "invalid_api_key", "doc_url": "https://docs.morevoice.ai/api/errors#invalid-api-key", "message": "Invalid API key.", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "authentication_error" }}Headers
Section titled “Headers”The request’s ID (req_…). Quote it when you contact support.
The key may not do this (a missing scope, a plan limit, or a compliance block).
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "missing_scope", "doc_url": "https://docs.morevoice.ai/api/errors#missing-scope", "message": "This API key lacks the calls:write scope.", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "permission_error" }}Headers
Section titled “Headers”The request’s ID (req_…). Quote it when you contact support.
No object with this ID (in the path or the body) exists in this organisation and mode.
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "resource_missing", "doc_url": "https://docs.morevoice.ai/api/errors#resource-missing", "message": "No such object: 'call_4Gk2'.", "param": "id", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "not_found" }}Headers
Section titled “Headers”The request’s ID (req_…). Quote it when you contact support.
Too many requests, or no call capacity right now. Retry after the Retry-After delay.
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "rate_limited", "doc_url": "https://docs.morevoice.ai/api/errors#rate-limited", "message": "Too many requests. Retry after 1 second.", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "rate_limit_error" }}Headers
Section titled “Headers”Seconds to wait before retrying.
The request’s ID (req_…). Quote it when you contact support.
Something went wrong on MoreVoice’s side. Retry with the same Idempotency-Key.
Every /v1 error.
object
object
A stable, machine-readable code from the error-code catalogue.
Structured context, e.g. required_scope or the compliance verdict.
object
A link to the documentation of this code.
A human-readable explanation. Do not parse it.
The request parameter the error relates to, e.g. to or metadata[order_id].
The X-Request-Id of this request. Quote it when you contact support.
The category of the error.
Example
{ "error": { "code": "internal_error", "doc_url": "https://docs.morevoice.ai/api/errors#internal-error", "message": "Something went wrong on MoreVoice's side.", "request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ", "type": "api_error" }}Headers
Section titled “Headers”The request’s ID (req_…). Quote it when you contact support.