Skip to main content
List available ML models, manage integrations, run predictions, and retrieve results.
Models in Avala are pre-configured machine learning models (e.g., object detection, segmentation) that can generate predictions on your dataset items. Each model has one or more integrations that connect it to a provider endpoint. Predictions are created by initiating a run against an integration.

List Models

Returns all available ML models, ordered by most recent first.

Parameters

Request

Response

Fields


List Integrations

Returns all active integrations (provider configurations) for a specific model.

Parameters

Request

Response

Integration Fields


Create Prediction Run

Initiates a prediction run against a model integration. You can run predictions on an entire dataset or a subset of items. Predictions are processed asynchronously.

Parameters

The request body is an array of objects, each specifying a dataset and optionally specific items:

Request

Response


List Runs

Returns all prediction runs for the authenticated user, ordered by most recent first.

Parameters

Request

Response

Run Fields


Get Run

Returns the details of a specific prediction run.

Parameters

Request

Response

Same format as individual items in List Runs.

List Predictions

Returns prediction results for a specific run, grouped by dataset and dataset item.

Parameters

Request

Response

Prediction Fields

Each node in predictions.nodes contains:

Run Statuses


Error Responses

Validation Error (400)

Returned when the request body contains invalid UIDs or the dataset items do not belong to the specified dataset.

Unauthorized (401)

Returned when the X-Avala-Api-Key header is missing or contains an invalid key.

Permission Denied (403)

Returned when the authenticated user does not have access to the requested model or integration.

Not Found (404)

Returned when the specified model, integration, or run UID does not exist.