Skip to content

Where a demo visitor stands

GET
/api/demo
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.

OK

Media typeapplication/json
object
deletesOn
required
string format: date-time
acknowledged
required
boolean
buildsToday
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
buildsAllowedToday
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
modelsHeld
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
modelsAllowed
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
budget
required
string
proofBits
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
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"
}

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"
}