---
title: "Daypart Search"
method: GET
path: "/daypart"
tags: ["dayPart"]
---

# Daypart Search

`GET /daypart`

Search dayparts

## Query parameters

- `dayPartId` integer
- `name` string
- `embed` string
- `sortBy` 'dayPartId' | 'name' | 'startTime' | 'endTime' | 'description'
- `sortDir` 'asc' | 'desc'

## Response `200`

successful operation

- DayPart[]
  - `dayPartId` integer — The ID of this Daypart
  - `isAlways` integer — A readonly flag determining whether this DayPart is always
  - `isCustom` integer — A readonly flag determining whether this DayPart is custom

## Changes

- **2026-07-30** `fe497e811c7f` — 2 info
  - added the new optional `query` request parameter `sortBy`
  - added the new optional `query` request parameter `sortDir`
- **2026-02-25** `41c04de98ec5` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2020-02-17** `8e1275395104` — 1 breaking
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/xibosignage/apis/xibo-api/changes/daypart/get.md)

---

[API](https://skmtc.dev/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.dev/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/revisions/9136e3c2cb1d/schema)
