Delete a conversation
Permanently deletes a conversation and cascades teardown of its backing app surfaces, sandbox resources, messages, and related records. Scoped to the caller’s workspace and conversations they participate in. By default the conversation’s delivered artifacts are detached and kept (still downloadable by their existing links); passing delete_artifacts=true permanently deletes those artifacts instead. Returns the conversation id along with counts of apps destroyed and artifacts deleted versus kept. Returns 404 if not found.
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Path Parameters
Conversation id
Query Parameters
true also permanently deletes the conversation's delivered
artifacts (blobs + rows). Default false - keep them (detach).
Response
Conversation deleted (cascade)
x >= 0Delivered artifacts whose Trove blobs + rows were deleted (when the caller asked to delete them).
x >= 0Delivered artifacts detached (conversation_id -> NULL) and kept
in Trove - the default. They survive the conversation, still
downloadable by their existing /v1/api/artifacts/{id}/download
link, just no longer tied to a (now-deleted) conversation.
x >= 0