← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/java/models/AdminPurgeJobsRequest.md
1.04 KB · Oct 2, 2026 · 00:24 UTC
<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 --> # AdminPurgeJobsRequest Prefer `builder()` to the canonical record constructor. Builder-based call sites remain source-compatible when optional fields are added in later SDK versions. - `olderThan` (`String`): ISO-8601 timestamp cutoff; only terminal jobs older than this instant are eligible. - `statuses` (`java.util.List<PurgeableBackgroundJobStatus>`): Optional terminal background job statuses to target for purging. If omitted, all terminal statuses are eligible. Canonical values are BACKGROUND_JOB_SUCCEEDED, BACKGROUND_JOB_FAILED, and BACKGROUND_JOB_CANCELED. Short aliases SUCCEEDED, FAILED, and CANCELED are also accepted for compatibility. - `dryRun` (`Boolean`): If true, report purge counts without deleting any rows. - `limit` (`Integer`): Maximum number of jobs to purge in this request. Must be >= 0; 0 means no limit. [Java](../../java.md) Related types — open only those used by your request: - [PurgeableBackgroundJobStatus](PurgeableBackgroundJobStatus.md)
SHA-256: 6d02a71e2fe967dd88fb08ec76769b2766646cff19aeb7f60bb77d56685ad959