Skip to main content

Update generation metadata

PATCH 

/api/v1/generations/:generation_id

Attaches caller-supplied key/value metadata to a generation record for per-run audit attribution (e.g. recording which knowledge-corpus version produced an AI action). The provided keys are shallow-merged over the existing metadata, so repeated patches accumulate and system-owned keys are preserved. Reserved keys (action_id, trigger_id, run_id, node_id, extraction, and internal recovery state) cannot be set and are rejected with 400.

Request

Responses

Updated generation