curl --request GET \
--url https://agentgate.mynewapi.com/api/v1/audit/runs/{runId}/snapshots \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"items": [
{
"id": "<string>",
"workOrderId": "<string>",
"runId": "<string>",
"iteration": 123,
"snapshotAt": "<string>",
"configHash": "<string>",
"config": {}
}
],
"total": 123
}
}Get configuration snapshots for a run
curl --request GET \
--url https://agentgate.mynewapi.com/api/v1/audit/runs/{runId}/snapshots \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"items": [
{
"id": "<string>",
"workOrderId": "<string>",
"runId": "<string>",
"iteration": 123,
"snapshotAt": "<string>",
"configHash": "<string>",
"config": {}
}
],
"total": 123
}
}curl "https://agentgate.mynewapi.com/api/v1/audit/runs/run_abc123/snapshots?iteration=2" \
-H "Authorization: Bearer YOUR_API_KEY"
Show properties
{
"success": true,
"data": {
"items": [
{
"id": "snap_001",
"workOrderId": "wo_xyz789",
"runId": "run_abc123",
"iteration": 0,
"snapshotAt": "2024-01-15T10:30:00.000Z",
"configHash": "sha256:abc123...",
"config": {
"loopStrategy": {
"mode": "hybrid",
"maxIterations": 10
},
"verification": {
"skipLevels": []
},
"gitOps": {
"mode": "github-pr"
},
"executionLimits": {
"maxWallClockSeconds": 3600
}
}
},
{
"id": "snap_002",
"workOrderId": "wo_xyz789",
"runId": "run_abc123",
"iteration": 1,
"snapshotAt": "2024-01-15T10:45:00.000Z",
"configHash": "sha256:abc123...",
"config": {
"loopStrategy": {
"mode": "hybrid",
"maxIterations": 10
},
"verification": {
"skipLevels": []
},
"gitOps": {
"mode": "github-pr"
},
"executionLimits": {
"maxWallClockSeconds": 3600
}
}
}
],
"total": 2
},
"requestId": "req_abc123"
}