ALERTS_V1

Preview Playground Report

Changed on

Preview what a playground report would look like.

Regenerates the session through the same ask pipeline a scheduled run uses, so the preview shows the content the next delivery would carry — it costs an LLM run and appends a new assistant turn to the session, but nothing is delivered and no run is recorded. Blocks for the length of that run.

Distinct from /preview because playground reports have no metric_config and need no ClickHouse access.

post/api/v1/alerts/preview/playground-report

Request

  • Base URL: https://api.myaltimate.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.myaltimate.com/api/v1/alerts/preview/playground-report
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

session_idstring required
content_scopestring

first_query | last_answer | full_chat

report_namestring nullable

The rule's name (or the name typed into an unsaved form). Reaches the subject line, so pass it for the preview to match what a scheduled run would send. Falls back to a placeholder.

Response

Successful Response

session_idstring required
content_scopestring required
contentstring required

Report body as markdown

htmlstring required

Rendered email HTML

subjectstring required
first_questionstring nullable
playground_urlstring required
generated_atstring date-time required
is_emptyboolean required

Changes