curl --request GET \
--url https://api.ctrl-hub.com/v3/audit-events/{audit_event_id} \
--header 'X-Session-Token: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"time": "2023-11-07T05:31:56Z",
"operation": "create",
"resource": {
"type": "<string>",
"id": "<string>",
"name": "<string>"
},
"values": [
{
"field": "<string>",
"before": "<unknown>",
"after": "<unknown>",
"data_type": "string"
}
],
"principal": {
"type": "users",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context": {
"client_ip": "<string>",
"user_agent": "<string>"
}
},
"meta": {
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"organisation": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"slug": "<string>",
"sandbox": true,
"settings": {
"nomenclature": {
"governance": {
"schemes": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
],
"work_orders": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
],
"operations": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
]
}
}
},
"description": "<string>"
},
"meta": {
"v3": true,
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"features": [
{
"name": "<string>",
"enabled": true,
"limit": 123
}
]
},
"relationships": {
"users": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"service_accounts": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"groups": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"teams": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
}
]
}Retrieve a specific audit event by its unique identifier.
curl --request GET \
--url https://api.ctrl-hub.com/v3/audit-events/{audit_event_id} \
--header 'X-Session-Token: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"time": "2023-11-07T05:31:56Z",
"operation": "create",
"resource": {
"type": "<string>",
"id": "<string>",
"name": "<string>"
},
"values": [
{
"field": "<string>",
"before": "<unknown>",
"after": "<unknown>",
"data_type": "string"
}
],
"principal": {
"type": "users",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context": {
"client_ip": "<string>",
"user_agent": "<string>"
}
},
"meta": {
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"organisation": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"slug": "<string>",
"sandbox": true,
"settings": {
"nomenclature": {
"governance": {
"schemes": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
],
"work_orders": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
],
"operations": [
{
"singular": "<string>",
"plural": "<string>",
"language": "<string>"
}
]
}
}
},
"description": "<string>"
},
"meta": {
"v3": true,
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"features": [
{
"name": "<string>",
"enabled": true,
"limit": 123
}
]
},
"relationships": {
"users": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"service_accounts": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"groups": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
},
"teams": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
}
]
}Session token for authentication.
The unique identifier for the audit event.
A comma separated list of related resources to include.
user, organisation