Query parameters
Filter incidents belonging to a specified team when using global API token.
Return only incidents from a certain date (format YYYY-MM-DD).
Return incidents until a certain date (format YYYY-MM-DD).
Filter incidents belonging to a specified monitor.
Filter incidents belonging to a specified heartbeat.
List only resolved or unresolved incidents. When omitted both resolved and unresolved incidents are listed. Example: Use ?resolved=false to list active incidents.
List only acknowledged or unacknowledged incidents. When omitted both acknowledged or unacknowledged incidents are listed.
List only incidents that paged any of the given users as on-call. Name each user by e-mail, numeric ID, or Better Stack user ID, like u123. Example: ?on_call_user_ids[]=alice@example.com&on_call_user_ids[]=bob@example.com.
List incidents with matching metadata. Pass the metadata as nested query parameter. Example: Use ?metadata[key][][value]=value or ?metadata[key][][type]=User&metadata[key][][email]=user@example.com to list only incidents matching specified metadata value. A Team value also takes the ID shown in Better Stack URLs, like ?metadata[key][][type]=Team&metadata[key][][item_id]=t123. A User value also takes the user's e-mail or Better Stack user ID, like ?metadata[key][][type]=User&metadata[key][][item_id]=u123.
Sort incidents by started_at, resolved_at, or created_at. Prefix the field with - for descending order, like -created_at. Unresolved incidents come last with resolved_at and first with -resolved_at. Ties are ordered by ID, and any other value is ignored. Without it, the most recently started incidents come first.
The page number to return, starting with 1.
Number of results per page. Defaults to 10, maximum 50.
Headers
Bearer $TOKEN