Skip to main content
GET
/
history
/
process-definition
/
cleanable-process-instance-report
/
count
Get Cleanable Process Instance Report Count
curl --request GET \
  --url http://{host}:{port}/{contextPath}/history/process-definition/cleanable-process-instance-report/count \
  --header 'Authorization: Basic <encoded-value>'
{
  "count": 1
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

processDefinitionIdIn
string

Filter by process definition ids. Must be a comma-separated list of process definition ids.

processDefinitionKeyIn
string

Filter by process definition keys. Must be a comma-separated list of process definition keys.

tenantIdIn
string

Filter by a comma-separated list of tenant ids. A process definition must have one of the given tenant ids.

withoutTenantId
boolean

Only include process definitions which belong to no tenant. Value may only be true, as false is the default behavior.

compact
boolean

Only include process instances which have more than zero finished instances. Value may only be true, as false is the default behavior.

Response

Request successful.

count
integer

The number of matching instances.