API & Agent Access

Automate training, evaluation, and data prep via API.
Works with Claude Code, custom scripts, and LLM agents.

Setup (do this first)
2 Add credits
3 Generate API key
For Agents

Machine-readable specs

OpenAPI Spec Skills File
For Humans

Interactive explorers

Swagger UI ReDoc
Quick Test

Check your balance:

curl -H "Authorization: Bearer YOUR_API_KEY" \ https://studio.trelis.com/api/v1/billing/balance