Returns a paginated list of all saved versions for a specific agent, including a field-level diff and change_summary for each version relative to the previous one. Requires the agent:version:read permission.
| Field | Type | Description |
|---|---|---|
| versions | array | List of version entries for this agent |
| current_version_number | integer | The version_id of the currently active version |
| meta.total | integer | Total number of versions |
| meta.page | integer | Current page number |
| meta.per_page | integer | Number of items per page |
| version_id | integer | Unique sequential identifier for this version |
| published_by | string | Email of the user who saved this version |
| published_at | string (ISO8601) | Timestamp when this version was created |
| rollback_from_version | integer | null | If this version was created by a rollback, the source version_id; otherwise null |
| change_summary | string | Comma-separated list of field names that changed relative to the previous version. Empty string when nothing changed |
| diff | object | array | Field-level diff vs. the previous version. Each key contains previous_version and current_version. Returns an empty array [] when there are no changes |