v2

latestOpenAPI 3.0.3MIT2026-07-26644258.0 KB
Agent Sandbox

List scenario chains (agent key required)

The 5 built-in presets plus your own definitions. Invoke any chain by sending X-Agent-Chain: <name> on any /agent/v1 endpoint: each call advances one step; 'ok' steps respond normally, scenario steps respond with that scenario. Position is server-side state with a 24h inactivity TTL. Behaviour is a pure function of (definition, call count).

get/agent/v1/chains

Response

{ data: { presets[], custom[] } }