REST API
Complete REST API reference for integrating with any language or platform.
Base URL
https://api.1.ml/v1Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYEndpoints
GET
/modelsList all models in your account
POST
/models/:id/predictRun inference on a deployed model
POST
/training/startStart a new training job
DELETE
/models/:idDelete a model
Example Request
curl -X POST https://api.1.ml/v1/models/my-model/predict \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": [1.0, 2.0, 3.0]}'