List projects being deleted
GEThttps://api.getwerk.ai/api/v1/deleting-projects
The projects the key's person owns that wait to be deleted and can still be restored.
Soonest to go first.
Authorization
AuthorizationheaderRequired
Authorization: Bearer <key> Authentication
Response
200 The projects.
projectsarray of objects
The key's person's projects waiting to be deleted, which can still be restored.
Show properties of projectsHide properties of projects
conversationIdstring, uuid
The id Werk's apps use for the key's person's view of the project.
projectIdstring, uuid
The project's id.
namestring
The project's name.
deleteAtstring, date-time
When the project is gone for good unless it is restored before.
configVersioninteger
The project's settings version, which a restore sends as expectedConfigVersion.
At least 1
Errors
400
invalid_query The query is not in the form the route takes; the limit is in the unit of the input details.field names (characters for a text, entries for a list, the value for a number).401
session_revoked The request carries no session the server holds, or its session has ended.401
session_expired The session has expired.409
session_changed The session changed while the request was in flight.429
rate_limited More requests of this kind were sent than Werk takes within the time it counts them over.500
server_error The server could not complete the request, and it is not known whether a write it holds was made.curl
curl "https://api.getwerk.ai/api/v1/deleting-projects" \
-H "Authorization: Bearer wk_key_..."TypeScript
const res = await fetch("https://api.getwerk.ai/api/v1/deleting-projects", {
headers: {
Authorization: "Bearer wk_key_...",
},
});
const answer = await res.json();200JSON
{
"projects": [
{
"conversationId": "9e3b1c75-4f2a-4d86-b0c9-5a7e2d1f8c36",
"projectId": "2f6c9e41-7a3b-4d58-9c1e-0b8d4f2a6e73",
"name": "Harbor Street kitchen",
"deleteAt": "2026-12-21T14:05:00.000Z",
"configVersion": 7
}
]
}Send a requestGET
It is sent with the key you give, as you. A change made here is real.
JSON
The request could not be sent, or its response could not be read.