Share a run's report with a link
share_reportMake a public link to the report of one finished run, the Share button on a report in the dashboard: anyone with the link can read the whole report with no login, as it is now (a frozen copy). A report can hold the person's data, so call it first without approved: it returns what would be shared and makes nothing. Tell the person, then call again with approved: true only after they say yes. A run that already has a link gets that link back. For the person's own reading use report_url from get_run or get_pipeline_run instead; that one needs their login and makes nothing public.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>"
},
"name": "share_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run_id from run_workflow, run_agent or list_runs, a pipeline_run_id (shares the report of the pipeline's end result), or a request id from the logs. | |
| approved | No | true only after the person has agreed to make this report public. | |
| expires_in_days | No | Days until the link stops working. Leave out for a link with no end date. |