Jan 5, 2024
Troubleshoot
API Reference
Reference for all of Leora's API calls
API Reference
Endpoint | Method | Description | Required Scopes | Status Codes |
| POST | Create a new datastore and ingest client data |
| 201, 400, 409 |
| GET | Retrieve metadata and current status for a datastore |
| 200, 401, 404 |
| DELETE | Delete a datastore and all associated models and data |
| 204, 401, 404 |
| POST | Initiate fine‑tuning of the Leora base model on your data |
| 202, 400, 404 |
| GET | Poll status, progress, and evaluation metrics of a training job |
| 200, 401, 404 |
| GET | Retrieve top‑K personalized recommendations for a known user |
| 200, 400, 401 |
| GET | Retrieve top‑K recommendations based on a session activity |
| 200, 400, 401 |