Query incidents
POST/incidents/search
Search for incidents based on given criteria.
Request
- application/json
Body
- Array [
- ]
sort object[]
Sort field criteria.
The field to sort by.
Possible values: [ASC
, DESC
]
Default value: ASC
The order in which to sort the related field.
page object
Pagination criteria.
The index of items to start searching from.
The maximum number of items to return in one request.
Items to search after. Correlates to the lastSortValues
property of a previous search response.
Items to search before. Correlates to the firstSortValues
property of a previous search response.
filter object
Incident search filter.
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 tenant ID of the incident.
Responses
- 200
- 400
- 401
- 403
- 500
The incident search result.
- application/json
- application/vnd.camunda.api.keys.number+json
- application/vnd.camunda.api.keys.string+json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching incidents.
The assigned key, which acts as a unique identifier for this incident.
The process definition key associated to this incident.
The process instance key associated to this incident.
The flow node instance key associated to this incident.
The job key, if exists, associated with this incident.
{
"items": [
{
"incidentKey": "string",
"processDefinitionKey": "string",
"processInstanceKey": "string",
"flowNodeInstanceKey": "string",
"jobKey": "string",
"processDefinitionId": "string",
"errorType": "UNSPECIFIED",
"errorMessage": "string",
"flowNodeId": "string",
"creationTime": "2024-12-19T15:07:40.230Z",
"state": "ACTIVE",
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching incidents.
The assigned key, which acts as a unique identifier for this incident.
The process definition key associated to this incident.
The process instance key associated to this incident.
The flow node instance key associated to this incident.
The job key, if exists, associated with this incident.
{
"items": [
{
"incidentKey": 0,
"processDefinitionKey": 0,
"processInstanceKey": 0,
"flowNodeInstanceKey": 0,
"jobKey": 0,
"processDefinitionId": "string",
"errorType": "UNSPECIFIED",
"errorMessage": "string",
"flowNodeId": "string",
"creationTime": "2024-12-19T15:07:40.231Z",
"state": "ACTIVE",
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching incidents.
The assigned key, which acts as a unique identifier for this incident.
The process definition key associated to this incident.
The process instance key associated to this incident.
The flow node instance key associated to this incident.
The job key, if exists, associated with this incident.
{
"items": [
{
"incidentKey": "string",
"processDefinitionKey": "string",
"processInstanceKey": "string",
"flowNodeInstanceKey": "string",
"jobKey": "string",
"processDefinitionId": "string",
"errorType": "UNSPECIFIED",
"errorMessage": "string",
"flowNodeId": "string",
"creationTime": "2024-12-19T15:07:40.232Z",
"state": "ACTIVE",
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The incident search query failed. More details are provided in the response body.
The request lacks valid authentication credentials.
- 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"
}
Forbidden. The request is not allowed.
- 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"
}
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"
}