---
title: "✨ Get available subsets of a project (for prompts usage)"
method: GET
path: "/api/projects/{project_pk}/subsets"
tags: ["Projects"]
---

# ✨ Get available subsets of a project (for prompts usage)

`GET /api/projects/{project_pk}/subsets`

<Card href="https://humansignal.com/goenterprise">
        <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
        <p style="margin-top: 10px; font-size: 14px;">
            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
        </p>
    </Card>

        Provides list of available subsets for a project along with count of tasks in each subset

## Path parameters

- `project_pk` integer, required

## Query parameters

- `ordering` string

## Response `200`

- ProjectSubsetItem[]
  - `columns_schema` object[]
  - `count` integer, required
  - `subset` string, required

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
