Get an agent binary download source
Get an agent binary download source by ID.
[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.
Path parameters
-
sourceId
string Required
GET
/api/fleet/agent_download_sources/{sourceId}
curl \
--request GET 'https://localhost:5601/api/fleet/agent_download_sources/{sourceId}' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"item": {
"host": "https://example.com",
"id": "string",
"is_default": false,
"name": "string",
"proxy_id": "string",
"secrets": {
"ssl": {
"key": {
"id": "string"
}
}
},
"ssl": {
"certificate": "string",
"certificate_authorities": [
"string"
],
"key": "string"
}
}
}
Response examples (400)
{
"error": "string",
"errorType": "string",
"message": "string",
"statusCode": 42.0
}