---
title: "Get a single smartplaylist"
method: GET
path: "/smartlists/{smartlist_id}"
tags: ["Playlists"]
---

# Get a single smartplaylist

`GET /smartlists/{smartlist_id}`

This returns a single smartlist

## Path parameters

- `smartlist_id` string, required

## Response `200`

Playlist response

- PlaylistObject
  - `id` string, required
  - `name` string, nullable, required
  - `owner` string, nullable, required
  - `user` UserSummaryObject, required
    - `id` string, required
    - `username` string, nullable, required
  - `items` union, required — The expanded song list when songs are included, otherwise the total song count. Playlists are song lists here: a playlist may physically hold other media types, but this method reports only songs so that real playlists and song smartlists share one shape.
    - object[]
      - `id` string, required
      - `playlisttrack` integer, required
    - integer
  - `type` string, nullable, required
  - `art` string, nullable, required
  - `has_access` boolean, required
  - `has_collaborate` boolean, required
  - `has_art` boolean, required
  - `flag` boolean, required
  - `rating` integer, nullable, required
  - `averagerating` number, nullable, required
  - `md5` string, nullable, required
  - `last_update` integer, nullable, required
  - `time` integer, required
  - `playlist_folder_id` string
  - `playlist_folder_sort_order` integer

## Other responses

- `400` — HTTP 400 Bad Request (errors 4705, 4710).
- `401` — HTTP 401 Unauthorized (error 4701).
- `403` — HTTP 403 Forbidden (errors 4700, 4703, 4742).
- `404` — HTTP 404 Not Found (error 4704).
- `500` — HTTP 500 Internal Server Error (error 4702).

---

[API](https://skmtc.net/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.net/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/535feee32afb/schema)
