Skip to navigation

Purge old result records

View as MarkdownOpen in Claude

Remove result records older than max_age seconds. Does not remove output files; use /files/purge for those.

Query parameters

max_agedoubleOptionalDefaults to 14400
Maximum age of result records to keep, in seconds.
purge_runningbooleanOptionalDefaults to false
Whether to also clear records still marked as running.

Response

Result records purged.
sizeinteger
Total size of the removed files in bytes.
file_idslist of stringsOptional
List of file or request IDs that were deleted.