---
title: "add a selection"
method: POST
path: "/data-providers/{dataProviderId}/projects/{projectId}/selections/"
tags: ["Selection"]
---

# add a selection

`POST /data-providers/{dataProviderId}/projects/{projectId}/selections/`

## Path parameters

- `dataProviderId` string, required
- `projectId` string, required

## Request body

- object
  - `sampleHashList` string[], required — List of the selection sample id (hash)
  - `selectionName` string, required

## Response `200`

selection added, return the selection

---

[API](https://skmtc.net/debiai/apis/debiai-backend-api.md) · [All operations](https://skmtc.net/debiai/apis/debiai-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debiai/debiai-backend-api/versions/c53e3bf3be9b/schema)
