Skip to content

Cleanup Old Data

POST
/api/chromadb/cleanup

Remove data older than the retention period from all collections.

CleanupRequest
object
retention_days
Retention Days

Days of data to retain

integer
default: 30 >= 1 <= 365

Successful Response

CleanupResponse
object
status
required
Status
string
details
required
Details
object
key
additional properties
Any of:
integer

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object