---
type: api
title: Get cloud connector
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-cloudconnectorid
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-fleet-cloud-connectors-cloudconnectorid
products:
  - Kibana
---

# Get cloud connector

Availability: Experimental since 9.2

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

## Paths

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

#### Path parameters

- `cloudConnectorId` (string) — required
  The unique identifier of the cloud connector.

## Description

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

Get a cloud connector by ID.

## 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>`

## Responses

#### `200`

Successful response

`application/json`

- `item` (object)
  - `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/CLOUD_CONNECTOR_ID
```

#### curl

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

## Response examples

#### Get cloud connector

A Fleet cloud connector

```json
{
  "item": {
    "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
}
```

