List audit evidence associated with one Agent Grant.
GET
/api/admin/agent-grants/{id}/audit
Code sample: Shell / cURL
curl --request GET \ --url 'https://auth.example.com/api/admin/agent-grants/example/audit?limit=100' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Agent Grant identifier.
Query Parameters
Section titled “Query Parameters ” limit
integer
Responses
Section titled “ Responses ”Grant audit events in reverse chronological order.
Media type application/json
object
events
required
Array<object>
object
id
required
string
action
required
string
result
required
string
severity
required
string
actor_type
required
string | null
actor_sub
required
string | null
metadata
required
object
key
additional properties
created_at
required
integer format: int64
Example generated
{ "events": [ { "id": "example", "action": "example", "result": "example", "severity": "example", "actor_type": "example", "actor_sub": "example", "metadata": { "additionalProperty": "example" }, "created_at": 1 } ]}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}