Workflow Overview
- Authentication
- Establish a secure session by authenticating against the API.
- Include your API key in the
Authorizationheader asBearer <YOUR_API_KEY>.
- Dataset Upload
- Upload tabular training data by sending a
POSTrequest to/api/datasets. - System Response: Returns a
dataset_idwhich you will use for training.
- Upload tabular training data by sending a
- Model Training Initiation
- Trigger a training job via a
POSTrequest to/api/models/train. - Provide the
model_name,model_type(e.g.,prediction),dataset_id, andlabel_columnin the JSON payload. - System Response: Returns a unique
model_idand an initial status ofprocessing.
- Trigger a training job via a
- Training Status Monitoring
- Monitor job progress by polling the model details via a
GETrequest to/api/models/{model_id}. - Wait for the
statusto transition toreadybefore proceeding.
- Monitor job progress by polling the model details via a
- Inference Execution
- Synchronous: Send a
POSTrequest to/api/models/{model_id}/inferwith a multipart file upload. Returns results immediately. - Batch: Send a
POSTrequest to/api/models/{model_id}/infer-batchwith adataset_idreference. Runs asynchronously.
- Synchronous: Send a