Fleet Automation
List available Datadog Agent versions
Retrieve the list of Datadog Agent versions available for deployment.
Returns 200 with an empty data array if the Agent package exists in the catalog but has no available versions, and 404 only if the Agent package itself is absent from the catalog.
get/api/v2/fleet/agent_versions
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
{
"data": [
{
"attributes": {
"version": "7.81.1"
},
"id": "7.81.1",
"type": "agent_version"
}
],
"meta": {
"page": {
"total_count": 10
}
}
}Changes
Changes to this operation have not been checked yet.