Pins a comment to a point in time on a chart, the same comment you get by clicking the chart in the Better Stack interface. Use it to mark releases, deployments, and incidents on your charts from your own scripts.
The unique identifier of the chart. Only a line chart can show comments.
Headers
Authorization
requiredstring
Bearer $TOKEN
Content-Type
requiredstring
application/json
Body parameters
dt
requiredstring
The point on the chart's time axis to pin the comment to, as a datetime such as 2026-08-17T12:34:56.789Z. A datetime without a zone offset is read as UTC.
content
requiredstring
The content of the comment. Markdown is supported for formatting.
user_email
string
E-mail of a team member to tag in the comment. The mention goes in front of your content, and that team member is notified.
Comments are drawn on the time axis of a line chart. Pinning one to any other chart type returns 422 with a chart_type error, because the comment would never be visible.
Tag a team member
user_email has to belong to a member of the team the dashboard belongs to. The mention goes in front of your content, so the comment above shows as @Sarah Connor Deployed v2.1.0 on the chart, and Sarah is notified exactly as if somebody had tagged her by hand.
Send user_email on create only. A mention is part of the comment content, so to change one, send the whole content you want to Update a chart comment.
Who the comment is from
A comment created with an API token has no author. It shows as Comment added using API on the chart, its api_authored attribute is true, and it notifies only the team members it tags. Marking every deploy on a chart therefore stays quiet.
A comment created with an OAuth token is attributed to the team member that token belongs to, and notifies the whole team just like a comment written in the Better Stack interface.