Unfile threads from folder
DELETE
Removes one or more threads from a folder and returns a per-thread outcome list without archiving or deleting the threads.
bearerAuthheader
AuthorizationBearer <token>An API key created in Capy under Settings → API.
folderId*stringapplication/json- body
threadIds*array<string>FileThreadsResult
application/json- response
outcomes*array<>curl -X DELETE "https://api.capy.ai/api/v1/folders/{folderId}/threads" \ -H "Authorization: Bearer $CAPY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"threadIds":[]}'{ "outcomes": [ { "threadId": "string", "outcome": "ok" } ]}