Skip to main content
After a candidate completes their assessment, Promptster’s worker pipeline generates structured artifacts within 30-60 seconds. This guide shows how to detect completion and retrieve all available data.

Detect completed sessions

Poll for sessions linked to an assessment:
A session is complete when endedAt is not null. The processing pipeline runs automatically after completion.
For a production integration, poll every 30-60 seconds. Webhook support is coming soon — see Webhooks for the planned event shapes and a polling recipe.

Fetch all artifacts

Retrieve every artifact generated for a session:
Response:
Each artifact has:

Artifact generation order

Artifacts are generated in phases after session completion:
Artifacts require a minimum amount of data to generate. Sessions with fewer than 3 prompts and 0 file diffs will have limited or no artifacts.

Fetch specific data

In addition to the bulk artifacts endpoint, you can fetch specific data types:

Scores

Returns reviewer rubric scores (if submitted) and the computed Prompter Score.

Interview follow-up questions

Returns AI-generated follow-up questions tailored to the candidate’s session.

Decision events

Returns all decision events captured during the session (accept/reject/edit of AI suggestions).

Timeline events

Returns the full event stream (prompts, file diffs, commands, decisions) in chronological order. Supports cursor-based pagination via the after parameter.

Build a results pipeline

Here is a pattern for a production integration that processes completed sessions:

Next steps

Interpret artifacts

Detailed breakdown of every artifact kind and what the fields mean.

Cohort analysis

Compare candidates with percentile rankings.