Scoped keys authenticate challenge workflows outside the browser.
The live API-key routes focus on challenge browsing, exports, and submissions.
Most users should begin with the CLI unless they are wiring direct automation.
Create and scope the platform keys before using these endpoints.
What this API is for
Use the API when you want challenge data or submission workflows inside a script, local tool, editor integration, or CI-like automation loop. If you only want to browse or start a challenge from the terminal, the CLI is usually the better first abstraction.
Authentication
Create a scoped key in API Keys, then send it in the x-api-key header. These are user-scoped platform keys, which means they are appropriate for your own tooling and automation environment.
fetch('https://versalist.com/api/challenges', {
headers: {
'x-api-key': 'vk_live_...',
'Content-Type': 'application/json'
}
})Current endpoints
These are the routes that matter most for the current API-key surface. Treat them as the live challenge automation contract rather than expecting a broader general-purpose product API today.
| Endpoint | Purpose | Required scope |
|---|---|---|
GET /api/challenges | List published challenges. | read:challenges |
GET /api/challenges/:id-or-slug | Load challenge detail. | read:challenges |
GET /api/challenges/:id-or-slug/markdown | Export the challenge brief as markdown. | read:challenges |
GET /api/challenges/:id-or-slug/gold-items | Read public reference items. | read:challenges |
GET /api/challenges/:id-or-slug/leaderboard | Inspect leaderboard context. | read:challenges |
POST /api/challenges/submissions | Create a challenge submission. | submit:solutions |
GET /api/user/submissions | Read your own submission history. | read:submissions |
CLI and MCP
For most users, the best API experience is still the Versalist CLI. It wraps the same authenticated challenge workflows and removes a lot of unnecessary implementation detail when your real goal is “start the challenge” or “submit the run”.
export VERSALIST_API_KEY=vk_live_...
versalist start dspy-optimization-challenge
versalist mcpWhat is still expanding
Versalist is continuing to expand the programmable surface beyond the challenge loop. The right assumption today is that the challenge workflow is the stable core, while broader API coverage across the product continues to evolve.
Related docs
The fastest next reads are API Keys for creation and scope design, then CLI for the higher-level interface most users should adopt before they wire direct HTTP.