gap_purge_topic
Bulk-delete every gap under an exact topic in a single call, sidestepping per-item rate limits. Promoted gaps stay intact; purged gaps are archived for easy cleanup of test namespaces.
Instructions
Soft-delete every gap under an exact topic in ONE call — bulk cleanup of a junk/test namespace without hitting gap_delete's per-call rate limit. Promoted gaps (which point at a landed knowledge atom) are left intact. Archive, not drop: purged gaps are retained (deleted=1), just removed from gap_list. Pass confirm= to proceed. Returns {purged, skipped_promoted, topic}.
Note: gaps are a FLEET-SHARED backlog, not store_scoped — this purges every
app's gaps under the topic, so it's gated on its own gap_purge permission
(not the everyday gap_write) rather than handed out broadly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| app_id | Yes | ||
| confirm | No |