Skip to content

Retrieve a practice session

GET
/practice_sessions/{id}
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);

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.

id
required
string
<= 200 characters /^prs_[0-9A-Za-z]+$/

A practice session ID (prs_…).

MoreVoice-Version
string
/^\d{4}-\d{2}-\d{2}$/

The API version to use for this request. Defaults to the version the API key is pinned to.

Example
2026-11-01

OK

Media typeapplication/json

A practice call’s result: what was said and how the rep did. Practice calls are never billed as calls.

object
call_id
required

The practice web call’s id (it has no call record).

string
/^call_[0-9A-Za-z]+$/
duration_s
required
number | null
end_reason
required
string | null
ended_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
id
required

A practice session ID (prefix prs_).

string
/^prs_[0-9A-Za-z]+$/
language
required
string
Allowed values: he en ar ru
livemode
required

true in live mode, false in test mode.

boolean
metadata
required

The web call’s metadata, with purpose: practice and practice_run_id.

object
key
additional properties
string
object
required
string
Allowed value: practice_session
run_id
required

Your practice.run_id.

string
scenario_title
required
string
scorecard
required
Any of:

The practice scored with your QA rubric (the same scorer as POST /v1/calls/{id}/scorecard/run, with the rep as the agent).

object
coaching
required
Array<object>
object
better
required
string
tip
required
string
critical_failed
required
Array<string>
items
required
Array<object>
object
critical
required
boolean
evidence
required
Array<object>
object
line
required

0-based index into transcript.

integer
>= -9007199254740991 <= 9007199254740991
quote
required
string
key
required

The rubric item’s key.

string
label
required
string
reasoning
required
string
score
required
number | null
weight
required
number
pass_threshold
required
number
passed
required
boolean | null
rubric_name
required
string
score
required

0–100 on your QA rubric (null: every item was not applicable).

number | null
stand_in
required

True when no model scored it (test mode): a fixed example card.

boolean
strengths
required
Array<string>
summary
required
string
scored_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
started_at
required

An ISO-8601 timestamp in UTC.

string format: date-time
status
required

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).

string
Allowed values: live scoring scored too_short failed abandoned
transcript
required
Array<object>

One line of a practice call’s transcript.

object
end_ms
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
role
required

rep: the person practising (the browser). customer: the AI.

string
Allowed values: rep customer
start_ms
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
text
required
string
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.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No valid API key was sent.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
X-Request-Id
string

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).

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
X-Request-Id
string

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.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
X-Request-Id
string

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.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
Retry-After
integer

Seconds to wait before retrying.

X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Something went wrong on MoreVoice’s side. Retry with the same Idempotency-Key.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_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"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.