Schema
StepPayloadResponse
Lazy raw-payload fetch for a single step (run-view canon contract). Returned by ``GET /cycles/{cycle_id}/steps/{step_id}/payload``. The raw ``outputs`` JSONB never travels inline on the cycle fetch; it is fetched here only when the UI's Show-payload disclosure opens. Cycle-scoped by construction — never served by bare step id.
| Field | Type | Description |
|---|---|---|
step_idrequired | string (uuid) | Task UUID whose payload is returned |
cycle_idrequired | string (uuid) | Parent cycle UUID |
size_bytesrequired | integer | UTF-8 JSON byte size of the raw payload |
content_urirequired | string | content_uri per the wss-bridge convention: 'inline:<base64>' for payloads <= 8 KB, else an external reference URI. |
inline_content | string | null | Decoded payload content, present ONLY when content_uri is inline (payload <= 8 KB). Absent for external references. |
kind | string | null | Payload kind (tool / step type) for renderer dispatch. |