Skip to main content
GET
/
v1
/
worlds
/
{id}
/
events
/
{eventName}
Get one event
curl --request GET \
  --url https://api.alakazam.gg/v1/worlds/{id}/events/{eventName} \
  --header 'Authorization: Bearer <token>'
{
  "event": {
    "name": "<string>",
    "from": [
      "<string>"
    ],
    "to": "<string>",
    "base": "<string>",
    "detail": "<string>",
    "hotkey": "<string>",
    "hidden": true,
    "oneShot": true,
    "requires": [
      "<string>"
    ],
    "grants": [
      "<string>"
    ]
  },
  "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
eventName
string
required

Response

The event

event
object

An edge in the graph, addressed by its unique name. A transition MUST carry a to; an override MUST NOT. Optional fields beyond those listed are allowed (forward-compatible).

rev
string