curl --location --request GET 'https://snakk-backend-production.up.railway.app/api/agents//versions/' \
--header 'X-API-Key: <api-key>'{
"version": {
"id": "uuid",
"version_number": 3,
"config_snapshot": {
"name": "My Agent",
"instructions": "System prompt at this version...",
"voice": "marin",
"greeting_message": "Hello!"
},
"tools_snapshot": [
{
"name": "checkOrder",
"type": "webhook",
"webhook_url": "https://..."
}
],
"created_at": "2024-01-10T14:00:00Z",
"change_type": "updated"
}
}