Cancel Batch
batches.cancel(strbatch_id) -> object
/v1/messages/batches/{batch_id}/cancel
Cancel a batch run.
Parameters
batch_id: str
Returns
object
Cancel Batch
from letta_client import Letta
client = Letta(
api_key="My API Key",
)
response = client.batches.cancel(
"batch_id",
)
print(response)
{}Returns Examples
{}