GET /setup
GET
/setup
const url = 'https://example.com/setup';const options = {method: 'GET'};
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://example.com/setupWarren-48f8: setup-code redemption; anonymous by necessity — the code IS the auth. 404 unless the boot armed the handoff (src/server/setup-handoff.ts).
Responses
Section titled “Responses”Successful response.
default
Section titled “default”Error response (see src/core/errors.ts).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
hint
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "hint": "example" }}