Ask a question to get started
Enter to send•Shift+Enter new line
set_latest( self, assistant_id: str, version: int, *, headers: Mapping[
assistant_id
str
The assistant ID to delete.
version
int
The version to change to.
headers
Mapping[str, str] | None
None
Change the version of an assistant.
client = get_sync_client(url="http://localhost:2024") new_version_assistant = client.assistants.set_latest( assistant_id="my_assistant_id", version=3 )
Optional custom headers to include with the request.