API Reference
Using the Ag.dev API
Retrieve the version history of an agent’s configuration changes
cURL
curl --request GET \ --url https://api.ag.dev/v0.1/agents/{agentId}/revisions \ --header 'X-API-Key: <api-key>'
[ { "id": "<string>", "agentId": "<string>", "createdAt": "2023-11-07T05:31:56Z" } ]
Provide either X-API-Key: or Authorization: Bearer
Agent ID
Maximum number of revisions to return
1 <= x <= 100
Number of revisions to skip for pagination
x >= 0
List of agent revisions
Revision ID
Revision creation timestamp