For AI agents: a documentation index is available at https://www.plungeai.com/docs/llms.txt. Append .md to any page URL, or send Accept: text/markdown, to get markdown. Setup instructions for agents are at https://www.plungeai.com/docs/agents.md. One ozk_ key opens every plane, models included.

Documentation Index: fetch the complete documentation index at /llms.txt. Use this file to discover all available pages before exploring further.
POST/v1/workflows/execute-stream

Partly available: with a JSON body, pass input. To pass named inputs, send the workflow as text/yaml. Tracked as TI-53.

Headers: every response carries x-request-id (quote it in support requests). Send x-trace-id (optional, a UUID) to correlate this call across planes; reusing an id that already ran answers 409 duplicate_execution_id. Pick the body format with format or Accept (application/json, text/yaml, text/markdown, text/plain).

Authorization: send Authorization: Bearer $PLUNGE_API_KEY; X-API-Key: <ozk_ key> is accepted as an alternative.

Authorizations

Authorizationstringheaderrequired
Bearer token: Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)

Body

  • application/json
  • text/yaml
workflowanyrequired
CNL workflow object, or a YAML string
inputstring
inputsobject
user_contextUserContext · object
The caller's time zone, locale and location. Optional on every execute body; when absent the gateway derives it from the request's network location (time zone, approximate place). The agent uses it for local time and as the default schedule time zone.

Response

SSE stream: request_received, workflow_loaded, workflow_started, task_dispatched, streaming_started (streaming agents), token (one frame per provider delta: {"task_id","delta"}), heartbeat, task_completed, then workflow_completed (the outcome, carries execution_summary; workflow_error on failure) and workflow_result, always the last frame. Single connection: the gateway drains the provider stream itself; terminal events always arrive on this SSE.

  • text/event-stream

Stream events

EventDescription
workflow_startedExecution begins.
task_dispatchedA task is sent to its agent.
tokenOne provider delta, injected by the relay.
task_completedA task finished.
heartbeatWhile a task runs longer than 20 s, about every 25 s.
workflow_completedTerminal event on success.
workflow_errorTerminal event on failure.
workflow_started
event: workflow_started
data: {"workflow_id":"00000000-0000-4000-8000-000000000001"}
task_dispatched
event: task_dispatched
data: {"task_id":"t1","agent":"one-agent"}
token
event: token
data: {"task_id":"t1","delta":"pong"}
task_completed
event: task_completed
data: {"task_id":"t1"}
heartbeat
event: heartbeat
data: {}
workflow_completed
event: workflow_completed
data: {"final_task_id":"t1"}
workflow_error
event: workflow_error
data: {"error":"…"}

Planned: TI-34

The docs assistant is not available yet. You can hand these docs to your own assistant instead.