Connector
The connector and sync jobs APIs provide a convenient way to create and manage Elastic connectors and sync jobs in an internal index.
Connectors are Elasticsearch integrations for syncing content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure.
This API provides an alternative to relying solely on Kibana UI for connector and sync job management. The API comes with a set of validations and assertions to ensure that the state representation in the internal index remains valid.
This API requires the manage_connector privilege or, for read-only endpoints, the monitor_connector privilege.
Endpoints
29 endpoints
-
GET
Get all connectors
/_connector -
POST
Create a connector
/_connector -
GET
Get all connector sync jobs
/_connector /_sync_job -
POST
Create a connector sync job
/_connector /_sync_job -
GET
Get a connector sync job
/_connector /_sync_job /{connector_sync_job_id} -
DELETE
Delete a connector sync job
/_connector /_sync_job /{connector_sync_job_id} -
PUT
Cancel a connector sync job
/_connector /_sync_job /{connector_sync_job_id} /_cancel -
PUT
Check in a connector sync job
/_connector /_sync_job /{connector_sync_job_id} /_check_in -
PUT
Claim a connector sync job
/_connector /_sync_job /{connector_sync_job_id} /_claim -
PUT
Set a connector sync job error
/_connector /_sync_job /{connector_sync_job_id} /_error -
PUT
Set the connector sync job stats
/_connector /_sync_job /{connector_sync_job_id} /_stats -
GET
Get a connector
/_connector /{connector_id} -
PUT
Create or update a connector
/_connector [/{connector_id}] -
DELETE
Delete a connector
/_connector /{connector_id} -
PUT
Update the connector API key ID
/_connector /{connector_id} /_api_key_id -
PUT
Check in a connector
/_connector /{connector_id} /_check_in -
PUT
Update the connector configuration
/_connector /{connector_id} /_configuration -
PUT
Update the connector error field
/_connector /{connector_id} /_error -
PUT
Update the connector features
/_connector /{connector_id} /_features -
PUT
Update the connector filtering
/_connector /{connector_id} /_filtering -
PUT
Activate the connector draft filter
/_connector /{connector_id} /_filtering /_activate -
PUT
Update the connector draft filtering validation
/_connector /{connector_id} /_filtering /_validation -
PUT
Update the connector index name
/_connector /{connector_id} /_index_name -
PUT
Update the connector name and description
/_connector /{connector_id} /_name -
PUT
Update the connector is_native flag
/_connector /{connector_id} /_native -
PUT
Update the connector pipeline
/_connector /{connector_id} /_pipeline -
PUT
Update the connector scheduling
/_connector /{connector_id} /_scheduling -
PUT
Update the connector service type
/_connector /{connector_id} /_service_type -
PUT
Update the connector status
/_connector /{connector_id} /_status