---
title: "List live ad breaks"
method: GET
path: "/v2/sites/{site_id}/live/{media_id}/ad_breaks/"
tags: ["ssai"]
---

# List live ad breaks

`GET /v2/sites/{site_id}/live/{media_id}/ad_breaks/`

List all live ad breaks for a media

## Path parameters

- `site_id` string, required — Unique identifier for a resource
- `media_id` string, required — Unique identifier for a resource

## Query parameters

- `page` integer
- `page_length` integer
- `from` string — lower bound of the time range
- `to` string — upper bound of the time range

## Response `200`

Request to list live ad breaks successful

- AdBreakResourcesRead
  - `page` integer — Offset for returned resources
  - `page_length` integer — Maximum number of resources to return
  - `total` integer — Number of resources available before pagination
  - `ad_breaks` AdBreakResourceRead[] — Array of all ad_breaks for a media
    - `schema` string
    - `id` string — Unique identifier for a resource
    - `created` string — Date and time at which the resource was created
    - `last_modified` string — Date and time at which the resource was most recently modified
    - `type` string — Name of the type of resource.
    - `relationships` object — Ancilliary resources associated to the primary resource being read
    - `metadata` object, required
      - `start_time` string — Date and time for when the ad should start
      - `duration` number — Duration of the ad break in seconds

## Other responses

- `404` — Not Found The requested asset could not be found.

---

[API](https://skmtc.net/jwplayer/apis/management-api-v2.md) · [All operations](https://skmtc.net/jwplayer/apis/management-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jwplayer/management-api-v2/revisions/180db7cada27/schema)
