Skip to navigation

Purge a run now

View as Markdown

Deletes a run’s files and outputs immediately, ahead of its TTL.

Anything still in flight is cancelled first. Idempotent: purging an already-purged run still answers 204.

To keep the results instead of destroying them, call POST /v1/runs/{id}/keep. To stop the work but leave the files until expiry, use POST /v1/runs/{id}/cancel.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired>=1 character

Response

Purged.

Errors

404
Not Found Error
429
Too Many Requests Error