Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
instanceId |
string | yes | The finished run — a top-level instance, not a sub-workflow run. |
confirmed |
boolean | no | true only after the user has seen the receipt and agreed. |
Returns
Without confirmed: the receipt's summary — workflow, status, counts, each step with its outcome and shell command — and every redaction. Nothing is uploaded.
With confirmed: true: the receipt's url, whether it was alreadyShared, and a markdown badge snippet for a pull request description.
Notes
The agent must show the receipt to the user and ask before the confirmed call. Agent output, prompts, variables and input are never part of a receipt. See Share a run receipt.