Get all connector sync jobs Beta; Added in 8.12.0
Get information about all stored connector sync jobs listed by their creation date in ascending order.
Query parameters
-
Starting offset (default: 0)
-
Specifies a max number of results to get
-
A sync job status to fetch connector sync jobs for
Values are
canceling
,canceled
,completed
,error
,in_progress
,pending
, orsuspended
. -
A connector id to fetch connector sync jobs for
-
A comma-separated list of job types to fetch the sync jobs for
Supported values include:
full
,incremental
,access_control
Values are
full
,incremental
, oraccess_control
.
GET /_connector/_sync_job
Console
GET _connector/_sync_job?connector_id=my-connector-id&size=1
resp = client.connector.sync_job_list( connector_id="my-connector-id", size="1", )
const response = await client.connector.syncJobList({ connector_id: "my-connector-id", size: 1, });
response = client.connector.sync_job_list( connector_id: "my-connector-id", size: "1" )
$resp = $client->connector()->syncJobList([ "connector_id" => "my-connector-id", "size" => "1", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_connector/_sync_job?connector_id=my-connector-id&size=1"