---
title: "OutputOptions configures pagination and sorting"
url: "https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1/schemas/contentsearchOutputOptions"
---

> Full API specification: https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1.md

# OutputOptions configures pagination and sorting

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API QUAL
  version: v1.115.0
servers:
  - url: https://api-qual.migros.ch
components:
  schemas:
    contentsearchOutputOptions:
      properties:
        nextPageFrom:
          format: int64
          title: >-
            Optional. An offset into the elasticsearch response from where news
            should

            be returned, e.g. 6
          type: string
        pageSize:
          description: Optional. The maximum number of items to return in the response.
          format: int64
          type: string
        sortBy:
          description: >-
            Optional. A list of sort parameters to determine the order of the
            results.

            Example: ["updatedAt:desc", "_score:desc"].

            Each entry specifies a field and its sort direction (asc/desc).
          items:
            type: string
          type: array
      title: OutputOptions configures pagination and sorting
      type: object
```
