For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
thread:delete
Mutation
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Soft-delete a thread, removing it from the inbox while keeping it recoverable.
thread:deletemutation deleteThread($input: DeleteThreadInput!) {
deleteThread(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}
{
"input": {
"threadId": "th_01H8H46YPB2S4MAJM382FG9423"
}
}
Was this page helpful?
