Export a playbook run as an HTML or Markdown report
GET/plugins/playbooks/api/v0/runs/:id/report
Renders a report for the given playbook run in the requested format.
Sections may be selected via the sections query parameter; omit it
for the default set (everything but the transcript). The summary and
status updates are always included. The transcript section requires
the requester to be a member of the run's channel.
Response is always either a complete report OR a canonical JSON error, never a partial document.
When a server-side cap (post count, byte budget or render timeout)
is hit, the response is still 200 with a truncation note; the
response also carries X-Playbooks-Report-Truncated: true and
X-Playbooks-Report-Truncated-Reason: posts|bytes|timeout.
Request
Responses
- 200
- 400
- 404
- 429
- 500
The report (atomic; full body buffered before any header is sent).
Response Headers
Always attachment, named <title>_<YYYY-MM-DDTHH-MM>.<format>
with the generation time in UTC, with both ASCII
(filename=“…”) and UTF-8 (filename*=UTF-8''…) variants
per RFC 6266.
Always no-store.
Correlation ID echoed on success and failure; matches the value used in server-side error logs.
Present only when a cap was hit (transcript posts, byte budget or render timeout); value is true.
One of posts, bytes or timeout; present only when truncated.
Missing or unknown format, an unknown section token in the sections query, or an unknown time_zone.
Run not found OR not visible to the caller; existence is not disclosed. Also returned when reports are disabled in the plugin config.
Concurrent render semaphore saturated.
Response Headers
Seconds the client should wait before retrying.
5Render or context assembly failure. X-Request-ID is set for correlation with server logs.