Skip to content

Preview dangerous message job repair

POST
/api/admin/logging-policies/message-job-repair-findings/{id}/dangerous/preview
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/logging-policies/message-job-repair-findings/example/dangerous/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Returns the exact dangerous repair confirmation and affected export artifacts without mutating state.

id
required
string
Media type application/json
object
key
additional properties
Example
{}

Successful JSON response.

Media type application/json
object
item
required
object
key
additional properties
key
additional properties
Example
{
"item": {
"action": "mark_export_failed_and_cleanup_manifest",
"finding_id": "lrf_123",
"export_job_id": "lexp_123",
"confirmation": "APPLY DANGEROUS REPAIR lrf_123",
"impact": {
"deletes_objects": [
"r2://exports/part-1.jsonl"
],
"updates": [
"logging_export_jobs",
"logging_message_export_builds",
"logging_message_repair_findings"
]
}
}
}

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