Query incidents (alpha)
POST/incidents/search
Search for incidents based on given criteria.
Note that this endpoint is an alpha feature and not enabled on Camunda clusters out of the box. The Camunda 8 API (REST) Overview page provides further details.
This endpoint is an alpha feature and may be subject to change in future releases.
Request
- application/json
Body
- Array [
- ]
sort object[]
Default value: asc
page object
filter object
The assigned key, which acts as a unique identifier for this incident.
The process definition key associated to this incident.
The process definition ID associated to this incident.
The process instance key associated to this incident.
Possible values: [UNSPECIFIED
, UNKNOWN
, IO_MAPPING_ERROR
, JOB_NO_RETRIES
, CONDITION_ERROR
, EXTRACT_VALUE_ERROR
, CALLED_ELEMENT_ERROR
, UNHANDLED_ERROR_EVENT
, MESSAGE_SIZE_EXCEEDED
, CALLED_DECISION_ERROR
, DECISION_EVALUATION_ERROR
, FORM_NOT_FOUND
]
Incident error type with a defined set of values.
Error message which describes the error in more detail.
The flow node ID associated to this incident.
The flow node instance key associated to this incident.
Date of incident creation.
Possible values: [ACTIVE
, MIGRATED
, RESOLVED
, PENDING
]
State of this incident with a defined set of values.
The job key, if exists, associated with this incident.
The path from process instance via flow node ids and flow node instance keys leading to this incident.
The tenant ID of the incident.
Responses
- 200
- 400
- 500
The incident search result.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
items object[]
The assigned key, which acts as a unique identifier for this incident.
The process definition key associated to this incident.
The process definition ID associated to this incident.
The process instance key associated to this incident.
Possible values: [UNSPECIFIED
, UNKNOWN
, IO_MAPPING_ERROR
, JOB_NO_RETRIES
, CONDITION_ERROR
, EXTRACT_VALUE_ERROR
, CALLED_ELEMENT_ERROR
, UNHANDLED_ERROR_EVENT
, MESSAGE_SIZE_EXCEEDED
, CALLED_DECISION_ERROR
, DECISION_EVALUATION_ERROR
, FORM_NOT_FOUND
]
Incident error type with a defined set of values.
Error message which describes the error in more detail.
The flow node ID associated to this incident.
The flow node instance key associated to this incident.
Date of incident creation.
Possible values: [ACTIVE
, MIGRATED
, RESOLVED
, PENDING
]
State of this incident with a defined set of values.
The job key, if exists, associated with this incident.
The path from process instance via flow node ids and flow node instance keys leading to this incident.
The tenant ID of the incident.
{
"items": [
{
"incidentKey": 0,
"processDefinitionKey": 0,
"processDefinitionId": "string",
"processInstanceKey": 0,
"errorType": "UNSPECIFIED",
"errorMessage": "string",
"flowNodeId": "string",
"flowNodeInstanceKey": 0,
"creationTime": "2024-11-14T15:06:47.161Z",
"state": "ACTIVE",
"jobKey": 0,
"treePath": "string",
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The incident search query failed. More details are provided in the response body.
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}