Sessions
Get Session Artifacts
Retrieve all derived artifacts for a session.
GET
/
v1
/
sessions
/
:id
/
artifacts
curl https://api.promptster.ai/v1/sessions/sess_abc123/artifacts \
-H "Authorization: Bearer psk_live_abc123def456"
{
"artifacts": [
{
"id": "art_abc123",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "data_points_v1",
"derivationV": 1,
"data": {
"points": {
"sessionDurationMs": 4500000,
"promptCount": 18,
"commandFailRate": 0.111,
"verifyIntensity": 2.5,
"manualEditRatio": 0.35,
"firstChangeLatencyMs": 120000,
"testResults": {
"passed": 12,
"failed": 0,
"total": 12
}
}
},
"createdAt": "2026-04-07T10:20:00.000Z"
},
{
"id": "art_def456",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "key_moments_v1",
"derivationV": 1,
"data": {
"moments": [
{
"title": "Identified root cause in event handler",
"description": "Candidate traced the stale closure to the missing dependency array.",
"timestamp": "2026-04-07T09:15:00.000Z",
"category": "debugging"
}
]
},
"createdAt": "2026-04-07T10:20:00.000Z"
}
]
}
Returns all artifacts generated by the worker pipeline for a session. Artifacts include analytics, key moments, prompt analysis, test results, candidate summary, and more.
Authentication
Requires either an org API key or a candidate key.Authorization: Bearer psk_live_...
string
required
The session ID.
array
List of artifact objects.
Show properties
Show properties
string
Artifact ID (UUID).
string
Parent session ID.
string
Organization ID.
string
Artifact type. One of:
analytics_v1, data_points_v1, prompt_analysis_v1, tool_proficiency_v1, key_moments_v1, test_results_v1, candidate_summary, interview_followups_v1, codebase_tree_v1, candidate_files_v1.object
Artifact payload (structure varies by
kind).integer
Derivation version number.
string
ISO 8601 timestamp.
{
"artifacts": [
{
"id": "art_abc123",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "data_points_v1",
"derivationV": 1,
"data": {
"points": {
"sessionDurationMs": 4500000,
"promptCount": 18,
"commandFailRate": 0.111,
"verifyIntensity": 2.5,
"manualEditRatio": 0.35,
"firstChangeLatencyMs": 120000,
"testResults": {
"passed": 12,
"failed": 0,
"total": 12
}
}
},
"createdAt": "2026-04-07T10:20:00.000Z"
},
{
"id": "art_def456",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "key_moments_v1",
"derivationV": 1,
"data": {
"moments": [
{
"title": "Identified root cause in event handler",
"description": "Candidate traced the stale closure to the missing dependency array.",
"timestamp": "2026-04-07T09:15:00.000Z",
"category": "debugging"
}
]
},
"createdAt": "2026-04-07T10:20:00.000Z"
}
]
}
curl https://api.promptster.ai/v1/sessions/sess_abc123/artifacts \
-H "Authorization: Bearer psk_live_abc123def456"
curl https://api.promptster.ai/v1/sessions/sess_abc123/artifacts \
-H "Authorization: Bearer psk_live_abc123def456"
{
"artifacts": [
{
"id": "art_abc123",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "data_points_v1",
"derivationV": 1,
"data": {
"points": {
"sessionDurationMs": 4500000,
"promptCount": 18,
"commandFailRate": 0.111,
"verifyIntensity": 2.5,
"manualEditRatio": 0.35,
"firstChangeLatencyMs": 120000,
"testResults": {
"passed": 12,
"failed": 0,
"total": 12
}
}
},
"createdAt": "2026-04-07T10:20:00.000Z"
},
{
"id": "art_def456",
"sessionId": "sess_abc123",
"orgId": "org_2abc123",
"kind": "key_moments_v1",
"derivationV": 1,
"data": {
"moments": [
{
"title": "Identified root cause in event handler",
"description": "Candidate traced the stale closure to the missing dependency array.",
"timestamp": "2026-04-07T09:15:00.000Z",
"category": "debugging"
}
]
},
"createdAt": "2026-04-07T10:20:00.000Z"
}
]
}
