Where a demo visitor stands
GET
/api/demo
const url = 'https://forge.example.com/api/demo';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/demo \ --header 'Authorization: Bearer <token>'The day the sandbox is deleted and whether that was acknowledged, the builds with the assistant started today from the caller’s address and how many the day allows, the models the sandbox holds and may hold, the state of the month’s AI budget (open, closing when no new build starts, used-up), how hard the browser’s puzzle is, and the sandbox’s code (sandboxCode, written ANVIL-XXXX-XXXX-XXXX), which opens the sandbox from another browser for whoever has it. Answers 404 to anyone who is not a demo visitor.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
deletesOn
required
string format: date-time
acknowledged
required
boolean
buildsToday
required
integer | string format: int32
buildsAllowedToday
required
integer | string format: int32
modelsHeld
required
integer | string format: int32
modelsAllowed
required
integer | string format: int32
budget
required
string
proofBits
required
integer | string format: int32
trialAddress
required
string
sandboxCode
required
string
Example generated
{ "deletesOn": "2026-04-15T12:00:00Z", "acknowledged": true, "buildsToday": 1, "buildsAllowedToday": 1, "modelsHeld": 1, "modelsAllowed": 1, "budget": "example", "proofBits": 1, "trialAddress": "example", "sandboxCode": "example"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}