Skip to content

Delete Thread

client.checkpoints.deleteThread(CheckpointDeleteThreadParams { thread_id } body, RequestOptionsoptions?): void
POST/checkpoints/delete-thread

Delete Thread

ParametersExpand Collapse
body: CheckpointDeleteThreadParams { thread_id }
thread_id: string

Delete Thread

import Agentex from 'agentex';

const client = new Agentex({
  apiKey: process.env['AGENTEX_SDK_API_KEY'], // This is the default and can be omitted
});

await client.checkpoints.deleteThread({ thread_id: 'thread_id' });
Returns Examples