Skip to main content
POST
/
ml
/
projects
/
{id}
/
auto-annotate
Auto-annotate images
curl --request POST \
  --url https://acusight.io/api/ml/projects/{id}/auto-annotate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "batch_id": 123,
  "model_version_id": 123,
  "apply_annotations": true,
  "confidence_threshold": 0.5
}
'
{
  "data": {},
  "error": {
    "code": "<string>",
    "details": "<string>",
    "message": "<string>"
  },
  "meta": {
    "count": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "success": true
}

Authorizations

Authorization
string
header
required

JWT access token. Paste the token only; the Bearer prefix is added automatically.

Path Parameters

id
integer
required

Project ID

Body

application/json

Auto-annotate payload

batch_id
integer
required
model_version_id
integer
required
apply_annotations
boolean

If true, write back to data service

confidence_threshold
number
Required range: 0 <= x <= 1

Response

Auto-annotation job queued

data
object
error
object
meta
object
success
boolean