Skip to content
UneeqUneeqUneeq Docs

Export full training session details

GET
/external/v1/organization/{organizationID}/export/sessions/details
curl --request GET \
--url "$UNEEQ_API_URL/external/v1/organization/$UNEEQ_ORG_ID/export/sessions/details" \
--header "Authorization: Bearer $UNEEQ_API_KEY"

Returns one full record per training session in the organization: everything in the summary export except the CRM origin fields, plus the session language, per-section coaching assessments, overall strengths and improvement areas, conversation skill metrics, the cleaned conversation transcript and, for Q&A scenarios, every question with the learner’s answer, score and feedback.

The body is always the JSON envelope {"version": "1.0", "sessions": [...], "total": N}, served as application/json and as a file download (Content-Disposition: attachment, file name sessions-details_YYYY-MM-DD.json). Only format=json is supported here; format=xapi is rejected with 400.

When a completed video analysis exists for the session (enhanced_analysis: true), the assessments, summary and extra skill ratings come from it; otherwise they come from the text analysis. Section scores reflect any active manager override. Assessments are ordered by name; transcript entries and questions are in conversation order.

Filtering, ordering and paging behave exactly as for the summary export: completed sessions only by default, time_from / time_to inclusive on the start time, oldest first, limit default 1000 and maximum 10000. Detail records are much larger than summaries, so smaller pages are advisable. Sessions of private practice scenarios are included. The response is streamed: a failure after the first byte leaves a 200 with a truncated body.

organizationID
required
string

ID of the organization the API key belongs to, for example org_HYPCX67vaupjhdTn.

Example

org_HYPCX67vaupjhdTn
format
string
default: json
Allowed values: json

Output format. Only json is supported; xapi returns 400. Case-sensitive.

time_from
string format: date-time

Only sessions started at or after this instant. RFC 3339 date-time with a time zone offset, e.g. 2026-01-01T00:00:00Z; a date alone is rejected.

time_to
string format: date-time

Only sessions started at or before this instant. RFC 3339 date-time with a time zone offset, e.g. 2026-01-31T23:59:59Z.

limit
integer
default: 1000 <= 10000

Maximum number of sessions to return. Values of 0 or less fall back to the default; values above 10000 are rejected.

offset
integer
0

Number of matching sessions to skip before the page starts. Negative values are treated as 0.

status
string
default: completed

Comma-separated session statuses to include, with no spaces (e.g. completed,abandoned), or all on its own for every status. Defaults to completed. Allowed statuses: started, generating, analyzing, completed, invalid, abandoned, fatal, error.

source_system
string
Allowed values: salesforce

Only sessions of scenarios that were started from this CRM. The detail records themselves do not carry the CRM fields.

The export envelope with session detail records.

Media typeapplication/json

JSON envelope of the session details export.

object
version
required

Envelope format version. Currently always 1.0.

string
Allowed values: 1.0
sessions
required

The page of sessions, oldest first. Empty array when nothing matches.

Array<object>

Full view of one training session.

object
session_id
required

Session ID.

string format: uuid
training_name
required

Name of the scenario, also when it has since been deleted. Empty string if the session has no scenario.

string
training_id
required

ID of the scenario the session ran.

string
user_email
required

Email of the learner. Empty string if the user record no longer exists.

string
user_name
required

Display name of the learner. Empty string if unknown.

string
scenario_type
required

Kind of scenario. ROLE_PLAY for a conversation, TECHNICAL_ACUMEN for Q&A, PRACTICE for a private practice role-play. ROLE_PLAY when the scenario no longer exists.

string
Allowed values: ROLE_PLAY TECHNICAL_ACUMEN PRACTICE
status
required

Session status.

string
Allowed values: started generating analyzing completed invalid abandoned fatal error
score_percentage
required

Overall score from 0 to 100, rounded to 2 decimals, including any manager override. 0 when not scored.

number
duration_seconds
required

Session length in seconds, rounded to 2 decimals. Uses the recording length when plausible, otherwise the time from start to finish; 0 while the session is unfinished.

number
locale
required

Deprecated, use language_code. Primary locale of the session, e.g. en-US.

string
language_code
required

Base language of the session, e.g. en.

string
enhanced_analysis
required

True when the assessments and summary come from a completed video analysis rather than the text analysis.

boolean
started_at
required

When the session started. Set for every session in practice.

string | null format: date-time
completed_at
required

When the session finished; null while unfinished.

string | null format: date-time
endorsement_level
required

Endorsement the learner currently holds for this scenario (not specific to this session). NONE if not endorsed.

string
Allowed values: NONE STANDARD
endorsed_at
required

When the learner’s best-scoring endorsing session for this scenario was scored (not necessarily when the endorsement was first earned); null if not endorsed.

string | null format: date-time
manually_overridden
required

True when a manager override of section scores is currently active on this session.

boolean
overridden_by

Email of the manager who applied the active override. Present only while an override is active.

string
override_reason

The manager’s justification for the active override. Present only while an override is active and a reason was given.

string
override_date_time

When the active override was applied. Present only while an override is active.

string format: date-time
integrity_level

Traffic-light session-integrity rating. Omitted when the session captured no integrity data.

string
Allowed values: GREEN ORANGE RED
questions_answered

Q&A scenarios only. Number of questions the learner gave a non-blank answer to. Omitted for role-play sessions and for Q&A sessions with no questions recorded.

integer
questions_total

Q&A scenarios only. Number of questions asked in the session. Omitted for role-play sessions and for Q&A sessions with no questions recorded.

integer
assessments
required

Per-section coaching assessments, ordered by name. Null when the session has no analysis yet (or it could not be read); an empty array when the analysis has no sections.

Array<object> | null

Result for one coaching section of the scenario’s assessment.

object
name
required

Section name.

string
score
required

Section score. The manager’s override value when one is active for this section, otherwise the AI score.

number
summary
required

Summary of the learner’s performance on this section.

string
did_well
required

What the learner did well on this section.

string
needs_improvement
required

What the learner should improve on this section.

string
suggestions
required

Concrete improvement suggestions. Null when the analysis gave none.

Array<string> | null
summary_did_well
required

Overall summary of what the learner did well. Empty string when there is no analysis.

string
summary_needs_improvement
required

Overall summary of what the learner should improve. Empty string when there is no analysis.

string
conversation_skills
required

Conversation metrics. For role-play sessions always starts with Filler Words, Talk Speed and Listen Ratio, then Longest Monologue when measured, then any skill ratings from the video analysis. Always an empty array for Q&A sessions.

Array<object>

One conversation metric or skill rating.

object
name
required

Metric or skill name, e.g. Filler Words, Talk Speed, Listen Ratio, Longest Monologue, or a skill rated by the video analysis.

string
score
required

Value of the metric, interpreted according to score_type.

number
score_type
required

How to read score: percentage (0-100), star_rating (1-5, or 0 when it could not be assessed), pass_fail (1 or more is a pass) or value (a plain number such as words per minute or seconds). Exception: Listen Ratio is a fraction from 0 to 1 although its type is percentage. It is the digital human’s share of the talk time, so 0.6 means 60%. Values for skills rated by the video analysis come from that analysis.

Filler Words is the share of the learner’s words that were filler words, from the session analysis. It is 0 while the session has no analysis yet (for example one that is still being analyzed), so 0 does not always mean no filler words.

string
summary
required

Human-readable summary, e.g. 142 words per minute (characters per minute for Japanese and Chinese sessions) or 45 seconds. Empty string for Filler Words and Listen Ratio.

string
transcript
required

The conversation in order, with internal markup removed. Null when the session has no messages.

Array<object> | null

One message in the conversation.

object
role
required

Who spoke. user for the learner, avatar for the digital human.

string
person
required

Display name of the speaker: the learner’s name, or for avatar the name of the character the scenario has the digital human play. May be empty.

string
message
required

Message text with internal markup removed. Never empty.

string
timestamp
required

Time since the first message, as MM:SS (minutes keep counting past 59, e.g. 75:03).

string
/^[0-9]{2,}:[0-5][0-9]$/
questions

Q&A scenarios only. One entry per question asked, in the order asked. Omitted for role-play sessions and for Q&A sessions with no questions recorded.

Array<object>

One question from a Q&A (Technical Acumen) session.

object
question_id
required

ID of the question.

string
question
required

Question text.

string
answer
required

The learner’s answer. Null when the question was never answered or nothing was said.

string | null
order_asked
required

Position in which the question was asked in the session.

integer
score
required

Score for this answer. Null until the session finishes and the answer is graded.

integer | null
summary
required

Feedback summary for this answer. Empty string when not graded.

string
did_well
required

What the learner did well in this answer. Empty string when not graded.

string
needs_improvement
required

What the learner should improve in this answer. Empty string when not graded.

string
failure_criteria_triggered
required

True when one of the scenario’s failure conditions was met and a manager has not dismissed it, in which case score_percentage is 0 (section scores in assessments are not changed). False when the scenario has no failure conditions, none was met, a manager dismissed it, or the check could not run. A dismissal or a re-analysis can change this, so a later export of the same session can differ.

boolean
failure_criteria
required

The failure conditions that were met, when failure_criteria_triggered is true. Always an array; empty when none stands.

Array<object>

One of the scenario’s failure conditions that the learner met, with the evidence for it.

object
criterion
required

The failure condition’s text as it was when the session was checked. Later edits to the scenario do not change it.

string
evidence_quote
required

The learner’s words that met the condition. Empty string when none was recorded.

string
explanation
required

Why the quote meets the condition.

string
total
required

Number of sessions matching the filters across all pages (ignores limit and offset).

integer

Example

{
"version": "1.0",
"sessions": [
{
"scenario_type": "ROLE_PLAY",
"status": "started",
"endorsement_level": "NONE",
"integrity_level": "GREEN"
}
]
}
X-Total-Count
integer

Number of sessions matching the filters across all pages (same as total).

Content-Disposition
string

Always attachment with a file name of the form sessions-details_YYYY-MM-DD.json (server date), unquoted, for example attachment; filename=sessions-details_2026-03-06.json.

Invalid query parameter. Messages: xAPI format is only available for the sessions summary export (format=xapi), unsupported export format (any other unknown format), invalid time_from: must be RFC 3339 format (e.g. 2026-01-01T00:00:00Z), invalid time_to: must be RFC 3339 format (e.g. 2026-01-01T00:00:00Z), invalid limit: must be an integer, invalid offset: must be an integer, invalid source_system: must be salesforce, limit must be between 1 and 10000 (limit above 10000), invalid session status filter (unknown status, spaces in the list, or all combined with other values). No error_code is set.

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}

The Authorization header is missing, or the API key is not valid for this organization. A key check that fails on the server is also reported as 401.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}

The API key has sent too many requests. Wait for the number of seconds in Retry-After, then retry.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}
Retry-After
integer
>= 1

Seconds to wait before retrying.

The export could not be produced: unable to export data (query failed) or unable to serialize export data (serialization failed before any byte was sent). No error_code is set.

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}