Query Audit Events
GET
https://sandbox-api.truthlocks.com/v1/auditAuth requiredReturns audit events for the authenticated tenant. Filter by actor, action, resource type, or time range.
Query Parameters
actor_idstringFilter by user or API key ID
actionstringFilter by action (e.g., attestation.mint)
resource_typestringFilter by resource type (attestation, issuer, user)
fromdatetimeStart of time range (ISO 8601)
todatetimeEnd of time range (ISO 8601)
limitintegerMax events to return (default 50)
Defaults to 50
Responses
{
"items": [
{
"id": "evt_abc123",
"tenant_id": "440e8400-e29b-41d4-a716-446655440000",
"actor_id": "user-uuid",
"actor_type": "USER",
"action": "attestation.mint",
"resource_type": "attestation",
"resource_id": "660e8400-e29b-41d4-a716-446655440001",
"metadata": {
"issuer_id": "550e8400-e29b-41d4-a716-446655440000",
"claim": "email_verified"
},
"timestamp": "2026-01-13T12:00:00Z"
}
],
"next_cursor": "eyJsYXN0X2lkIjoiZXZ0X2FiYzEyMyJ9"
}GET
/v1/auditLanguage
CredentialsHEADER
Authorization
Response
Click Try It! to send a real request, or view sample responses: