Skip to content

Resolve runtime logging policy target

POST
/api/admin/logging-policies/runtime/resolve
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/logging-policies/runtime/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "tenant_id": "tenant_123", "log_type": "security", "plane": "control" }'

Resolve the effective runtime logging target for a tenant, log type, plane, and optional region.

Media type application/json
object
tenant_id
string
log_type
required
string
plane
required
string
region
string
key
additional properties
Example
{
"tenant_id": "tenant_123",
"log_type": "security",
"plane": "control"
}

Successful JSON response.

Media type application/json
object
item
required
object
key
additional properties
key
additional properties
Example
{
"item": {
"input": {
"tenant_id": "tenant_123",
"log_type": "security",
"plane": "control",
"region": null
},
"resolved": true,
"resolution": {
"destination_id": "dest_123"
},
"target_status": {
"target_type": "r2",
"binding_ref": "AUDIT_ARCHIVE",
"binding_configured": true
}
}
}

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"
}