Skip to main content
GET
/
v1
/
worlds
/
{id}
/
states
/
{stateId}
Get one state
curl --request GET \
  --url https://api.alakazam.gg/v1/worlds/{id}/states/{stateId} \
  --header 'Authorization: Bearer <token>'
{
  "stateId": "<string>",
  "state": {
    "base": "<string>",
    "camera": {
      "static": "<string>",
      "dynamic": "<string>"
    },
    "movement": {
      "static": "<string>",
      "dynamic": "<string>"
    },
    "ambient": [
      "<string>"
    ],
    "ending": {
      "title": "<string>",
      "subtitle": "<string>"
    },
    "variants": [
      {}
    ]
  },
  "rev": "<string>"
}

Authorizations

Authorization
string
header
required

An app API key, e.g. Authorization: Bearer sk_live_…. Secret (sk_) for writes/sessions; publishable (pk_) for read/embed.

Path Parameters

id
string<uuid>
required
stateId
string
required

Response

The state

stateId
string
state
object

A node in the graph. Optional fields beyond those listed are allowed (forward-compatible). Prose fields must describe pixels, not intent — the kernel doctrine lints enforce this on every write.

rev
string