Assessments
Generate Candidate Keys
Generate candidate keys for an assessment. Optionally send invite emails.
POST
Generates one or more candidate keys (
PST-XXXX-XXXX) for an assessment. Each key is a unique invite that a candidate uses to start their session via the Promptster CLI.
When candidateEmails are provided, invite emails are sent automatically via Loops with instructions on how to get started.
Authentication
Requires an org API key with an active subscription.string
required
The assessment ID (UUID).
integer
required
Number of keys to generate. Must be between 1 and 50.
string[]
Email addresses for each candidate. When provided, invite emails are sent automatically. Array length should match
count.string[]
Display names for each candidate. Array length should match
count.string
Your organization name, included in the invite email for context.
array
List of generated candidate key objects.
