API
Getting started
Base URL, versioning, and resource map for the Skillflare HTTP API
The Skillflare HTTP API lets organizations manage candidates, challenges, environments, and sessions programmatically. A challenge is the assessment primitive: sessions always reference a challenge_id. An environment is a desktop OS image challenges can run on.
Base URL
https://api.skillflare.coAll versioned routes live under /v1. Example:
https://api.skillflare.co/v1/candidatesHealth check
curl https://api.skillflare.co/health{ "status": "ok" }Resources
| Resource | Base path | Docs |
|---|---|---|
| Candidates | /v1/candidates | Candidates |
| Challenges | /v1/challenges | Challenges |
| Environments | /v1/environments | Environments |
| Sessions | /v1/sessions | Sessions |
| Organizations | /v1/organizations | Organizations — partner customers only |
Conventions
- Only for partner customers. Pass the active organization with the optional
x-organization-idheader on candidate, challenge, and session requests. Omit it to use the organization that owns the API key. A partner key may pass a direct child. A non-emptyorganization_idin the query or body returns400VALIDATION_ERROR. - Single-resource successes return the entity at the top level (no
datawrapper). - List endpoints return
{ "data": [...], "meta": { "limit", "offset", "count" } }. - Errors use
{ "error": "CODE", "message": "..." }. See Errors and pagination.