← Back to schema index

ValidationPurgeExecuteResponse

Response of `POST /v1/validations/{id}/purge/execute`: the validation is now purged and this is what was deleted.

Properties

FieldTypeDescription
data*object

JSON:API resource of the deletion. Its id is the validation's.

type*string

Resource type, fixed for this operation. Part of its identity in the JSON:API envelope. Always validation_purge.

id*string (uuid)

Identifier of the purged validation.

attributes*object

Result of the deletion.

purged_at*string (date-time)

Date and time, in ISO 8601 UTC, when the validation was purged.

file_removal*string

State of the file deletion — complete: The files no longer exist; pending: A file could not be deleted at this moment and the daily sweep finishes it. The database content is already deleted in both cases and the file is not served.

deleted*object

What was deleted. The counters count rows touched; the booleans say whether there was something to delete.

imageboolean

true when there was a receipt file.

cep_pdfboolean

true when there was a CEP PDF.

retry_cycle_cancelledboolean

true when the deletion closed a retry cycle that was still open.

retry_attemptsinteger

Retry attempts deleted.

probe_attemptsinteger

Candidate-account probes deleted.

webhook_deliveriesinteger

Webhook deliveries whose sent body and receiver response were removed.

notification_deliveriesinteger

Notification deliveries whose content was emptied.

notificationsinteger

Inbox notifications that were deleted.

idempotency_responsesinteger

Stored Idempotency-Key responses that were deleted.

import_rowsinteger

Bulk-import rows whose content was emptied.

audit_log_rowsinteger

Audit rows whose bodies were removed. Missing when that sweep could not complete.

security_events_rowsinteger

Security events whose context was redacted. Missing when that sweep could not complete.

trace_eventsinteger

Trace events of the validation that were deleted.

exchange_summariesinteger

Exchange summaries of the validation that were deleted.

residual_checkobject

Zero-residual-rows check after the purge (internal traceability plan §8.4.6): how many trace rows, exchange-summary rows, and audit log bodies still mention the validation. After a correct purge, all three are 0. Missing when the check could not complete.

trace_eventsinteger

Trace events that still mention the validation.

exchange_summariesinteger

Exchange summaries that still mention the validation.

audit_log_bodiesinteger

Audit log bodies that still mention the validation.

Used in operations

  • POST /v1/validations/{id}/purge/execute