---
title: "Get available sorting options"
method: GET
path: "/v1/collection/sorting-options"
tags: ["Collection"]
---

# Get available sorting options

`GET /v1/collection/sorting-options`

Returns list of available sorting options with default value

## Response `200`

Sorting options retrieved successfully

- SortingOptionsResponseDto
  - `options` SortingOptionDto[], required — List of available sorting options
    - `id` 'newest_first' | 'oldest_first', required
    - `label` string, required — Display label for the sorting option
    - `queryValue` string, required — Query parameter value to use
  - `default` 'newest_first' | 'oldest_first', required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
