Skip to main content
POST
/
ml
/
projects
/
{id}
/
models
/
{modelId}
/
start-canary
Start Canary Test
curl --request POST \
  --url https://acusight.io/api/ml/projects/{id}/models/{modelId}/start-canary \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "device_ids": [
    123
  ],
  "percentage": 123
}
'
{
  "data": "<unknown>",
  "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

modelId
integer
required

Model Version ID

Body

application/json

Canary configuration

device_ids
integer[]

Specific device IDs (alternative to percentage)

percentage
integer

% of devices for canary (e.g., 10)

Response

501 - application/json

Not yet implemented

data
any
error
object
meta
object
success
boolean