# Upgrade Guide

> 

## Upgrade from v1 to v2

<warning>

There is one breaking change in v2: the search request body must now be wrapped in a `search` key.

</warning>

Wrap the entire search body in a `search` key on every `POST .../search` call:

<code-group>

```json [Before]
{
  "filters": [
    { "field": "id", "operator": ">", "value": 1 }
  ]
}
```

```json [After]
{
  "search": {
    "filters": [
      { "field": "id", "operator": ">", "value": 1 }
    ]
  }
}
```

</code-group>
