Count assistants matching filters.
count(
self,
*,
metadata: Json = None,
graph_id: str | None = None,
name: str | None = None,
headers: Mapping[str, str] | None = None,
params: QueryParamTypes | None = None
) -> int| Name | Type | Description |
|---|---|---|
metadata | Json | Default: NoneMetadata to filter by. Exact match for each key/value. |
graph_id | str | None | Default: NoneOptional graph id to filter by. |
name | str | None | Default: NoneOptional name to filter by. The filtering logic will match assistants where 'name' is a substring (case insensitive) of the assistant name. |
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. |