Skip to content

When the purge last ran, and whether that is recent enough

GET
/v1/admin/purge
curl --request GET \
--url https://beta-api.plune.ai/v1/admin/purge \
--header 'Authorization: Bearer <token>'

For the schedule to read back after sweeping, not for a screen. stale is true when the last sweep is over 48 hours old OR none has ever run — a deployment that has never purged is exactly the state worth an alarm.

The last sweep

Media type application/json
object
lastPurgeAt
required
string format: date-time
nullable
stale
required
boolean
Example generated
{
"lastPurgeAt": "2026-04-15T12:00:00Z",
"stale": true
}

No / invalid token or session

The caller does not own the application

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}