Skip to main content

Interface: EncodedPayload

A payload that is not plain JSON: bytes in base64 with their encoding and string metadata (content type, key id, codec name). The engine, the canvas and workflow code treat it as an opaque JSON value; only the codec that wrote it (a worker's codec or the codec server, or the service for kms/envelope) reads data.

Properties​

$fgp​

$fgp: 1


data​

data: string

Base64 (RFC 4648, with padding).


encoding​

encoding: string


metadata?​

optional metadata?: Record<string, string>