Skip to main content
POST
/
insight
/
incident
/
list
List insight incidents
curl --request POST \
  --url 'https://api.flashcat.cloud/insight/incident/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "start_time": 1712000000,
  "end_time": 1712604800,
  "p": 1,
  "limit": 20,
  "severities": [
    "Critical"
  ]
}
'
{
  "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
  "data": {
    "total": 2,
    "has_next_page": false,
    "items": [
      {
        "incident_id": "67ca560c381a4fedb664f5f8",
        "title": "CPU spike on prod-web-01",
        "description": "CPU usage exceeded 90% threshold",
        "team_id": 4295771902131,
        "team_name": "SRE Team",
        "channel_id": 4321322010131,
        "channel_name": "Production Alerts",
        "progress": "Closed",
        "severity": "Info",
        "created_at": 1741313548,
        "closed_by": "manually",
        "seconds_to_ack": 1052085,
        "seconds_to_close": 1483880,
        "engaged_seconds": 1052085,
        "hours": "work",
        "responders": [
          {
            "person_id": 3790925372131,
            "assigned_at": 1741313548,
            "acknowledged_at": 1742365633,
            "person_name": "alice",
            "email": "alice@example.com"
          }
        ],
        "assigned_to": {
          "person_ids": [
            3790925372131
          ],
          "escalate_rule_id": "000000000000000000000000",
          "layer_idx": 0,
          "type": "reassign"
        },
        "labels": {},
        "fields": {},
        "notifications": 4,
        "interruptions": 2,
        "assignments": 2,
        "reassignments": 1,
        "acknowledgements": 1,
        "escalations": 0,
        "timeout_escalations": 0,
        "manual_escalations": 0,
        "creator_id": 3790925372131,
        "creator_name": "alice"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Restrictions

AspectValue
Rate limits1,000 requests/minute; 50 requests/second per account
PermissionsAnalytics Read (on-call)

Authorizations

app_key
string
query
required

App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Body

application/json

Paged incident list request. Extends InsightFilter with pagination.

start_time
integer<int64>
required

Start time, Unix seconds. Must be greater than 0.

end_time
integer<int64>
required

End time, Unix seconds. Must be greater than start_time.

team_ids
integer<int64>[]

Filter by team IDs. At most 100 entries.

channel_ids
integer<int64>[]

Filter by channel IDs. At most 100 entries.

responder_ids
integer<int64>[]

Filter by responder person IDs. At most 100 entries.

severities
enum<string>[]

Filter by severity. At most 3 entries.

Available options:
Critical,
Warning,
Info,
Ok
incident_ids
string[]

Filter by incident IDs (MongoDB ObjectIDs). At most 100 entries.

Pattern: ^[0-9a-fA-F]{24}$
query
string

Full-text query applied to incident title and description.

labels
object

Label filters (exact match).

fields
object

Custom-field filters (exact match).

orderby
enum<string>

Field to sort the underlying incident set by.

Available options:
created_at
asc
boolean

Sort ascending when true, descending otherwise.

is_my_team
boolean

Restrict results to teams the caller belongs to. When true and the caller has no teams, the result set is empty.

time_zone
string

IANA time zone name used to interpret the time range (e.g. Asia/Shanghai). Defaults to the account time zone.

seconds_to_close_from
integer<int64>

Lower bound (inclusive) on time-to-close, in seconds.

seconds_to_close_to
integer<int64>

Upper bound (exclusive) on time-to-close, in seconds. Must be greater than seconds_to_close_from when both are set.

seconds_to_ack_from
integer<int64>

Lower bound (inclusive) on time-to-acknowledge, in seconds.

seconds_to_ack_to
integer<int64>

Upper bound (exclusive) on time-to-acknowledge, in seconds. Must be greater than seconds_to_ack_from when both are set.

export_fields
string[]

Subset of CSV column keys to include in the export. At most 50 entries. Only used by the export endpoints.

description_html_to_text
boolean

Strip HTML markup from the description column when exporting.

p
integer
default:1

Page number, starting at 1. Defaults to 1.

Required range: x >= 1
limit
integer
default:20

Page size, between 1 and 100. Defaults to 20.

Required range: 1 <= x <= 100
search_after_ctx
string

Cursor token returned by a previous page. Pass it back to fetch the next page.

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Endpoint-specific payload. See each operation's 200 response schema.