Delete an AI project
DELETE/ai/projects/:project_id
Starts deleting an AI project in the background. You must be an owner of the project. The project status is set to deleting and the work is queued. A 200 means deletion was accepted, not that it has finished — poll GET /ai/projects/{project_id} until it returns 404. If background deletion fails, status becomes delete-failed and Message holds the error. The original call still returned 200. Deletion removes the project's data, chats, comments, avatar, guard-rail link, and access entries. Notes are detached from the project but not deleted. Linked knowledge bases and agents are unlinked, not deleted. Calling this again after the project is gone returns 400.
Request
Responses
- 200
- 400
- 500
Deletion was accepted and is running in the background. The project is not gone yet; ProjectStatus is deleting.
Response Headers
The request was invalid, you do not have permission, or deletion could not be started. The body is {"Message": " -
Response Headers
An unexpected server error. The body is typically {"Message": "GE-1008 - Could not complete the request. Please try again."}.