1. Create the assessment
An assessment defines the coding task, target role, and constraints.Required fields
Optional fields
2. Generate candidate keys
Create keys for one or more candidates. ProvidingcandidateEmails triggers automatic invite emails.
Key lifecycle
Each candidate key moves through these statuses:You can generate up to 50 keys in a single request. If
candidateEmails is provided, its length must match count.3. Track candidate status
List keys for an assessment to see which candidates have started and completed:status, redeemedAt, completedAt, sessionId, and totalCostUsd.
You can also list all candidates across assessments:
4. Handle time limits
WhentimeLimitMinutes is set on the assessment:
- The CLI displays a countdown timer to the candidate
- When time expires, the CLI automatically runs the submission flow (
promptster done) - The session’s
endedAtis set and the processing pipeline begins
5. Monitor token spend
IftokenBudgetUsd is set, the platform tracks cumulative LLM token cost for each candidate’s session. When the budget is reached, the candidate is notified and additional AI tool usage is restricted.
Check spend per candidate via the keys endpoint — each key includes totalCostUsd.
