> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-docs-disable-ssh-password-login.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.search_benchmarks

Search for benchmarks.

## Signature

```python theme={null}
VastAI.search_benchmarks(
    query: Optional[Union[str, dict]] = None,
    order: Optional[list] = None,
    limit: Optional[int] = None,
    after_token: Optional[str] = None,
    all_pages: bool = False
) -> list[dict]
```

## Parameters

<ParamField path="query" type="Optional[Union[str, dict]]">
  Search query in simple query syntax (see below)
</ParamField>

<ParamField path="order" type="Optional[list]" />

<ParamField path="limit" type="Optional[int]">
  max results per page; passing this switches to single-page mode instead of fetching everything
</ParamField>

<ParamField path="after_token" type="Optional[str]" />

<ParamField path="all_pages" type="bool" />

## Returns

`list[dict]`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.search_benchmarks()
print(result)
```
