Why periodic deletion is recommended
- Reduce accumulated stored result volume over time
- Keep your own retained dataset focused on active investigations
- Minimize stale search data that is no longer useful to your workflow
- Make lifecycle ownership explicit in client applications
Delete completed searches
UsePOST /search/delete to remove one or more searches that belong to the authenticated API key.
Request rules
- Send between
1and100search IDs per request - Every search ID must belong to the authenticated API key
- Every search must already be in a terminal state
- Searches still
pendingorprocessingare rejected - Deletion is all-or-nothing for the full request
Response behavior
Successful deletion requests return202 Accepted.
This means the deletion has been accepted for asynchronous processing. Your application should treat the request as background work rather than an immediate hard delete confirmation.
Recommended client pattern
- Create and monitor the search normally
- Fetch the final data your system needs
- Persist only the fields you want to keep in your own system
- Periodically call
POST /search/deletefor completed searches you no longer need in Osintly