Lists job executions.

GET {{baseUrl}}/jobExecutions?compartmentId=<string>&id=<string>&jobId=<string>&managedDatabaseId=<string>&managedDatabaseGroupId=<string>&status=<string>&name=<string>&limit=10&page=<string>&sortBy=TIMECREATED&sortOrder=ASC&jobRunId=<string>

Gets the job execution for a specific ID or the list of job executions for a job, job run, Managed Database or Managed Database Group in a specific compartment. Only one of the parameters, ID, jobId, jobRunId, managedDatabaseId or managedDatabaseGroupId should be provided. If none of these parameters is provided, all the job executions in the compartment are listed. Job executions can also be filtered based on the name and status parameters.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment.
idstringThe identifier of the resource.
jobIdstringThe identifier of the job.
managedDatabaseIdstringThe OCID of the Managed Database.
managedDatabaseGroupIdstringThe OCID of the Managed Database Group.
statusstringThe status of the job execution.
namestringA filter to return only resources that match the entire name.
limitnumberThe maximum number of records returned in the paginated response.
pagestringThe page token representing the page from where the next set of paginated results
are retrieved. This is usually retrieved from a previous list call.
sortBystringThe field to sort information by. Only one sortOrder can be used. The default sort order
for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
The ‘NAME’ sort order is case-sensitive.
sortOrderstringThe option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order.
jobRunIdstringThe identifier of the job run.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseName&quot;:&quot;\u003cstring\u003e&quot;,&quot;jobId&quot;:&quot;\u003cstring\u003e&quot;,&quot;jobName&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;databaseSubType&quot;:&quot;NON_CDB&quot;,&quot;databaseType&quot;:&quot;SHARED&quot;,&quot;deploymentType&quot;:&quot;BM&quot;,&quot;isCluster&quot;:&quot;\u003cboolean\u003e&quot;,&quot;managedDatabaseGroupId&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCompleted&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;workloadType&quot;:&quot;AJD&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseName&quot;:&quot;\u003cstring\u003e&quot;,&quot;jobId&quot;:&quot;\u003cstring\u003e&quot;,&quot;jobName&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;databaseSubType&quot;:&quot;PDB&quot;,&quot;databaseType&quot;:&quot;SHARED&quot;,&quot;deploymentType&quot;:&quot;VM&quot;,&quot;isCluster&quot;:&quot;\u003cboolean\u003e&quot;,&quot;managedDatabaseGroupId&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCompleted&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;workloadType&quot;:&quot;OLTP&quot;}]}