New

The executive guide to generative AI

Read more

Get all connectors API

edit

Retrieves all connectors.

Request

edit

GET <kibana host>:<port>/api/actions/connectors

GET <kibana host>:<port>/s/<space_id>/api/actions/connectors

Path parameters

edit
space_id
(Optional, string) An identifier for the space. If space_id is not provided in the URL, the default space is used.

Response code

edit
200
Indicates a successful call.

Example

edit
$ curl -X GET api/actions/connectors

The API returns the following:

[
  {
    "id": "preconfigured-mail-connector",
    "connector_type_id": ".email",
    "name": "email: preconfigured-mail-connector",
    "is_preconfigured": true,
    "referenced_by_count": 0 
  },
  {
    "id": "c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad",
    "connector_type_id": ".index",
    "name": "my-connector",
    "config": {
      "index": "test-index",
      "refresh": false,
      "executionTimeField": null
    },
    "is_preconfigured": false,
    "is_missing_secrets": false,
    "referenced_by_count": 3
  }
]

referenced_by_count - The number of saved-objects referencing this connector. This value is not calculated if is_preconfigured: true.

Was this helpful?
Feedback