GET /api/v1/cloud/agents/{agent_id}/versions
Returns the version history of the specified Agent, sorted by version number in descending order (newest first).
Headers
Path parameters
Query parameters
See Pagination for cursor semantics.
Example request
Example response
HTTP 200 OKResponse fields
Version history
- Creating an Agent stores version 1.
- Every successful update stores the next version.
- Each version stores the full Agent snapshot at that point in time.
- Useful for auditing changes or reference during rollback.
Errors
See Errors for the full error envelope.
Notes
- For this endpoint,
first_idandlast_idare the version numbers as strings (such as"1","2"). - Versions are sorted in descending order by default (latest first).
- Archiving an Agent does not create a new version snapshot.
- Combine with the OCC mechanism on
POST /api/v1/cloud/agents/{agent_id}to track configuration changes.
Related
Agent setup
Create a reusable, versioned agent configuration.