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

# Export a selected sample id list from an export method

`POST /json_block/projects/{projectId}/exportSelection`

## Path parameters

- `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.dev/debiai/apis/debiai-dataprovider-backend-api.md) · [All operations](https://skmtc.dev/debiai/apis/debiai-dataprovider-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/debiai/debiai-dataprovider-backend-api/revisions/cc4807410cb3/schema)
