Get Incident List¶
POST /api/v1/incidents/list
Overview¶
Paginate through incidents in the current workspace and retrieve summaries of the latest operations and on-call matches.
Prerequisites and Usage Steps¶
The key must have either routine.defaultAccess or incidents.incidentsQuery. Operations are limited to the workspace that the current API key belongs to. For incident UUIDs in this module, use content.data[].uuid from the Incident List; they usually have an incident_ prefix. The public endpoint does not accept workspaceUUID/workspaceUUIDs; do not copy cross-workspace parameters from frontend/internal APIs.
Submit a JSON object with POST. {} lists incidents in descending order by creation time and id; defaults are pageIndex=1 and pageSize=10. Pagination information is at the top level in pageInfo, content remains an object, the incident array is in content.data, and the common declaration is in content.declaration; it is not recursively inserted into each data item. New or modified incidents during a query can shift offset-based pagination; deduplicate by uuid and fix timeRange when necessary.
The filters triplet is the recommended filtering method. Multiple conditions are combined with AND; for ordinary fields, multiple values in the same condition are combined with OR; multiple assigner values are combined with AND; tags match if any associated tag matches. The top-level incidentsStatus is currently incorrectly wired to the database status, and the top-level assigner queries the legacy JSON.manager path; these may differ from business expectations, so omit them and use filters. The fact that a field is declared as fillable does not guarantee that the compatibility field is reliable. An unknown filters.field such as project explicitly returns 406, while an unknown op may be silently ignored. timeRange is a condition on incident activity coverage, not a filter only by creation or update time.
The list response omits resourceContent and does not include attachments/metrics/upgradeInfo; use the details endpoint if you need these. scheduleInfo only indicates the matched configuration and does not guarantee the current on-call person or notification delivery. For tag-only schedules, this list matches if any tag matches, which is a compatibility difference from the details endpoint's all-tags match. If there are no matches, content.data=[] and a complete pageInfo are returned.
Request Headers¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Yes | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or fill in: Obtain an OpenAPI key with this operation permission from API Key Management in the target workspace. |
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| timeRange[*] | integer | One of the two start/end numbers. Example: 1785427200000How to obtain or fill in: Generated as Unix milliseconds by the time picker. |
|
| filters[*] | object | A filter triplet; if field is missing, an unsupported error is reported; an invalid object/type may cause 500.Example: {"field": "incidentsStatus", "op": "=", "value": ["open", "working"]}How to obtain or fill in: Same source as filters. |
|
| filters[*].field | string | Recommended: tags/incidentsStatus/level/assigner/schedule/resourceType/aggregationRuleUUID, as well as host/service/resource/pod_name/app_name/app_id/env/url; the first 8 dimensions map to index columns, and unknown fields such as project return 406. The implementation also supports actual entity columns; avoid relying on internal columns for customer queries.Example: incidentsStatusHow to obtain or fill in: Select a field that can be filtered in the business context. |
|
| filters[*].op | string | Optional = or !=; omitting it means =; do not use other operators.Example: =How to obtain or fill in: Choose based on inclusion/exclusion. |
|
| filters[*].value | array | Multiple values for an ordinary field are OR; multiple assigner values are ANDed item by item (all must be included/all excluded); multiple tags values match if any is associated; schedule matches against a schedule set; for aggregation rules, enter the UUID corresponding to extend.aggregationRuleUUID. An empty array does not mean no operation; omit the entire condition instead.Example: ["open", "working"]How to obtain or fill in: Enter values of the same type according to field, usually a string array. |
|
| filters[].value[] | string | A string value; business statuses are open/working/resolved/closed, level is an incident level UUID, and tags is a tag UUID.Example: openHow to obtain or fill in: Select a valid identifier/dimension value based on field. |
|
| incidentsStatus[*] | string | A single condition string; the semantics are the same as the parent field. Example: openHow to obtain or fill in: If you need business status, prefer field=incidentsStatus in filters. |
|
| level[*] | string | A single condition string; the semantics are the same as the parent field. Example: system_level_1How to obtain or fill in: Obtain the UUID from the Incident Level List; if global levels are enabled in the backend, an administrator must confirm the level that actually takes effect. |
|
| assigner[*] | string | A single condition string; the semantics are the same as the parent field. Example: acnt_exampleHow to obtain or fill in: Obtain the account UUID from the Member List; for groups/notification targets, use their corresponding lists and verify that they are in the same workspace and available. |
|
| tags[*] | string | A single condition string; the semantics are the same as the parent field. Example: tag_exampleHow to obtain or fill in: Obtain the UUID from the Tag List; note that names are used when writing tags. |
|
| schedule[*] | string | A single condition string; the semantics are the same as the parent field. Example: incsch_exampleHow to obtain or fill in: Obtain the schedule UUID from On-Call Schedule Management. |
|
| pageSize | integer | Optional integer, default 10; the current implementation does not declare a maximum value. Callers should limit it to a reasonable positive number; 0/negative numbers are not a stable pagination contract. Null allowed: False Example: 10How to obtain or fill in: Choose based on query volume; 10 to 100 is recommended. |
|
| pageIndex | integer | Optional integer, default 1; >=1 is recommended. The current declaration does not restrict it to positive numbers, so do not rely on negative numbers producing an error; offset-based pagination may shift during additions/changes. Null allowed: False Example: 1How to obtain or fill in: Start from the first page and continue based on the top-level pageInfo. |
|
| timeRange | array | Optional numeric array with exactly 2 elements; omitting it or [] does not filter by time. The filter is createAt <= end and max(eventUpdateAt, createAt) >= start; it does not query only by creation time, nor does it filter by the update time updateAt. The current route only validates that it is an array; incorrect length/elements may cause 500, so validate the start/end values first.Null allowed: False Example: [1785340800000, 1785427200000]How to obtain or fill in: The caller selects the incident activity coverage period, in Unix milliseconds. |
|
| search | string | Optional name LIKE contains match; omitted/empty string does not filter. %/_ can currently produce SQL wildcard effects; this is not full-text search.Null allowed: False Example: paymentHow to obtain or fill in: Enter a keyword based on the incident name. |
|
| filters | array | Optional array of condition objects; multiple conditions are AND; the value array for the same ordinary field is usually IN/NOT IN. Only = and != have an actual effect; other op values may be ignored, so do not rely on them producing an error. Prefer filters over the top-level incidentsStatus/assigner compatibility fields.Null allowed: False Example: [{"field": "incidentsStatus", "op": "=", "value": ["open", "working"]}]How to obtain or fill in: Construct it from business status, level, member, tag, on-call, or incident dimensions using the fields supported in this document. |
|
| incidentsStatus | array | Compatibility top-level parameter; the current implementation incorrectly uses the database status column rather than the business incidentsStatus, so do not rely on it to filter by open/working; omit it and use filters.Null allowed: False Example: ["open"]How to obtain or fill in: If you need business status, prefer field=incidentsStatus in filters. |
|
| level | array | Optional array of incident level UUIDs; multiple values are OR; omitted/[] means unrestricted.Null allowed: False Example: ["system_level_1"]How to obtain or fill in: Obtain the UUID from the Incident Level List; if global levels are enabled in the backend, an administrator must confirm the level that actually takes effect. |
|
| assigner | array | Compatibility top-level parameter; currently queries the legacy JSON path $.manager, while incidents commonly store an array; it is recommended to omit it and use filters.assigner.Null allowed: False Example: ["acnt_example"]How to obtain or fill in: Obtain the account UUID from the Member List; for groups/notification targets, use their corresponding lists and verify that they are in the same workspace and available. |
|
| tags | array | Optional array of tag UUIDs; any associated tag matches; omitted/[] means unrestricted; no match returns an empty list.Null allowed: False Example: ["tag_example"]How to obtain or fill in: Obtain the UUID from the Tag List; note that names are used when writing tags. |
|
| schedule | array | Optional array of schedule UUIDs; queries matching incidents by schedule tag/dimension conditions, then merges the results; it does not filter by current shift members or whether a notification has been sent; no match returns an empty list. Null allowed: False Example: ["incsch_example"]How to obtain or fill in: Obtain the schedule UUID from On-Call Schedule Management. |
Additional Parameter Notes¶
filters supports = and !=, and multiple conditions are AND. Use filters.incidentsStatus/assigner instead of the top-level compatibility fields with abnormal semantics. The dimensions host/service/resource/pod_name/app_name/app_id/env/url map to index columns. Aggregated incidents can be filtered by resourceType=incident_aggregation and aggregationRuleUUID.
Request Example¶
curl --request POST 'https://openapi.truewatch.com/api/v1/incidents/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"pageIndex":1,"pageSize":10,"filters":[{"field":"incidentsStatus","op":"=","value":["open","working"]}]}'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content | object | Pagination content object; data is the incident array, and declaration is the current workspace declaration. |
| content.data | array<object> |
Array of incidents on this page; an empty result is []. |
| content.data[].id | integer or null | Database row ID; use uuid for business identification; it may be null in a snapshot before submission. |
| content.data[].uuid | string | UUID of this resource. |
| content.data[].status | integer | Database status, 0 active/3 deleted; different from the incident business status incidentsStatus. |
| content.data[].creator | string | Creator; for an API key, this is usually wsak_ followed by the resource UUID. |
| content.data[].updator | string | Last updater; may be empty if it has not been updated. |
| content.data[].createAt | integer | Creation time in Unix seconds. |
| content.data[].updateAt | integer | Last update time in Unix seconds. |
| content.data[].deleteAt | integer | Deletion time in Unix seconds; -1 if not deleted. |
| content.data[].workspaceUUID | string | Workspace to which the incident belongs. |
| content.data[].name | string | Incident name. |
| content.data[].level | string | Incident level UUID, such as system_level_1, or legacy identifiers issl_/isslm_; not equal to the level display name. |
| content.data[].description | string or null | Incident description. |
| content.data[].source | string | Incident source; for manual creation through this public endpoint, it is currently external, which does not mean that External API authentication is used. |
| content.data[].resourceCategory | string | Source resource category; automatically created incidents fill it based on the source; it is usually empty for manual creation through the public endpoint. |
| content.data[].resourceType | string | Source resource type; incident_aggregation for aggregated incidents; usually empty for manual creation. |
| content.data[].resourceUUID | string | Source resource UUID; usually empty for manual creation. |
| content.data[].resourceUrl | string | Stored source URL; the response field has a lowercase l, unlike the request resourceURL. |
| content.data[].eventRelations | array<object> |
Snapshot of events associated with the current incident lifecycle; it may be cleared when a new round is reopened. |
| content.data[].eventRelations[] | object | Source event association description; dynamic fields are returned by event type; it is not an object that can be configured when creating an incident through this endpoint. |
| content.data[].eventRelations[].Custom field | JSON | Key-value associations saved by the event producer; read them according to their actual types first. |
| content.data[].resourceIdentity | string | Source aggregation/sub-identity; may be empty for manual creation. |
| content.data[].assigner | array<string> |
List of assignee identifiers; may contain acnt_/group_/notify_; it is not guaranteed that all identifiers remain valid. |
| content.data[].assigner[] | string | One saved assignee/group/notification target identifier. |
| content.data[].incidentsStatus | string | Business status: open/working/resolved/closed. |
| content.data[].statusTime | object | Status times recorded for the current lifecycle, in Unix seconds; not every status exists. |
| content.data[].statusTime.open | integer | Time opened in this round. |
| content.data[].statusTime.working | integer | Time entered working in this round; may be omitted. |
| content.data[].statusTime.resolved | integer | Recovery time in this round; may be omitted. |
| content.data[].statusTime.closed | integer | Close time in this round; may be omitted. |
| content.data[].statusChangeTime | integer | Time when the current lifecycle was triggered; updated when reopened; not the same as the time of each field modification. |
| content.data[].cumulativeTime | integer | Cumulative incident duration in seconds; the details/list may calculate it in real time based on the current status, and the value written in the response may be the stored value. |
| content.data[].eventCount | integer | Associated event count; usually 0 for manual creation. |
| content.data[].eventUpdateAt | integer | Last source event update time, in Unix seconds; usually 0 for manual creation. |
| content.data[].dimensionTag | object | JSON mapping from dimension names to values. |
| content.data[].dimensionTag.Custom key | JSON | Dimension value saved by the caller or source; strings are recommended; host/service etc. also have separate index fields. |
| content.data[].extend | object or JSON | Incident extension data; automatic sources may include configurations such as aggregation/event; the public creation endpoint currently does not save the passed extend; only modification can replace it as a whole. |
| content.data[].extend.linkList | array<object> |
Business link array; after saving, it is for display purposes; this endpoint does not access external URLs. |
| content.data[].extend.linkList[].name | string | Link display name. |
| content.data[].extend.linkList[].link | string | Link address. |
| content.data[].extend.aggregationRuleUUID | string | Aggregation source rule UUID; if present, it can be used in filters.aggregationRuleUUID. |
| content.data[].extend.Custom field | JSON | Other saved source extension fields; no fixed structure is promised; copy the complete existing object before replacing it as a whole. |
| content.data[].dtHost | string or null | host index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtService | string or null | service index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtResource | string or null | resource index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtPodName | string or null | pod_name index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtAppName | string or null | app_name index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtAppId | string or null | app_id index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtEnv | string or null | env index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].dtUrl | string or null | url index dimension, derived from dimensionTag at creation; modifying dimensionTag through the public endpoint currently has no effect. |
| content.data[].eventRelations[].df_fault_id | string | Event lifecycle ID, generated from the event df_fault_id or the compatible df_status_fault_id; not the incident UUID. |
| content.data[].eventRelations[].status | string | The df_status status of this associated event snapshot, for example critical/ok; different from the incident incidentsStatus. |
| content.data[].eventRelations[].aggregationValues | object | May be present only when associated by an aggregation rule; mapping from aggregation keys to corresponding event dimension values. |
| content.data[].eventRelations[].aggregationValues.Aggregation key | JSON | The value of the dimension specified by the aggregation rule in the event; read it according to the actual saved type. |
| content.data[].assignerInfo | array<object> |
Summary of assignees that were actually resolved successfully; account identity fields are complete, while groups/notification targets contain only uuid/name; unknown identifiers may be ignored. |
| content.data[].assignerInfo[].uuid | string | Subject UUID; a system reply subject may be empty or a system identifier. |
| content.data[].assignerInfo[].status | integer | Subject status. |
| content.data[].assignerInfo[].wsAccountStatus | integer | Workspace member status; for a key, the key status is used, not the incident status. |
| content.data[].assignerInfo[].username | string | Login name/key name/system name. |
| content.data[].assignerInfo[].name | string | Display name; for system AI, the display name uses the site configuration. |
| content.data[].assignerInfo[].iconUrl | string | Avatar URL; may be omitted for system summaries. |
| content.data[].assignerInfo[].email | string | Contact email; for a key summary, this may be the key UUID rather than a deliverable email address. |
| content.data[].assignerInfo[].mobile | string | Contact mobile number; may be empty. |
| content.data[].assignerInfo[].countryCode | string | Country code; may be omitted for system summaries. |
| content.data[].assignerInfo[].acntWsNickname | string | Workspace nickname; may be omitted for system summaries. |
| content.data[].workspaceInfo | object | Summary of the workspace to which the incident belongs. |
| content.data[].workspaceInfo.uuid | string | UUID of the workspace it belongs to. |
| content.data[].workspaceInfo.name | string | Workspace name; may be empty if it cannot be resolved. |
| content.data[].regionCode | string | Current site code. |
| content.data[].isExternalWorkspace | boolean | Whether it comes from another workspace; this public OpenAPI endpoint does not accept cross-workspace targets and is usually false. |
| content.data[].aggregationRuleInfo | object or null | Attached only to aggregated incidents; a valid rule summary or null. |
| content.data[].aggregationRuleInfo.uuid | string | Aggregation rule UUID. |
| content.data[].aggregationRuleInfo.name | string | Aggregation rule name. |
| content.data[].aggregationRuleInfo.status | integer | Rule database status. |
| content.data[].scheduleInfo | array<object> |
Original summary of the currently matched on-call configuration; it does not mean that someone is on duty at this moment or that a notification has actually been delivered; the tag matching compatibility rules differ between details and list. |
| content.data[].scheduleInfo[].id | integer or null | Database row ID; use uuid for business identification; it may be null in a snapshot before submission. |
| content.data[].scheduleInfo[].uuid | string | UUID of this resource. |
| content.data[].scheduleInfo[].status | integer | Database status, 0 active/3 deleted; different from the incident business status incidentsStatus. |
| content.data[].scheduleInfo[].creator | string | Creator; for an API key, this is usually wsak_ followed by the resource UUID. |
| content.data[].scheduleInfo[].updator | string | Last updater; may be empty if it has not been updated. |
| content.data[].scheduleInfo[].createAt | integer | Creation time in Unix seconds. |
| content.data[].scheduleInfo[].updateAt | integer | Last update time in Unix seconds. |
| content.data[].scheduleInfo[].deleteAt | integer | Deletion time in Unix seconds; -1 if not deleted. |
| content.data[].scheduleInfo[].workspaceUUID | string | Workspace it belongs to. |
| content.data[].scheduleInfo[].name | string | On-call name. |
| content.data[].scheduleInfo[].timezone | string | IANA time zone. |
| content.data[].scheduleInfo[].start | string | Compatible daily work start time HH:MM, interpreted in the schedule timezone; not a date or Unix time. |
| content.data[].scheduleInfo[].end | string | Compatible daily work end time HH:MM; for effective date boundaries, see extend.effectiveTime. |
| content.data[].scheduleInfo[].tagFilter | array<string> |
Array of matching tag UUIDs. |
| content.data[].scheduleInfo[].tagFilter[] | string | Tag UUID. |
| content.data[].scheduleInfo[].dimensionFilter | string | Dimension match query expression. |
| content.data[].scheduleInfo[].notifyTargets | array<string> |
List of notification target identifiers. |
| content.data[].scheduleInfo[].notifyTargets[] | string | Target identifier for an account/group/notification target, etc. |
| content.data[].scheduleInfo[].strategyConfig | array<object> |
Escalation policy configuration, read according to the version saved in the workspace. |
| content.data[].scheduleInfo[].strategyConfig[] | object | One configuration policy; the incident read endpoint does not expand an execution preview. |
| content.data[].scheduleInfo[].strategyConfig[].Custom field | JSON | Saved policy level/wait/notification configuration; read the complete business configuration in On-Call Management. |
| content.data[].scheduleInfo[].extend | object | Extended configuration such as scheduling/rotation. |
| content.data[].scheduleInfo[].extend.Custom field | JSON | Saved on-call extension key-values; they cannot be modified through this endpoint. |
| content.data[].scheduleInfo[].isDefault | boolean | Whether it is the default on-call. |
| content.data[].scheduleInfo[].rotationUpdateAt | integer | Rotation change time in Unix seconds; can be -1 for historical data. |
| content.data[].scheduleInfo[].agentUUIDs | array<string> |
Array of associated Agent UUIDs in the extension. |
| content.data[].scheduleInfo[].agentUUIDs[] | string | One Agent UUID. |
| content.data[].scheduleInfo[].strategyConfig[].uuid | string | Policy UUID. |
| content.data[].scheduleInfo[].strategyConfig[].name | string | Policy name. |
| content.data[].scheduleInfo[].strategyConfig[].strategy | array<object> |
Array of escalation level configurations for this policy. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].level | integer | Level sequence number, usually starting from 0. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].levelUpTime | integer | Escalation wait time in seconds from the incident status trigger time. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].incidentsLevel | array<string> |
Array of applicable incident level UUIDs. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].incidentsLevel[] | string | One level UUID. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].incidentsStatus | array<string> |
Array of applicable incident statuses, such as open/working. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].incidentsStatus[] | string | One incident status. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].ifRepeatNotify | boolean | Whether to repeat notifications. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].repeatNotifyInterval | integer | Repeat notification interval in seconds. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig | array<object> |
Array of notification configurations for this level. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig[].notifyObjectType | string | Notification target category, such as member/object/group, read according to the saved version. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig[].notifyObject | array<string> |
Notification target identifier; watchkeeper indicates the current on-call person at runtime, not a fixed account UUID. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig[].notifyObject[] | string | A target account/group/notification target identifier or watchkeeper. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig[].notifyMethod | array<string> |
Notification method; common values are mobile phone/message SMS/email email; object channels are executed according to the object configuration. |
| content.data[].scheduleInfo[].strategyConfig[].strategy[].notifyConfig[].notifyMethod[] | string | One notification method. |
| content.data[].scheduleInfo[].extend.enableRotateNotification | boolean | Whether to rotate notification targets. |
| content.data[].scheduleInfo[].extend.rotationCycle | string | One of day/week/month/workDay/weekend/customDay/customWeek; may be omitted for historical data. |
| content.data[].scheduleInfo[].extend.rotationInterval | integer | For customDay, the rotation interval in days from 1 to 31; for customWeek, the number of weeks from 1 to 4. |
| content.data[].scheduleInfo[].extend.effectiveTime | object | Schedule validity period configuration. |
| content.data[].scheduleInfo[].extend.effectiveTime.start | integer | Saved valid start time in Unix seconds; if omitted, no start limit is set. |
| content.data[].scheduleInfo[].extend.effectiveTime.end | integer | Saved valid end time in Unix seconds; if omitted, no end limit is set. |
| content.data[].scheduleInfo[].extend.workTime | object | Work time configuration; when omitted, it is derived from the compatible start/end and rotation cycle. |
| content.data[].scheduleInfo[].extend.workTime.mode | string | allDay all day or specificTimes specified times. |
| content.data[].scheduleInfo[].extend.workTime.periods | array<object> |
Array of specified work periods. |
| content.data[].scheduleInfo[].extend.workTime.periods[].weekdays | array<integer> |
Applicable weekdays: 1 Monday to 7 Sunday. |
| content.data[].scheduleInfo[].extend.workTime.periods[].weekdays[] | integer | One of 1 to 7. |
| content.data[].scheduleInfo[].extend.workTime.periods[].start | string | Start HH:MM on the local day. |
| content.data[].scheduleInfo[].extend.workTime.periods[].end | string | End HH:MM on the local day. |
| content.data[].scheduleInfo[].extend.agentUUIDs | array<string> |
Associated Agent UUIDs; the entity also has a top-level agentUUIDs projection. |
| content.data[].scheduleInfo[].extend.agentUUIDs[] | string | One Agent UUID. |
| content.data[].operateRecord | object | Summary of the latest operation record; when there is no record, operatorInfo={} may still be present. |
| content.data[].operateRecord.uuid | string | Operation record UUID. |
| content.data[].operateRecord.createAt | integer | Record time in Unix seconds. |
| content.data[].operateRecord.incidentsUUID | string | UUID of the incident it belongs to. |
| content.data[].operateRecord.workspaceUUID | string | Workspace it belongs to. |
| content.data[].operateRecord.content | string | Localized operation description; machine parsing is not promised; determine it by operateType/extend. |
| content.data[].operateRecord.extend | object | Operation extension; varies with operateType. |
| content.data[].operateRecord.extend.before | JSON | Value before a status/level/assignee change; may be a string or array depending on the operation type. |
| content.data[].operateRecord.extend.after | JSON | Value after a status/level/assignee change. |
| content.data[].operateRecord.extend.source | string | Operation source; the default studio entry may not contain this key. |
| content.data[].operateRecord.extend.Custom field | JSON | Extended metadata carried by actions such as escalation policies; retain the original value and do not use it as a request parameter. |
| content.data[].operateRecord.operator | string | Actual operator account/key/system identifier. |
| content.data[].operateRecord.operateType | string | create/status_update/level_update/assigner_update/notify_level_update, etc.; clients should be compatible with extensions. |
| content.data[].operateRecord.operatorInfo | object | Subject summary; {} if there is no corresponding information. |
| content.data[].operateRecord.operatorInfo.uuid | string | Subject UUID; a system reply subject may be empty or a system identifier. |
| content.data[].operateRecord.operatorInfo.status | integer | Subject status. |
| content.data[].operateRecord.operatorInfo.wsAccountStatus | integer | Workspace member status; for a key, the key status is used, not the incident status. |
| content.data[].operateRecord.operatorInfo.username | string | Login name/key name/system name. |
| content.data[].operateRecord.operatorInfo.name | string | Display name; for system AI, the display name uses the site configuration. |
| content.data[].operateRecord.operatorInfo.iconUrl | string | Avatar URL; may be omitted for system summaries. |
| content.data[].operateRecord.operatorInfo.email | string | Contact email; for a key summary, this may be the key UUID rather than a deliverable email address. |
| content.data[].operateRecord.operatorInfo.mobile | string | Contact mobile number; may be empty. |
| content.data[].operateRecord.operatorInfo.countryCode | string | Country code; may be omitted for system summaries. |
| content.data[].operateRecord.operatorInfo.acntWsNickname | string | Workspace nickname; may be omitted for system summaries. |
| content.data[].operateRecord.extend.before_info | object or array | Summary of the level before the change, or an array of assignee summaries; for status changes it is usually {}, and for level changes, before itself is the display name. |
| content.data[].operateRecord.extend.after_info | object or array | Summary of the level/assignee after the change; read it according to the actual operateType and type. |
| content.data[].operateRecord.extend.schedule_name | string | Summary of the on-call/policy name in a notification escalation operation. |
| content.data[].operateRecord.extend.incidents_status | string | Incident business status at the time of notification escalation. |
| content.data[].operateRecord.extend.strategy_info | object | Snapshot of the notification escalation policy. |
| content.data[].operateRecord.extend.strategy_info.name | string | Name of the schedule it belongs to. |
| content.data[].operateRecord.extend.strategy_info.strategy | object | Snapshot of the selected level and notification configuration for this operation. |
| content.data[].operateRecord.extend.notify_info | object | Mapping from notification target identifiers to target profiles at that time; the shapes for accounts/groups/notification targets differ. |
| content.data[].operateRecord.extend.notify_info.Target identifier | object or string | Profile such as the target's name/email/member at that time; read it according to the actual type; it does not indicate successful delivery. |
| content.data[].operateRecord.extend.is_muted | boolean | true when the incident notification matched a mute; even if there is an escalation record, it was not actually sent. |
| content.data[].operateRecord.extend.mute_rule_info | object | Summary of the matched mute rule. |
| content.data[].operateRecord.extend.mute_rule_info.uuid | string | Mute rule UUID. |
| content.data[].operateRecord.extend.mute_rule_info.name | string | Mute rule name. |
| content.data[].operateRecord.extend.muted_notify_info | object | Mapping of target profiles that were originally planned to be sent but were muted. |
| content.data[].operateRecord.extend.muted_notify_info.Target identifier | object or string | Muted target profile. |
| content.data[].operateRecord.extend.strategy_info.strategy.level | integer | Level sequence number, usually starting from 0. |
| content.data[].operateRecord.extend.strategy_info.strategy.levelUpTime | integer | Escalation wait time in seconds from the incident status trigger time. |
| content.data[].operateRecord.extend.strategy_info.strategy.incidentsLevel | array<string> |
Array of applicable incident level UUIDs. |
| content.data[].operateRecord.extend.strategy_info.strategy.incidentsLevel[] | string | One level UUID. |
| content.data[].operateRecord.extend.strategy_info.strategy.incidentsStatus | array<string> |
Array of applicable incident statuses, such as open/working. |
| content.data[].operateRecord.extend.strategy_info.strategy.incidentsStatus[] | string | One incident status. |
| content.data[].operateRecord.extend.strategy_info.strategy.ifRepeatNotify | boolean | Whether to repeat notifications. |
| content.data[].operateRecord.extend.strategy_info.strategy.repeatNotifyInterval | integer | Repeat notification interval in seconds. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig | array<object> |
Array of notification configurations for this level. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig[].notifyObjectType | string | Notification target category, such as member/object/group, read according to the saved version. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig[].notifyObject | array<string> |
Notification target identifier; watchkeeper indicates the current on-call person at runtime, not a fixed account UUID. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig[].notifyObject[] | string | A target account/group/notification target identifier or watchkeeper. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig[].notifyMethod | array<string> |
Notification method; common values are mobile phone/message SMS/email email; object channels are executed according to the object configuration. |
| content.data[].operateRecord.extend.strategy_info.strategy.notifyConfig[].notifyMethod[] | string | One notification method. |
| content.declaration | object or null | Workspace common declaration attached to non-empty content; may be null or an empty object when not configured; an empty content object does not add it. |
| pageInfo.pageIndex | integer | Current page, default 1. |
| pageInfo.pageSize | integer | Current page size, default 10. |
| pageInfo.count | integer | Number of records on this page. |
| pageInfo.totalCount | integer | Total number of matches; may change during additions/changes. |
{
"code": 200,
"content": {
"data": [
{
"id": 123,
"uuid": "incident_example",
"status": 0,
"creator": "wsak_example",
"updator": "",
"createAt": 1785427200,
"updateAt": -1,
"deleteAt": -1,
"workspaceUUID": "wksp_example",
"name": "Payment service anomaly",
"level": "system_level_1",
"description": "Some requests failed",
"source": "external",
"resourceCategory": "",
"resourceType": "",
"resourceUUID": "",
"resourceUrl": "https://example.com/runbook",
"eventRelations": [],
"resourceIdentity": "",
"assigner": [],
"incidentsStatus": "open",
"statusTime": {
"open": 1785427200
},
"statusChangeTime": 1785427200,
"cumulativeTime": 0,
"eventCount": 0,
"eventUpdateAt": 0,
"dimensionTag": {
"service": "payment"
},
"extend": {},
"dtHost": "",
"dtResource": "",
"dtPodName": "",
"dtAppName": "",
"dtAppId": "",
"dtEnv": "",
"dtUrl": "",
"dtService": "payment",
"assignerInfo": [],
"operateRecord": {
"operatorInfo": {}
},
"scheduleInfo": [],
"workspaceInfo": {
"uuid": "wksp_example",
"name": "Production workspace"
},
"regionCode": "site_example",
"isExternalWorkspace": false
}
],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE",
"pageInfo": {
"pageIndex": 1,
"pageSize": 10,
"count": 1,
"totalCount": 1
}
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 406 | ft.ParameterValidationFailed | Request fields are missing, or field values violate the declared validation conditions | Parameter parsing failed | Check the parameter location, field names, types, and values. |
| 400 | ft.RequestJsonFormatError | The request JSON syntax is invalid | Request JSON format error | Fix the JSON according to content.reason, line, column. |
| 400 | ft.JsonFormatError | The JSON top level is not an object | Some JSON file format error | Submit an object. |
| 406 | ft.IncidentsFilterFieldNotSupported | filters.field is not a supported special field/dimension or model column, for example project | Querying the incident list by the project field is not supported yet | Change to a field supported in this document. |
| 500 | ft.InternalServerError | Unhandled exceptions such as database reads, legacy object/configuration formats, or association summary construction | Internal error | Check query parameters and retain traceId; retry with backoff, and if it persists, ask the administrator to check related historical records and service logs. |