Templates
Preview an alert template
Renders a draft content-template definition for a chosen channel against a deterministic synthetic sample, returning both the real wire payload the send path would produce and a normalized preview model for card rendering. Uses the exact same resolve/render code path as sending a live notification, so the preview is guaranteed to match production output for the same input.
post/api/{org_id}/alerts/templates/preview
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Organization name
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.