> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Options

Search options are optional and can be used for safe paging.

### Options

<ParamField path="sort_field" type="string">
  ```json theme={null}
  { "sort_field" : "status" }
  ```

  The "Sort Field" option. Default: "order\_id".
</ParamField>

<ParamField path="sort_dir" type="string">
  ```json theme={null}
  { "sort_dir" : "desc" }
  ```

  The "Sort Direction" option. Allowed: "asc" or "desc". Default: "asc".
</ParamField>

<ParamField path="page" type="integer">
  ```json theme={null}
  { "page" : 5 }
  ```

  The "Page" numeric option. Default: 1.
</ParamField>

<ParamField path="limit" type="integer">
  ```json theme={null}
  { "limit" : 100 }
  ```

  The "Limit" numeric option. Default: 50. Max value: 100.
</ParamField>

<ParamField path="skip_totals" type="integer">
  ```json theme={null}
  { "skip_totals" : 1 }
  ```

  Set to `1` to omit `totalCount` and `numPages` from the response. Since computing totals requires an additional counting query, it is recommended to request totals only on the first page to build pagination and use `skip_totals` for subsequent page requests or when only the data is needed.

  <Note>Currently supported only by [shipment.search](/merchant-api/shipment#shipment-search).</Note>
</ParamField>
