Workflow
Workflow endpoints allow candidates to run and iterate on AI workflow prompts during multi-phase assessments. The workflow executes a candidate-authored prompt against inbox data and returns the generated output.Run Workflow
search_email, list_emails, and get_email tools (backed by the session’s phase inbox via InboxConnector) and loops until it produces a final summary output. Uses a fast model (gpt-4o-mini or claude-haiku) for quick iteration. Rate-limited to 10 runs per session.
This endpoint is authenticated via the candidate session token, not an API key. The session is resolved from that token — there is no
sessionId body field.string
required
The workflow prompt to execute as the system prompt
integer
Current phase index. Used to load the correct inbox data when multiple phases have different email sets.
Response
Response
Error — Rate limited (429)
Error — Rate limited (429)
Export Workflow Deliverable
string
required
The assessment session ID
string
Target a specific phase (for multi-phase assessments). When omitted, resolves the current/only phase.
Response
Response
Returns a
.md file download with Content-Type: text/markdown; charset=utf-8.Error — No deliverable found
Error — No deliverable found