Skip to content

Get audit record

GET
/v2/compliance/decisions/{id}

Retrieve a specific audit record by ID.

id
required
string format: uuid

The ID of the audit record to retrieve

Example
82c4fce1-d2c7-48cb-a647-6993dbe37819

The audit record details.

object
id
required

The ID of the policy evaluation

string
82c4fce1-d2c7-48cb-a647-6993dbe37819
request
required

The original request that was evaluated

object
{
"userId": "user123",
"resource": "document.pdf",
"action": "read"
}
reports
required

List of policy reports

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "REPORT",
"why": "Access logged for audit purposes"
}
]
allows
required

List of allowed actions

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "ALLOW",
"why": "User has read permission"
}
]
denies
required

List of denied actions

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "DENY",
"why": "User lacks write permission"
}
]
decision
required

Overall decision of the policy evaluation

boolean
true

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error