Path parameters
- connector_sync_job_id
string Required The unique identifier of the connector sync job.
BodyRequired
- deleted_document_count
number Required The number of documents the sync job deleted.
- indexed_document_count
number Required The number of documents the sync job indexed.
- indexed_document_volume
number Required The total size of the data (in MiB) the sync job indexed.
- last_seen
string A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value. - metadata
object - total_document_count
number The total number of documents in the target index after the sync job finished.
PUT /_connector/_sync_job/{connector_sync_job_id}/_stats
curl \
--request PUT 'http://api.example.com/_connector/_sync_job/{connector_sync_job_id}/_stats' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"deleted_document_count":42.0,"indexed_document_count":42.0,"indexed_document_volume":42.0,"last_seen":"string","metadata":{"additionalProperty1":{},"additionalProperty2":{}},"total_document_count":42.0}'