What is a session?
A session is the complete telemetry record of one candidate’s assessment. It contains an immutable event log of everything captured during the session: prompts, AI tool calls, file changes, commands, test runs, and architecture decisions.Listing sessions
GET /v1/sessions
Returns a paginated list of sessions for your organization. Filter by assessment to see only the candidates you’re reviewing.
Query parameters
Filter to sessions linked to a specific assessment. Recommended — without this filter, the response includes sessions from all assessments in your organization.
Filter by the AI tool the candidate used, e.g.
claude-code or cursor.Number of sessions to return. Maximum is
100.Number of sessions to skip. Use with
limit for pagination.Example request
Example response
Session object fields
Session UUID.
The AI tool the candidate used, e.g.
claude-code, cursor.ISO 8601 timestamp of when the session started.
ISO 8601 timestamp of when the candidate ran
promptster done, or null if the session has not ended.ISO 8601 timestamp of the most recent event captured.
Total number of events captured in the session.
Number of architecture decisions captured during the session.
Estimated percentage of file changes attributed to the AI tool.
null if attribution has not been computed yet.Getting a single session
GET /v1/sessions/:id
Returns the full session object for the given session ID.
Deleting a session
DELETE /v1/sessions/:id
Hard-deletes the session and all associated data from Promptster.
{ "ok": true, "id": "<session-id>" } on success.