Skip to main content
GET
/
history
/
batch
/
{id}
Get Historic Batch
curl --request GET \
  --url http://{host}:{port}/{contextPath}/history/batch/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "aBatchId",
  "type": "aBatchType",
  "size": 10,
  "batchJobsPerSeed": 100,
  "invocationsPerBatchJob": 1,
  "seedJobDefinitionId": "aSeedJobDefinitionId",
  "monitorJobDefinitionId": "aMonitorJobDefinitionId",
  "batchJobDefinitionId": "aBatchJobDefinitionId",
  "tenantId": "aTenantId",
  "createUserId": "aUserId",
  "startTime": "2016-04-12T15:29:33.000+0200",
  "endTime": "2016-04-12T16:23:34.000+0200",
  "removalTime": "2016-04-15T16:23:34.000+0200"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The id of the historic batch to be retrieved.

Response

Request successful.

id
string | null

The id of the batch.

type
string | null

The type of the batch. See the User Guide for more information about batch types.

totalJobs
integer | null

The total jobs of a batch is the number of batch execution jobs required to complete the batch.

batchJobsPerSeed
integer | null

The number of batch execution jobs created per seed job invocation. The batch seed job is invoked until it has created all batch execution jobs required by the batch (see totalJobs property).

invocationsPerBatchJob
integer | null

Every batch execution job invokes the command executed by the batch invocationsPerBatchJob times. E.g., for a process instance migration batch this specifies the number of process instances which are migrated per batch execution job.

seedJobDefinitionId
string | null

The job definition id for the seed jobs of this batch.

monitorJobDefinitionId
string | null

The job definition id for the monitor jobs of this batch.

batchJobDefinitionId
string | null

The job definition id for the batch execution jobs of this batch.

tenantId
string | null

The tenant id of the batch.

createUserId
string | null

The batch creator's user id.

startTime
string<date-time> | null

The time the batch was started. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the documentation

executionStartTime
string<date-time> | null

The time the batch execution was started, i.e., at least one batch job has been executed. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the [documentation] (https://docs.camunda.org/manual/7.22/reference/rest/overview/date-format/)

endTime
string<date-time> | null

The time the batch ended. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the documentation

removalTime
string<date-time> | null

The time after which the historic batch should be removed by the History Cleanup job. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the documentation