---
title: "Auto-annotate AA sequences with matching features from specified Feature Libraries"
method: POST
path: "/aa-sequences:auto-annotate"
tags: ["aaSequences"]
---

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

`POST /aa-sequences:auto-annotate`

## Request

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

Auto-annotate AA sequences with matching features from specified Feature Libraries

## Request body

- AutoAnnotateAaSequences
  - `aaSequenceIds` string[], required: Array of AA 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)
