---
title: "Export candidate tasks to project"
method: PATCH
path: "/api/datasets/import"
tags: ["Datasets"]
---

# Export candidate tasks to project

`PATCH /api/datasets/import`

Export Candidate task for a specific dataset to project.

## Query parameters

- `job_id` integer
- `signal` string

## Request body

- PatchedDatasetImportCandidatesPatchRequest
  - `job_id` integer
  - `signal` string — Operation type.

## Response `200`

- DatasetImportCandidatesResponse
  - `detail` string
  - `job` integer
  - `project_tasks` integer
  - `skipped` integer
  - `total` integer

## Changes

> 97 revisions in range; 1 not diffed.

- **2026-08-07** `e1ba2ecdbabb` — 1 breaking, 4 info
  - the `signal` request property's minLength was increased from `0` to `1`
  - added the media type `application/x-www-form-urlencoded` to the request body
  - added the media type `multipart/form-data` to the request body
  - the request property `job_id` became optional
  - …1 more
- **2026-07-08** `93493def8bb7` — 2 info
  - added optional request body
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/datasets/import/patch.md)

---

[API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.dev/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/b589624c66c3/schema)
