Back to Home

REST API

Complete REST API reference for integrating with any language or platform.

Base URL

https://api.1.ml/v1

Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

GET/models

List all models in your account

POST/models/:id/predict

Run inference on a deployed model

POST/training/start

Start a new training job

DELETE/models/:id

Delete 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]}'