Delete an assistant.
delete(
self,
assistant_id: str,
*,
delete_threads: bool = False,
headers: Mapping[str, str] | None = None,
params: QueryParamTypes | None = None
) -> Noneclient = get_sync_client(url="http://localhost:2024")
client.assistants.delete(
assistant_id="my_assistant_id"
)| Name | Type | Description |
|---|---|---|
assistant_id* | str | The assistant ID to delete. |
delete_threads | bool | Default: FalseIf true, delete all threads with |
headers | Mapping[str, str] | None | Default: NoneOptional custom headers to include with the request. |
params | QueryParamTypes | None | Default: NoneOptional query parameters to include with the request. |