curl --request GET \
--url https://api.swarmd.ai/audit/v1/traces \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"first": true,
"last": true,
"numberOfElements": 123,
"size": 123,
"content": [
{
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"totalDurationMicros": 123,
"stepCount": 123
}
],
"number": 123,
"sort": {
"unsorted": true,
"empty": true,
"sorted": true
},
"pageable": {
"pageSize": 123,
"pageNumber": 123,
"paged": true,
"unpaged": true,
"offset": 123,
"sort": {
"unsorted": true,
"empty": true,
"sorted": true
}
},
"empty": true
}Security Requirements
| Auth Types | Entities | Permissions | Required Roles |
|---|---|---|---|
| USER | AUDIT | READ | AUDIT:READ |
curl --request GET \
--url https://api.swarmd.ai/audit/v1/traces \
--header 'Authorization: Bearer <token>'{
"totalPages": 123,
"totalElements": 123,
"first": true,
"last": true,
"numberOfElements": 123,
"size": 123,
"content": [
{
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"totalDurationMicros": 123,
"stepCount": 123
}
],
"number": 123,
"sort": {
"unsorted": true,
"empty": true,
"sorted": true
},
"pageable": {
"pageSize": 123,
"pageNumber": 123,
"paged": true,
"unpaged": true,
"offset": 123,
"sort": {
"unsorted": true,
"empty": true,
"sorted": true
}
},
"empty": true
}JWT token (USER, AGENT, or SERVICE auth)
COMMUNICATION_AUDIT, VALIDATION_RESULT, X402_PAYMENT_REQUIRED, X402_PAYMENT_SUCCESS, X402_PAYMENT_ATTEMPT, X402_PAYMENT_REJECTED, REGEX_DETECTION, PRESIDIO_DETECTION, COMPREHEND_DETECTION, RATE_LIMIT, SKILL_RESTRICTION, HITL, HITL_GUARD, HITL_RESOLUTION, POLICY_LIFECYCLE REST, JSONRPC, GRPC LOG, MASK, BLOCK, WARN, ERROR Show child attributes