Sessions
A session represents one candidate’s attempt at one assessment. Sessions progress through a defined lifecycle from invitation to review. Session statuses:invited → setup → in_progress → submitted → scoring → scored → reviewed
List Sessions
Response
Response
Get Session
Response
Response
roleId is the role the candidate was invited for, or null when no role is recorded.
Change Session Role
400. Send null to clear the role. Member and above, or an API key. Each change writes a session.role_changed entry to the audit log.
Response
Response
role is null when the role was cleared.Delete Session
Response
Response
Send Reminder
invited, setup, or in_progress) and stamps reminderSentAt. Uses the session’s due date, falling back to the assessment’s.
Fails with 400 when the candidate has already submitted or there is no due date to remind about, and with 429 when a reminder was already sent within the last 24 hours.
Response
Response
Bulk Send Reminder
200, even when some items fail, and each item carries its own outcome. The single-session route above still exists for the per-row action.
Response
Response
Change Deadline
dueDate as a calendar day (YYYY-MM-DD); the server resolves it to end-of-day in the org timezone, the same rule the invite flows use. Send an empty or null dueDate to clear the deadline.
Request
Request
Response
Response
dueDate is null when the deadline was cleared.Bulk Change Deadline
dueDate rules as Change Deadline above. This route is dispatch-and-collect: it always returns 200, even when some items fail, and each item carries its own outcome. The single-session route above still exists for the per-row action.
Calendar day (
YYYY-MM-DD) or day and time (YYYY-MM-DDTHH:mm), applied to every session in the list. Empty or null clears the deadline for all of them.Response
Response
Advance Phase
This endpoint is authenticated via the candidate session token, not an API key.
Response
Response
Checkpoint Phase
This endpoint is authenticated via the candidate session token, not an API key.
When
true, also persist a point-in-time snapshot of the deliverable for the replay/history timeline, not just the latest interim save.Response
Response
Reopen Session
in_progress, and any score is marked superseded so a stale report cannot mail. The clock starts only when the candidate opens their link and resumes. That can be hours later, and no time is spent in between.
Phases before fromPhaseIndex keep their work. The chosen phase and every phase after it are cleared, so the candidate does that work again.
Owner or admin only, and a human actor only. An API key has no role, so it gets
403. The action is gated at the sessions.reopen capability, the same tier as a permanent delete, because it discards work and supersedes a score a reviewer may already have read.Zero-based index of the phase to reopen at. Must be within the assessment’s phase list.
Request
Request
Response
Response
assessUrl to the candidate: The reopened session waits until they open it. Errors: 400 when fromPhaseIndex is not an integer of 0 or more, is out of range, or the assessment has no phases; 400 when the session has not started; 404 when the session is not in your organization.Get Human Review
null when nobody has recorded one. For an organization whose use case is hiring, every submitted session must be reviewed by a person; the AI score is advisory and this record is the decision. Reviewer and above, or an API key.
Response
Response
reviewedBy is null when an API key recorded the decision or the member was later removed. Errors: 404 when the session is not in your organization.Record Human Review
moving_on means the candidate is moving on to the next round, not_moving_on means they are not. Member and above, or an API key. Calling it again overwrites the decision on the session; every call appends a session.review_recorded entry to the organization’s audit log, which cannot be changed, so the full history of decisions is kept there.
Until a decision is recorded, the member who invited the candidate receives review reminders by email (48 hours after submission, then every 3 days, at most 5) when the organization’s use case is hiring.
The reason, up to 2000 characters. Required when
decision is not_moving_on; optional otherwise. Trimmed; an empty string clears it.Request
Request
Response
Response
400 when decision is not one of the two values, note is not a string, note is empty on a not_moving_on decision, or the candidate has not submitted yet; 403 for a reviewer-tier member or a candidate; 404 when the session is not in your organization.Review attestations
Some organizations record their hiring decision in their own ATS. When Gradient turns on review attestations for your organization, these two endpoints do not usedecision. A reviewer records two independent facts: the session is reviewed, and its results are entered into the ATS. The body of PUT is { "reviewed"?: boolean, "atsEntered"?: boolean, "note"?: string }. Send at least one field. A field that you do not send stays as it is. Each change to reviewed or note appends a session.review_recorded audit entry, and each change to atsEntered appends a session.ats_entry_recorded audit entry. Both endpoints return { reviewedAt, reviewedBy, atsEnteredAt, atsEnteredBy, note, atsName }, where a null time means that the box is not checked. Review reminders stop when reviewed is set.
Review Activity
Records what a signed-in member looks at on a session: the read-only workspace (Review work), the session replay, and the Score Breakdown tab. When a review outcome is recorded, the audit entry stores a summary of it: when the work and the replay were first opened, how long each was visible, and whether the score was seen before the work.Response
Response
400 for an unknown surface; 403 for an API key or a candidate; 404 when the session is not in your organization.Resume Reopened Phase
This endpoint is authenticated via the candidate session token, not an API key. It is the only route that can start a paused clock, so an admin who opens the review render never spends the candidate’s minutes.
Response
Response
timeRemaining is in seconds.Get Deliverable Versions
deliverable_snapshot events behind it, which record the full deliverable
about every 15 seconds and only when it changed.
Without versionId the response lists the versions and their metadata, with no
content. Supply versionId to read one version’s full state. Content is split
out because one phase can hold hundreds of versions of a whole document.
toolCallsSince lists the AI’s deliverable-writing tool calls recorded between
the previous version and this one. It is an observation, not a statement about
who wrote the version: the candidate can type in the same window, and a tool
call can fail.
Response (list)
Response (list)
Response (one version)
Response (one version)
Download Session Package
Content-Type: application/zip,
Content-Disposition: attachment). The zip contains:
- Each submitted deliverable as a file. A docx phase and an email phase become
a
.docx. An xlsx or pptx phase keeps its own file type. - The candidate’s chat with the AI agent, as a
.docx. Tool calls, skill use, and connector queries show as marker lines. - The scores, as an
.xlsxwith three tabs. Overview has the candidate, the submit time, the time taken, the total score and level, the assessment summary, and one row per category and sub-dimension with score, level, and summary. Behaviors has one row per judged behavior: category, sub-category, question, weight, verdict, evidence, and judge rationale. Priority Skills has the evidence-only findings. It has no score.
400. Org-scoped; admin or API-key auth (read tier). The scores come from the
same projections as the candidate review page, so the workbook and the page
agree.
Each export writes a candidate.data_exported entry to the organization’s
audit log. The log keeps one entry per caller, candidate and action per hour.
Response - 200 OK (application/zip)
Response - 200 OK (application/zip)
Response - 400 (not a v7 score)
Response - 400 (not a v7 score)
Record Session Chunk
This endpoint is authenticated via the candidate session token, not an API key.
Client-assigned monotonic chunk sequence number (0-based, incremented once per flush)
Response
Response
Record Candidate Survey
This endpoint is authenticated via the candidate session token, not an API key.
Answers keyed by question id. Each rating question must have a whole number from 1 to 5. The
improvement text question is optional and has a limit of 2000 characters. The API ignores unknown ids.Response
Response
400 when the answers are not valid, and with 403 when the org has not turned on the survey. It fails with 409 when the session is not submitted or the survey is already answered.
Get Session Recording
startedMs is the task start. hasRecording is false when the session has no task-phase recording.
Response
Response
Preview Feedback Report
/assess/:token/feedback link, rendered on the candidate detail page. Unlike the candidate-facing route, this does not gate on release: it’s available as soon as the session is scored, whether or not feedback has actually been released to the candidate. Read-only; never sends anything or changes release state.
Response
Response
v7 and legacyView is set. A v7 score has the v7 report content in v7. A score from a retired scoring version has its frozen, read-only breakdown in legacyView.The release object mirrors the eligibility signals the release cron uses, so the Feedback tab can explain why a scored session’s feedback hasn’t gone out yet.Preview Feedback Email
sendFeedbackEmail would send (same template, same score-derived content), but returns it as JSON instead of sending. Never calls the email provider.
Response
Response