Skip to main content
POST
/
models
/
{model_id}
/
infer-batch
Async Infer (Dataset)
curl --request POST \
  --url https://api.woodwide.ai/models/{model_id}/infer-batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "output_type": "parquet",
  "anomaly_format": "ids_only"
}
'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "model": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_number": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.woodwide.ai/llms.txt

Use this file to discover all available pages before exploring further.

Reference input data by dataset_id (latest ready version) or dataset_version_id. Returns a job_id immediately. Poll GET /jobs/{job_id} until status is succeeded, then fetch results via GET /jobs/{job_id}/results. See Output Formats for output columns by model type.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string<uuid>
required

Body

application/json

Request body for asynchronous dataset inference.

Reference input data by dataset_id (resolves to the latest ready version) or dataset_version_id for reproducibility. Optionally pin a model_version_id.

model_version_id
string<uuid>

Pin a specific model version. If omitted, the latest ready version is used.

dataset_version_id
string<uuid>

Pin a specific dataset version for inference input.

dataset_id
string<uuid>

Dataset to run inference on (uses latest ready version). Provide this OR dataset_version_id.

output_type
enum<string>
default:parquet

Output format: json, csv, or parquet.

Available options:
json,
csv,
parquet
anomaly_format
enum<string>
default:ids_only

Controls anomaly detection output shape. 'ids_only' returns a list of anomalous row indices. 'per_row' returns id, is_anomaly, and anomaly_score for every input row. Ignored for non-anomaly model types.

Available options:
ids_only,
per_row

Response

Successful Response Output format depends on the output_type parameter (json, csv, or parquet). See Output Formats for output columns by model type.

Async inference submission response.

job_id
string<uuid>
required
status
string
required
model
ModelVersionRef · object
required

Model version reference.