---
title: "Export a selected sample id list from an export method"
method: POST
path: "/data-providers/{dataProviderId}/projects/{projectId}/exportSelection"
tags: ["Export"]
---

# Export a selected sample id list from an export method

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

## Path parameters

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

## Request body

- object
  - `sampleHashList` string[], required — List of the selected sample id (hash)
  - `selectionName` string, required
  - `exportMethodId` string, required
  - `annotationValue` string — Any value set by the user

## Response `200`

Selection exported

---

[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)
