---
type: api
title: Get cloud connectors
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-fleet-cloud-connectors
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-fleet-cloud-connectors
products:
  - Kibana
---

# Get cloud connectors

Availability: Experimental since 9.2

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/fleet/cloud_connectors`
- `GET` `/s/{space_id}/api/fleet/cloud_connectors`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

List all Fleet cloud connectors.

## Required authorization

- Privileges: `fleet-agent-policies-read` or `integrations-read`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `page` (string) — optional
  The page number for pagination.
- `perPage` (string) — optional
  The number of items per page.
- `kuery` (string) — optional
  KQL query to filter cloud connectors.

## Responses

#### `200`

Successful response

`application/json`

- `items` (object[] · max items: 10000)
  - `accountType` (string)
  - `cloudProvider` (string)
  - `created_at` (string)
  - `id` (string)
  - `name` (string)
  - `namespace` (string)
  - `packagePolicyCount` (number)
  - `updated_at` (string)
  - `vars` (map string to object)
  - `verification_failed_at` (string)
  - `verification_started_at` (string)
  - `verification_status` (string)
#### `400`

Bad Request

`application/json`

- `attributes` (object)
- `error` (string)
- `errorType` (string)
- `message` (string)
- `statusCode` (number)
## Code examples

#### Console

```console
GET kbn:/api/fleet/cloud_connectors
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/fleet/cloud_connectors" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Get cloud connectors

List of Fleet cloud connectors

```json
{
  "items": [
    {
      "accountType": "single-account",
      "cloudProvider": "aws",
      "created_at": "2024-01-15T10:00:00.000Z",
      "id": "cloud-connector-id-1",
      "name": "My AWS connector",
      "packagePolicyCount": 2,
      "updated_at": "2024-01-15T10:00:00.000Z",
      "vars": {}
    }
  ]
}
```

#### Generic error response

Example of a generic error response

```json
{
  "error": "Bad Request",
  "message": "An error message describing what went wrong",
  "statusCode": 400
}
```

