Skip to main content
POST
/
api
/
v1
/
inference-jobs
Create Inference Job
curl --request POST \
  --url https://api.example.com/api/v1/inference-jobs \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "config": {
    "threshold": 0.5,
    "merge_window_ms": 200,
    "min_duration_ms": 50
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "config": {},
  "status": "<string>",
  "total_files": 123,
  "processed_files": 123,
  "failed_files": 123,
  "total_detections": 123,
  "error_message": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Request to create an inference job.

model_id
string<uuid>
required
config
InferenceConfig · object

Configuration for inference job.

Response

Successful Response

Inference job response.

id
string<uuid>
required
tenant_id
string<uuid>
required
model_id
string<uuid>
required
config
Config · object
required
status
string
required
total_files
integer
required
processed_files
integer
required
failed_files
integer
required
total_detections
integer
required
error_message
string | null
required
created_at
string<date-time>
required
started_at
string<date-time> | null
required
completed_at
string<date-time> | null
required