Skip to main content
Delete a job or project when you no longer need its checkpoints. The Baseten CLI doesn’t delete jobs or projects: delete with the Training API or the dashboard, then confirm with baseten train job list. To remove a single checkpoint and keep its job, give it a short expiry instead.

Delete a job

Deleting a job permanently deletes all its undeployed checkpoints, with no archival or recovery option. If the job is still running, Baseten stops it first. Deleting doesn’t touch checkpoints you’ve already deployed.
To delete a job:The curl examples authenticate with BASETEN_API_KEY. Export your API key first.Send a request to Delete a training job, replacing <project_id> and <job_id> with the project and job IDs:
The response’s deleted field is true, and its id is the job you deleted.
To confirm the deletion, list the project’s jobs:
The job no longer appears in the table.

Delete a project

Deleting a project permanently deletes the following, with no archival or recovery option:Deleting a project doesn’t touch checkpoints you’ve already deployed.
To delete a project:Send a request to Delete a training project, replacing <project_id> with the project ID:
The response’s deleted field is true, and its id is the project you deleted.
To confirm the deletion, list your training projects:
The project no longer appears in the table.

Next steps