---
type: api
title: List agent binary download sources
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-get-download-sources
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-get-download-sources
products:
  - Kibana
---

# List agent binary download sources

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

## Paths

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

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

## Description

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

## Responses

#### `200`

OK

`application/json`

- `items` ([] object)
  - `host` (string)
  - `id` (string)
  - `is_default` (boolean)
  - `name` (string)
  - `proxy_id` (string) — nullable
    The ID of the proxy to use for this download source. See the proxies API for more information.
- `page` (integer)
- `perPage` (integer)
- `total` (integer)
#### `400`

Generic Error

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (number)
## Code Examples

#### Console

```console
GET /api/fleet/agent_download_sources
```

#### curl

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

