workflows-execute and an administrator token owner for the workflow workspace.
Attach run metadata
Include an optional reserved_raydocs object in the request body. Its only supported field is metadata. Raydocs stores these values on the run and removes _raydocs before passing the other fields to the workflow.
metadata remains ordinary workflow input. Only _raydocs.metadata attaches run metadata. In multipart requests, send _raydocs as a JSON string field alongside the uploaded files.
Require fields on a trigger
Configure metadata keys, labels and required flags in the Webhook Trigger node, then publish the workflow version. Each trigger has its own rules. Extra metadata keys remain accepted within the global limits. With no required fields configured, metadata is optional. A required value must be present and contain a non-whitespace string. Validation runs after authentication and before run creation, file storage or job dispatch. A rejected request returns 422 and creates no run:Trace the caller
Raydocs stores the authenticated token ID, its name at creation, and its owner’s user ID. Other authentication modes record the mode but do not identify a Raydocs user. Metadata is supplied by the integration; requiringclient_id checks presence, not membership in a client registry.
Accepted calls return 202 with id, status and trigger_node_id. Use the run ID to read the run or its public output. Metadata remains fixed for that execution and is inherited by subworkflows. Replays retain business metadata and record the new caller.