Workflow Overview:
- Authentication
- Establish a secure session by authenticating the user against the API.
- Ensure all subsequent requests include the required security credentials.
- Dataset Upload
- Upload the tabular training data by sending a
POSTrequest to/api/datasets. - Assign a unique and identifiable
dataset_namein the payload to reference this file later.
- Upload the tabular training data by sending a
- Model Training Initiation
- Trigger the training job for your specific task (e.g., prediction, clustering) via a
POSTrequest to/api/models/{task_type}/train. - System Response: The API will immediately return a unique
model_idand an initial status ofPENDING.
- Trigger the training job for your specific task (e.g., prediction, clustering) via a
- Training Status Monitoring
- Monitor the job progress by polling the status endpoint via a
GETrequest to/api/models/{model_id}. - Wait for the
training_statusto transition toCOMPLETEbefore proceeding.
- Monitor the job progress by polling the status endpoint via a
- Inference Execution
- Generate predictions or embeddings by sending a
POSTrequest to/api/models/{task_type}/{model_id}/infer. - Required Inputs: Include the
model_id(from Step 3) and the targetdataset_idof an uploaded dataset (repeat Step 2 to upload a new dataset for inference).
- Generate predictions or embeddings by sending a