Create a session and stream one run in a single request. The 200 OK server-sent event stream carries X-Session-ID and X-Run-ID response headers; store both before processing events so the resources stay inspectable after a disconnect. This shortcut gives a retrying client no stable session boundary: use an explicit session for retry-safe admission, multiple runs, file attachments, durable human interaction, or independent reconnection.
Generated from the Platform API specification on 2026-09-04.
Bearer plus a short-lived OAuth access token issued for the Tanomis API audience. Backends obtain tokens with an organization automation client; the CLI’s human login is not an application credential.
X-Organization-ID
yes
The organization_id from the workspace projection you selected in GET /v1/me/workspaces.
X-Workspace-Tenant-ID
yes
The nested tenant_id from the same projection. A header cannot widen what the token grants. Some single-workspace or self-hosted environments take X-Tenant-ID instead, as supplied by their administrator.