---
title: "Request Interactive Annotation"
method: POST
path: "/api/ml/{id}/interactive-annotating"
tags: ["Machine Learning"]
---

# Request Interactive Annotation

`POST /api/ml/{id}/interactive-annotating`

Send a request to the machine learning backend set up to be used for interactive preannotations to retrieve a
        predicted region based on annotator input. 
        See [set up machine learning](https://labelstud.io/guide/ml.html#Get-interactive-preannotations) for more.

## Path parameters

- `id` integer, required

## Request body

- MLInteractiveAnnotatingRequestRequest — Serializer for ML interactive annotating request.
  - `context` unknown
  - `task` integer, required — ID of task to annotate

## Response `200`

Interactive annotation has succeeded.

---

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