| Name | Type | Description |
|---|---|---|
assistant_id* | str | The assistant ID to get versions for. |
metadata | Json | Default: NoneMetadata to filter versions by. Exact match filter for each KV pair. |
limit | int | Default: 10The maximum number of versions to return. |
offset | int | Default: 0 |
headers | Mapping[str, str] | None | Default: None |
params | QueryParamTypes | None | Default: None |
List all versions of an assistant.
client = get_client(url="http://localhost:2024")
assistant_versions = await client.assistants.get_versions(
assistant_id="my_assistant_id"
)The number of versions to skip.
Optional custom headers to include with the request.
Optional query parameters to include with the request.