v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
policiesManagement

Get Alert Timestamp Format policy.

Get the Alert Timestamp Format policy. This policy controls the date/time format used in alert and recovery notification payloads across all connections and monitor types. When set to ISO, timestamps use the format yyyy-MM-dd HH:mm:ss z. When set to LEGACY, timestamps use the format MM/dd/yyyy hh:mm:ss a z.

get/v1/policies/timestampFormat

Response

The Alert Timestamp Format policy.

timestampFormatstring required

The timestamp format used in alert notification payloads. Valid values: ISO, LEGACY. ISO format: yyyy-MM-dd HH:mm:ss z. LEGACY format: MM/dd/yyyy hh:mm:ss a z.

Example response

{
  "timestampFormat": "LEGACY"
}