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

# Get cloud connectors

Availability:

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

## Paths

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

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/authentication#apikeyauth)

## Description

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

List all Fleet cloud connectors.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.

## Query String Parameters

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

## Responses

#### `200`

Successful response

`application/json`

- `items` ([] object · max: 10000)
  - `accountType` (string)
  - `cloudProvider` (string)
  - `created_at` (string)
  - `iac_blueprint_id` (string · min: 1 · max: 255) — nullable
    Identifier of the template source last used for this connector. Set to null to remove it.
  - `iac_blueprint_version` (string · min: 1 · max: 64) — nullable
    Version of the template source last used for this connector. Set to null to remove it.
  - `iac_deployment_id` (string · min: 1 · max: 2048)
    ARN of the last CloudFormation stack deployed for this connector (`arn:<partition>:cloudformation:<region>:<account>:stack/<name>/<id>`).
  - `iac_key` (string · min: 1 · max: 512) — nullable
    Checksum of the CloudFormation template last saved on this connector. Set to null to remove it.
  - `iac_upgrade_checked_at` (string)
    When this connector was last checked for a CloudFormation template upgrade.
  - `iac_upgrade_status` (enum)
    Whether a newer CloudFormation template is available for this connector.
    Values: `up_to_date`, `upgrade_available`
  - `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 /api/fleet/cloud_connectors
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/fleet/cloud_connectors"
```

## 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",
      "iac_blueprint_id": "federated-identity",
      "iac_blueprint_version": "1.0.0",
      "iac_deployment_id": "arn:aws:cloudformation:us-east-1:123456789012:stack/elastic-aws-connector/abc",
      "iac_key": "sha256:661cb7def1c7101f",
      "iac_upgrade_checked_at": "2024-01-15T10:00:00.000Z",
      "iac_upgrade_status": "up_to_date",
      "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
}
```

