Documentation Index
Fetch the complete documentation index at: https://trygradient.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Assessments
Assessments are the core building block of Gradient. Each assessment defines a task, time limits, available data sources, and a scoring rubric.List Assessments
Results per page (1-100)
Offset for pagination
Filter by active status
Response
Response
Get Assessment
Response
Response
Create Assessment
Requires admin role (owner or admin).
Display name for the assessment
Target role (e.g. “Senior PM”)
The task brief shown to candidates
Output format:
pptx, docx, xlsx, or emailTotal time limit for the assessment (minutes)
Automatically send candidate feedback after scoring
Hours before feedback is released
ISO 8601 deadline for the assessment
Response - 201 Created
Response - 201 Created
Update Assessment
name, role, task_prompt, system_prompt, is_active, send_feedback, feedback_delay_hours, due_date, scoring_rubric, bonus_phase_enabled, bonus_phase_minutes, connector_config, candidate_permissions
Candidate Permissions
Thecandidate_permissions field is a JSON object controlling what candidates can do during the assessment:
| Key | Type | Default | Description |
|---|---|---|---|
can_browse_connector_documents | boolean | true | Candidates can see individual documents within connectors |
can_add_custom_connectors | boolean | false | Candidates can connect their own MCP servers |
can_add_skills | boolean | true | Candidates can add/edit/toggle skills |
can_edit_agents_md | boolean | true | Candidates can edit the AI system prompt |
can_add_memory | boolean | true | Candidates can add persistent memory entries |
Response
Response
Delete Assessment
Response
Response
Seed Sample Assessments
Optional. If provided, seeds only the template at this index. Otherwise seeds all templates.
Response
Response
Invite Candidate
sendEmail is false.
Candidate’s email address
Candidate’s display name
ISO 8601 per-candidate deadline (overrides assessment-level deadline)
When
false, Gradient does not send its default invitation email — the caller is expected to deliver a custom email using the returned inviteUrl. Only affects newly-created sessions; idempotent hits on an existing session never re-send (use POST /api/assessments/:id/invite/resend instead).Response - 201 Created (new session)
Response - 201 Created (new session)
200 OK:
Response - 200 OK (existing session)
Response - 200 OK (existing session)
Resend Invite Email
The session ID to resend the invite for
Response
Response
AI Draft (Assessment Wizard)
Requires admin role (owner or admin).
POST /api/assessments/create.
Free-text description of what the assessment should measure (min 10 chars).
Optional target role hint; the model biases its draft toward this title.
Optional hint (
pptx, docx, xlsx, email). When omitted, the model picks one.Hint that the assessment should be multi-phase. Populates
adminGuide.phases.Draft only the admin guide (used by the “Draft from task prompt” button on the admin-guide wizard step).
When
guideOnly is true, the existing task prompt the guide should describe.When
guideOnly is true, the existing role the guide should describe.Response
Response