REST API (v1)

The server side of the digiarena Python SDK; the SDK is a thin wrapper — you can curl everything without it.

Authentication

Create an API key on the Settings page and send it with every request:

curl https://digiarena.org/api/v1/usage \
  -H "Authorization: Bearer da_live_..."

Error responses are always {ok: false, code, error, fixes: []}; endpoints marked “coming soon” currently return 501 (routes and response schemas are frozen).

EndpointDescriptionAuthStatus
GET/api/v1/scenes?query=&public=Search scenesPublicLive
GET/api/v1/scenes/{ns}/{id}Scene detail (scene packages never leave the platform)PublicLive
POST/api/v1/scenesCreate scene metadata (content is authored in the hosted editor)API keyLive
POST/api/v1/scenes/{ns}/{id}/forkFork into your namespaceAPI keyComing soon
POST/api/v1/gymsCreate gym session (deploy)API keyComing soon
GET/api/v1/gyms/{id}Poll gym statusAPI keyComing soon
DELETE/api/v1/gyms/{id}Teardown gymAPI keyComing soon
POST/api/v1/gyms/{id}/extendExtend gym leaseAPI keyComing soon
GET/api/v1/gyms/{id}/logsTail gym logsAPI keyComing soon
GET/api/v1/benchmarksList published benchmarksPublicLive
GET/api/v1/benchmarks/{b}/leaderboardLeaderboard (public)PublicLive
POST/api/v1/benchmarks/{b}/submissionsCreate eval submissionAPI keyComing soon
GET/api/v1/benchmarks/{b}/submissions/{id}Submission progress / resultAPI keyComing soon
GET/api/v1/usageMonthly quota / usageAPI keyLive