SessionSummary
Your opaque candidate reference, if supplied at session creation.
initiated— session created, candidate link minted, not yet startedactive— candidate opened the link; interview in progresscompleted— interview ended normally; recording/transcript availablefailed— the session failed; no credits charged
Possible values: [initiated, active, completed, failed]
Possible values: [explicit, integrator]
Which surface created the session. requests = started via the
X-API-Key API (headless integration); playground = started from
the ZenHire console. Sessions you create with an API key are always
requests.
Possible values: [requests, playground]
The project this session is attributed to. For an X-API-Key
session this is inherited from the calling key's project (null
when the key has none).
The tags supplied at session creation (null when none).
metadata objectnullable
The metadata map supplied at session creation (null when none).
The metadata map supplied at session creation (null when none).
Credits charged on completion (per-minute interview rate).
Storage reference only — fetch the recording via the recording endpoint.
Storage reference only — fetch the transcript via the transcript endpoint.
The interview backend's session id (set on completion).
The persona's role name. Included on list rows
(GET /sessions) for convenience; null if the persona was
deleted. On the single-session response the role is under persona
instead.
The persona's interview language. Included on list rows; null if the persona was deleted.
persona objectnullable
Persona context, included on the single-session response
(GET /sessions/{sessionId}) only — null if the persona was
deleted.
feedback objectnullable
Candidate post-interview survey, included on the single-session
response (GET /sessions/{sessionId}) only — null if the
candidate did not submit a survey.
Possible values: >= 1 and <= 5
True when the rating is ≤ 2 (negative feedback).
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"persona_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"candidate_ref": "string",
"status": "initiated",
"consent_mode": "explicit",
"source": "requests",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tags": [
"string"
],
"metadata": {},
"started_at": "2024-07-29T15:51:28.071Z",
"completed_at": "2024-07-29T15:51:28.071Z",
"duration_sec": 0,
"credit_charged": 0,
"recording_s3_key": "string",
"transcript_s3_key": "string",
"interview_svc_session_id": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"role_name": "string",
"language": "string",
"persona": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"role_name": "string",
"language": "string",
"system_prompt": "string",
"base_prompt_override": "string"
},
"feedback": {
"rating": 0,
"comment": "string",
"submitted_at": "2024-07-29T15:51:28.071Z",
"flagged": true
}
}