DevelopersHow to connect an assistantKeys
Reference/Projects/Read

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

400invalid_queryThe 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).
401session_revokedThe request carries no session the server holds, or its session has ended.
401session_expiredThe session has expired.
409session_changedThe session changed while the request was in flight.
rate_limitedMore requests of this kind were sent than Werk takes within the time it counts them over.
500server_errorThe 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
    }
  ]
}