---
title: "Auto-annotate DNA sequences with matching features from specified Feature Libraries"
method: POST
path: "/dna-sequences:auto-annotate"
tags: ["dnaSequences"]
---

# Auto-annotate DNA sequences with matching features from specified Feature Libraries

`POST /dna-sequences:auto-annotate`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/dna-sequences:auto-annotate`
- Auth: HTTP bearer

Auto-annotate DNA sequences with matching features from specified Feature Libraries. Limit of 2000 DNA Sequences per request.

## Request body

- AutoAnnotateDnaSequences
  - `dnaSequenceIds` string[], required: Array of DNA sequence IDs.
  - `featureLibraryIds` string[], required: Array of feature library IDs.

## Response `202`

This endpoint launches a [long-running task](https://docs.benchling.com/docs/api/v2/benchling-api/tasks/get-task) and returns the Task ID of the launched task.
When successful, the task has an empty response.

- AsyncTaskLink
  - `taskId` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
