List¶
POST /api/v1/issue/list
Overview¶
Lists Issues in the current workspace with pagination and supports filtering by channel, creation time, status, level, and keyword.
Before Calling and Usage Steps¶
By default, results are sorted by creation time in descending order, with pageIndex=1 and pageSize=10. startTime/endTime use Unix seconds and take effect only when both ends are passed as non-zero values; distinguish them from the millisecond time parameters of the events API. For subsequent pagination, use the top-level pageInfo.totalCount; read the Issue array from content.data; pageInfo is not inside content. Cross-page results may change while data is being updated. Operations use the workspace to which the current API Key belongs; obtain resource identifiers from the same workspace.
Request Headers¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Y | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with permission for this operation from API Key management in the target workspace. |
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| filters[*] | json | A single filter object; does not use the name/operation structure of the events API. Example: {"key": "statusType", "value": 10, "equal": true}How to obtain or enter: Fill in key, value, and boolean equal for each condition. |
|
| filters[*].key | json | Only these keys participate in filtering for this API. Example: statusTypeHow to obtain or enter: Choose level, statusType, resource, creator, or updator according to the filtering target. |
|
| filters[*].value | json | A single filter value; status uses an integer, and the others use strings. Example: 10How to obtain or enter: level takes a level UUID; statusType takes 10/15/20/25/30; resource takes the source value or the display name in the current language; creator/updator take an account UUID or member name; SYS can also be used. |
|
| filters[*].equal | json | Comparison method; explicitly passing it is recommended; when omitted, it is handled as the not-equal branch. Example: trueHow to obtain or enter: Boolean true means equal, false means not equal; do not use the string "false". |
|
| channelUUID | string | Optional single-channel filter; returns Issues bound to this channel. Allows null: False Example: chan_exampleHow to obtain or enter: Obtain from content[].uuid in the Channel list; omit to query Issues in all channels in the current workspace. |
|
| filters | array | Issue field filters. Multiple equal conditions on the same field are combined with OR; multiple not-equal conditions and mixed equal/not-equal conditions are combined with AND; different fields are combined with AND. Allows null: False Example: [{"key": "statusType", "value": 10, "equal": true}]How to obtain or enter: Obtain filter values from Issue details, Valid level list, or member management in this workspace; omit or use [] to not add these conditions. |
|
| startTime | integer | Lower bound of creation time, Unix seconds. Time filtering is enabled only when both ends are non-zero. Allows null: False Example: 1785427200How to obtain or enter: The client selects the Issue creation time and converts it to Unix seconds; it must be passed together with endTime. |
|
| endTime | integer | Upper bound of creation time, Unix seconds, forming a closed interval with startTime. Allows null: False Example: 1785430800How to obtain or enter: The client's time selector obtains the end moment in Unix seconds; it must be passed together with startTime. |
|
| search | string | Contains search on title and description. Allows null: False Allows empty string: True Example: checkoutHow to obtain or enter: Enter part of the title or description; omit or use an empty string to not filter. |
|
| pageSize | integer | Number of records per page, default 10; do not pass 0 or negative numbers. Allows null: False Example: 10How to obtain or enter: Enter a positive integer as needed; using a moderate number of records is recommended to reduce response size. |
|
| pageIndex | integer | Page number, default 1; use a positive integer. Allows null: False Example: 1How to obtain or enter: Set 1 for the first page and increment for subsequent pages while keeping filter conditions consistent. |
Additional Parameter Notes¶
This API does not declare manager, channelUUIDs, or cross-workspace parameters; use the public fields in the parameter table. The nested filters object is not validated field by field; incorrect types may cause internal errors; check against the example before sending.
Request Example¶
curl --request POST 'https://openapi.guance.com/api/v1/issue/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"filters":[{"key":"statusType","value":10,"equal":true}],"pageIndex":1,"pageSize":10}'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content.data | array<object> |
Issue array for the current page; [] when there are no results. |
| content.data[].id | integer or null | Record ID. Responses for creating an Issue/reply may be null when constructed before persistence; use uuid to operate on resources. |
| content.data[].uuid | string | Resource UUID. |
| content.data[].workspaceUUID | string | UUID of the workspace to which it belongs. |
| content.data[].status | integer | Record status; 0 normal, 3 deleted. Distinguish from the Issue business status statusType. |
| content.data[].creator | string | Identity of the creation call; may be an API Key identifier, account, or system identity. |
| content.data[].updator | string | Identity of the most recent update; empty string when not set. |
| content.data[].createAt | integer | Creation time, Unix seconds. |
| content.data[].updateAt | integer | Last update time, Unix seconds; may be -1 when not updated. |
| content.data[].deleteAt | integer | Deletion time, Unix seconds; -1 when not deleted. |
| content.data[].name | string | Issue title. |
| content.data[].level | string | Level UUID; an empty string indicates unspecified; not the level name. |
| content.data[].statusType | integer | Status: 10 Open, 15 Working, 20 Resolved, 25 Closed, 30 Pending. |
| content.data[].statusTypeUpdateRecord | array<string> |
Status change history; each item is in the form Unix seconds&&status name. |
| content.data[].statusTypeUpdateRecord[] | string | A single status change record. |
| content.data[].description | string | Issue description. |
| content.data[].resourceType | string | Source type, such as event, dashboard, viewer; automatically created ones may also be checker, keyeventAutoDiscovery, etc. |
| content.data[].resourceUUID | string | Associated source identifier; the specific meaning varies by source type. |
| content.data[].resource | string | Source module or name, for example LOG, TRACING, EVENTS, RUM. |
| content.data[].repeatType | string | Repeat type of automatically discovered Issues; can be new, repeat, regression; may be empty when manually created. |
| content.data[].subIdentify | string | Associated sub-identifier defined by the source; usually empty for manual creation. |
| content.data[].resolveAt | integer | Time when it was most recently set to Resolved or Closed, Unix seconds; -1 if never resolved. Reopening does not automatically clear this historical time. |
| content.data[].eventCount | integer | Number of associated events recorded. |
| content.data[].eventCountUpdateAt | integer | Time when the associated event count was last updated, Unix seconds; -1 if not yet recorded. |
| content.data[].triggerRecord | object | Legacy compatibility field; no longer used as a notification trigger control parameter. |
| content.data[].extend | object | Extended content. Requests should pass an object {}, not null; see the parameter table for structures such as members, channels, and owners. |
| content.data[].extend.text | string | Plain text used for length checking, up to 3000 characters. |
| content.data[].extend.channels | array<object> |
Channels referenced in the description, including uuid, name, type, and exists; on return, exists is refreshed according to whether the resource currently exists. |
| content.data[].extend.channels[].uuid | string | Channel UUID. |
| content.data[].extend.channels[].name | string or null | Display name. |
| content.data[].extend.channels[].type | string | Channel reference marker #. |
| content.data[].extend.channels[].exists | boolean | Whether the channel exists at return time. |
| content.data[].extend.members | array<object> |
Member references @-mentioned in the description, including uuid, name, type, and exists. |
| content.data[].extend.members[].uuid | string | Member account UUID. |
| content.data[].extend.members[].name | string or null | Display name. |
| content.data[].extend.members[].type | string | Member reference marker @. |
| content.data[].extend.members[].exists | boolean | Whether the account exists at return time. |
| content.data[].extend.manager | array<string> |
Array of owner identifiers, used only by Issues; members/teams/notification targets/emails, etc. are normalized according to validity. |
| content.data[].extend.manager[] | string | A single owner identifier. |
| content.data[].extend.linkList | array<object> |
Business reference links. |
| content.data[].extend.linkList[].name | string | Link display name. |
| content.data[].extend.linkList[].link | string | Business URL. |
| content.data[].extend.sourceLink | string | Source page link; filled in by the client when present. |
| content.data[].extend.extra | object | Display information for third-party integrations; does not change the actual API authentication identity. |
| content.data[].extend.extra.creator | object | Third-party creator display information; may include name and email. |
| content.data[].extend.extra.creator.name | string | Creator display name. |
| content.data[].extend.extra.creator.email | string | Creator display email. |
| content.data[].extend.extra.updator | object | Third-party updater display information; may include name and email. |
| content.data[].extend.extra.updator.name | string | Updater display name. |
| content.data[].extend.extra.updator.email | string | Updater display email. |
| content.data[].extend.extra.managerInfos | object | Display information mapping keyed by owner email, used only by Issues. |
| content.data[].extend.extra.managerInfos.邮箱.name | string | Display name of the owner for the corresponding email. |
| content.data[].extend.其他字段 | JSON | Other extended information saved by the client; this does not mean that all of it triggers business behavior. |
| content.data[].creatorInfo | object | Creator display information; when third-party extend.extra.creator has a value, some read APIs preferentially use that display information. |
| content.data[].creatorInfo.name | string | Display name; may be omitted. |
| content.data[].creatorInfo.email | string | Email; may be omitted. |
| content.data[].creatorInfo.uuid | string | Account UUID; may be omitted. |
| content.data[].updatorInfo | object | Updater display information; may be an empty object. |
| content.data[].updatorInfo.name | string | Display name; may be omitted. |
| content.data[].updatorInfo.email | string | Email; may be omitted. |
| content.data[].updatorInfo.uuid | string | Account UUID; may be omitted. |
| content.data[].levelInfo | object | Historical level display information; may still contain old levels that have been deleted or are not in the current valid list; may be {} when there is no corresponding configuration. Whether it can be used for new writes is subject to the valid level list. |
| content.data[].levelInfo.uuid | string | Level UUID; whether it can still be used for Issue.level should be subject to the current valid level list. |
| content.data[].levelInfo.name | string | Level name, displayed according to the workspace language or level configuration. |
| content.data[].levelInfo.color | string | Color string, usually #RRGGBB. |
| content.data[].levelInfo.description | string | Level description. |
| content.data[].managerInfos | array<object> |
Resolved owner display information. Account information is returned according to actually visible fields; teams/notification targets usually contain uuid and name; emails contain uuid/email/name. |
| content.data[].managerInfos[].uuid | string | Owner identifier. |
| content.data[].managerInfos[].name | string | Display name. |
| content.data[].managerInfos[].email | string | Email owner or account email, provided when a value exists. |
| content.data[].ruleType | string | Type provided when the source is checker and a monitor configuration is found. |
| content.data[].eventTimeRange | array<integer> |
Start and end times provided when an associated event count exists, Unix milliseconds. |
| content.data[].eventTimeRange[] | integer | Unix millisecond timestamp. |
| content.data[].eventConditions | string | Event query condition provided when a valid rule exists for the auto-discovery source. |
| content.data[].eventConditionsFilters | JSON | Filter editing data for the auto-discovery source, provided when configured. |
| content.data[].channels | array<object> |
Supplementary matched channel objects when channelUUID filtering is passed; each item contains uuid/name. |
| content.data[].channels[].uuid | string | Channel UUID. |
| content.data[].channels[].name | string | Channel name. |
| content.declaration | object or null | Workspace public declaration; attached only at the content level. |
| pageInfo | object | Top-level pagination information. |
| pageInfo.pageIndex | integer | Current page number. |
| pageInfo.pageSize | integer | Maximum number of records on this page. |
| pageInfo.count | integer | Actual number of records on this page. |
| pageInfo.totalCount | integer | Total number of matching records. |
| content.data[].creatorInfo.status | integer | Account record status; may be omitted. |
| content.data[].creatorInfo.wsAccountStatus | integer | Account status in the current workspace; may be omitted. |
| content.data[].creatorInfo.username | string | Login name; may be omitted. |
| content.data[].creatorInfo.iconUrl | string | Account avatar URL; may be omitted. |
| content.data[].creatorInfo.mobile | string | Account mobile number; may be empty or omitted. |
| content.data[].creatorInfo.countryCode | string | Country/region code of the mobile number; may be omitted. |
| content.data[].creatorInfo.acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].updatorInfo.status | integer | Account record status; may be omitted. |
| content.data[].updatorInfo.wsAccountStatus | integer | Account status in the current workspace; may be omitted. |
| content.data[].updatorInfo.username | string | Login name; may be omitted. |
| content.data[].updatorInfo.iconUrl | string | Account avatar URL; may be omitted. |
| content.data[].updatorInfo.mobile | string | Account mobile number; may be empty or omitted. |
| content.data[].updatorInfo.countryCode | string | Country/region code of the mobile number; may be omitted. |
| content.data[].updatorInfo.acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].managerInfos[].status | integer | Account record status; may be omitted. |
| content.data[].managerInfos[].wsAccountStatus | integer | Account status in the current workspace; may be omitted. |
| content.data[].managerInfos[].username | string | Login name; may be omitted. |
| content.data[].managerInfos[].iconUrl | string | Account avatar URL; may be omitted. |
| content.data[].managerInfos[].mobile | string | Account mobile number; may be empty or omitted. |
| content.data[].managerInfos[].countryCode | string | Country/region code of the mobile number; may be omitted. |
| content.data[].managerInfos[].acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].managerInfos[].id | integer | In the list path, an account owner may include the account record ID. |
| content.data[].managerInfos[].source | string | Account source in the list path; may be omitted. |
| content.data[].managerInfos[].userIconUrl | string | Account avatar URL in the list path; may be omitted. |
| content.data[].managerInfos[].exterId | string | External account identifier; may be omitted. |
| content.data[].managerInfos[].namespace | string | Namespace to which the account belongs; may be omitted. |
| content.data[].managerInfos[].attributes | object or array | Source account attributes; may be omitted; keys and structure are defined by the identity source. |
| content.data[].managerInfos[].attributes.自定义字段 | JSON | Account attributes defined by the source. |
| content.data[].managerInfos[].customAttributes | object or array | Custom account attributes; may be omitted. |
| content.data[].managerInfos[].customAttributes.自定义字段 | JSON | Custom account attribute values. |
| content.data[].managerInfos[].defaultWebhook | object | Default Webhook description provided by some agent accounts; may be omitted; structure depends on the account configuration. |
| content.data[].managerInfos[].defaultWebhook.自定义字段 | JSON | Fields provided by the source in the Webhook configuration. |
| content.data[].levelInfo.id | integer or null | Level record ID; this field is not provided for system default levels. |
| content.data[].levelInfo.workspaceUUID | string | Optional field in historical level display information. UUID of the workspace to which it belongs. |
| content.data[].levelInfo.status | integer | Optional field in historical level display information. Record status; 0 normal, 3 deleted. Distinguish from the Issue business status statusType. |
| content.data[].levelInfo.creator | string | Optional field in historical level display information. Identity of the creation call; may be an API Key identifier, account, or system identity. |
| content.data[].levelInfo.updator | string | Optional field in historical level display information. Identity of the most recent update; empty string when not set. |
| content.data[].levelInfo.createAt | integer | Optional field in historical level display information. Creation time, Unix seconds. |
| content.data[].levelInfo.updateAt | integer | Optional field in historical level display information. Last update time, Unix seconds; may be -1 when not updated. |
| content.data[].levelInfo.deleteAt | integer | Optional field in historical level display information. Deletion time, Unix seconds; -1 when not deleted. |
| content.data[].levelInfo.extend | object or null | Optional field in historical level display information. Additional JSON object saved at creation; the level modification API currently does not modify this field. |
| content.data[].levelInfo.isManage | boolean or number | Optional field in historical level display information. Whether it is a platform-managed level; workspace-created levels are usually false. |
| content.data[].levelInfo.isDefault | boolean | System default level display flag; may be omitted. |
{
"code": 200,
"content": {
"data": [
{
"id": 101,
"uuid": "issue_example",
"workspaceUUID": "wksp_example",
"status": 0,
"creator": "wsak_example",
"updator": "wsak_example",
"createAt": 1785430800,
"updateAt": 1785430800,
"deleteAt": -1,
"name": "checkout-api latency anomaly",
"level": "system_level_1",
"statusType": 10,
"statusTypeUpdateRecord": [],
"description": "Locate production API latency and record the handling process.",
"resourceType": "",
"resourceUUID": "",
"resource": "",
"repeatType": "",
"subIdentify": "",
"extend": {},
"resolveAt": -1,
"eventCount": 0,
"eventCountUpdateAt": -1,
"triggerRecord": {},
"creatorInfo": {},
"updatorInfo": {},
"levelInfo": {
"uuid": "system_level_1",
"name": "P1",
"description": "Important business functions are unavailable, but the impact on users is limited.",
"color": "#FF7931",
"isDefault": true
},
"managerInfos": []
}
],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE",
"pageInfo": {
"pageIndex": 1,
"pageSize": 10,
"count": 1,
"totalCount": 1
}
}
Error Response¶
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 field missing, or field value violates the declared validation conditions | Parameter parsing failed | Check the parameter location, field name, type, and value. |
| 400 | ft.RequestJsonFormatError | Invalid request JSON syntax | Request JSON format error | Fix the JSON according to content.reason, line, and column. |
| 400 | ft.JsonFormatError | JSON top level is not an object | Some JSON file format errors | Submit a JSON object. |
| 500 | ft.InternalServerError | Level or configuration save, audit, or other internal processing failure | Internal error | First read the current level or configuration to confirm the result, then decide whether to retry; provide traceId if the failure persists. |