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

# Get proxies

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

## Paths

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

## Description

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

List all Fleet proxies.

## Required authorization

- Privileges: `fleet-settings-read`

## Authentication

- Api key: `Authorization: <value>`
  You must create an API key and use the encoded value in the request header. To learn about creating keys, go to [API keys](https://www.elastic.co/docs/current/serverless/api-keys).

## Responses

#### `200`

Successful response

`application/json`

- `items` (object[] · max items: 10000)
  - `certificate` (string) — nullable
  - `certificate_authorities` (string) — nullable
  - `certificate_key` (string) — nullable
  - `id` (string)
  - `is_preconfigured` (boolean · default: false)
  - `name` (string)
  - `proxy_headers` (map string to boolean | number | string) — nullable
  - `url` (string)
- `page` (number)
- `perPage` (number)
- `total` (number)
#### `400`

Bad Request

`application/json`

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

#### Console

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

#### curl

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

## Response examples

#### Get fleet proxies

List of Fleet proxies

```json
{
  "items": [
    {
      "id": "proxy-id-1",
      "is_preconfigured": false,
      "name": "My proxy",
      "url": "http://proxy.example.com:3128"
    }
  ],
  "page": 1,
  "perPage": 20,
  "total": 1
}
```

#### Generic error response

Example of a generic error response

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

