Request body for POST /workflows/revisions/retrieve.
Resolves to a single revision by one or more reference types. Every reference supplied must agree with the resolved revision; contradictions return HTTP 400. For environment-backed lookup, key may be omitted when workflow_ref is provided, in which case it defaults to <workflow_slug>.revision.
Key into the environment revision's reference map. Required when retrieving via environment refs.
When true, resolve @ag.references tokens embedded in the revision configuration before returning it.
Successful Response
1 when a revision is returned, 0 when none matched.
References actually used to retrieve a revision.
For direct retrievals, references carries the artifact / variant / revision that was fetched. For environment-backed retrievals, it additionally carries the environment + environment_variant + environment_revision used to look the target up, and selector is {the key: path} map inside the environment's references map that selected the target.