---
title: "OutputOptions configures pagination and sorting"
url: "https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034/schemas/contentsearchOutputOptions"
---

> Full API specification: https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034.md

# OutputOptions configures pagination and sorting

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API PROD
  version: v1.114.1
servers:
  - url: https://api.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
```
