RetentionPreviewCandidates
Fields
Per-class candidate counts a purge WOULD delete right now.
16 fields
ai_history_versions- integer
analysis_cache_entries- integer or null
audit_rows· required- integer
compliance_packs_expired· required- integer
event_archive_rows· required- integer
evidence_artifact_rows- integer
export_archives_expired- integer
memory_entries_expired- integer
minio_objects· required- integer
mongo_docs- object
revoked_share_links- integer
runs· required- integer
search_index_documents- integer or null
search_usage_rows- integer
shadow_pairs_unlabelled- integer
test_cases· required- integer
Raw schema (JSON)
{
"description": "Per-class candidate counts a purge WOULD delete right now.\n\n**Every class ``run_purge`` counts must have a field here.** FastAPI\nfilters the handler's return through this model, so a class the service\ncounts but the model omits is dropped from the response *silently* — no\nerror, no warning, just a smaller object.\n\nThat happened: the service computed twelve counts and this model declared\neight, so ``evidence_artifact_rows``, ``analysis_cache_entries``,\n``memory_entries_expired`` and ``search_index_documents`` never reached\nthe operator. The preview is what an ADMIN authorises an irreversible\ncross-store purge from, so under-reporting it is not cosmetic — four\ncategories of data were deleted by execute without ever appearing in the\ndry run.",
"properties": {
"ai_history_versions": {
"default": 0,
"title": "Ai History Versions",
"type": "integer"
},
"analysis_cache_entries": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Analysis Cache Entries"
},
"audit_rows": {
"title": "Audit Rows",
"type": "integer"
},
"compliance_packs_expired": {
"title": "Compliance Packs Expired",
"type": "integer"
},
"event_archive_rows": {
"title": "Event Archive Rows",
"type": "integer"
},
"evidence_artifact_rows": {
"default": 0,
"title": "Evidence Artifact Rows",
"type": "integer"
},
"export_archives_expired": {
"default": 0,
"title": "Export Archives Expired",
"type": "integer"
},
"memory_entries_expired": {
"default": 0,
"title": "Memory Entries Expired",
"type": "integer"
},
"minio_objects": {
"title": "Minio Objects",
"type": "integer"
},
"mongo_docs": {
"additionalProperties": {
"type": "integer"
},
"title": "Mongo Docs",
"type": "object"
},
"revoked_share_links": {
"default": 0,
"title": "Revoked Share Links",
"type": "integer"
},
"runs": {
"title": "Runs",
"type": "integer"
},
"search_index_documents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Search Index Documents"
},
"search_usage_rows": {
"default": 0,
"title": "Search Usage Rows",
"type": "integer"
},
"shadow_pairs_unlabelled": {
"default": 0,
"title": "Shadow Pairs Unlabelled",
"type": "integer"
},
"test_cases": {
"title": "Test Cases",
"type": "integer"
}
},
"required": [
"runs",
"test_cases",
"minio_objects",
"event_archive_rows",
"audit_rows",
"compliance_packs_expired"
],
"title": "RetentionPreviewCandidates",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/projects/{project_id}/retention-policy/preview— Preview Retention Purge
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON