# Search model versions

Launch stage: GA

`GET /api/2.0/mlflow/model-versions/search`

Searches for specific model versions based on the supplied __filter__.

API scopes: mlflow

## Query parameters

- `filter` (string, optional)
  String filter condition, like "name='my-model-name'". Must be a single boolean condition,
   with string values wrapped in single quotes.
- `max_results` (int64, optional)
  Maximum number of models desired. Max threshold is 10K.
  Default: `10000`
  Constraints: `<= 10000`
- `order_by` (array of string, optional)
  List of columns to be ordered by including model name, version, stage with an
   optional "DESC" or "ASC" annotation, where "ASC" is the default.
   Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by
   version DESC.
- `page_token` (string, optional)
  Pagination token to go to next page based on previous search query.

## Returns

Returns a list of ModelVersion objects.

## Response

```json
{
  "model_versions": [
    {
      "name": "string",
      "version": "string",
      "creation_timestamp": 0,
      "last_updated_timestamp": 0,
      "user_id": "string",
      "current_stage": "string",
      "description": "string",
      "source": "string",
      "run_id": "string",
      "status": "PENDING_REGISTRATION",
      "status_message": "string",
      "tags": [
        {}
      ],
      "run_link": "string"
    }
  ],
  "next_page_token": "string"
}
```

