getting started
Introduction
Understudy is a gateway for your LLM traffic: a drop-in replacement for the Anthropic and OpenAI API endpoints that captures your requests, lets you scope them into projects and workloads, and shifts slices of traffic onto smaller managed models — without changing your application code.
What the gateway does
You point your SDK's base URL at https://api.understudylabs.com and authenticate with an Understudy sk_* key. From that one change you get:
- Passthrough. Requests forward to the provider your code already calls — your Anthropic or OpenAI account, your keys, same wire format, same responses.
- Capture. Each request/response pair can be recorded as evidence — the raw material for evals and fine-tuning data, scoped to the workload it came from.
- Routing. Any workload can route a percentage of its traffic to a model Understudy serves from managed supply, and roll back to passthrough instantly.
- Managed models. Catalog models are callable directly by id with only your Understudy key — no provider account needed.
Two surfaces
The data plane is the gateway at api.understudylabs.com — it proxies your model traffic and is what these API docs describe. The control plane is the dashboard at app.understudylabs.com — keys, projects, workloads, capture inspection, and routing controls. Everything the dashboard does is also reachable programmatically through the admin API that backs it.
Where to go next
Getting started
Tutorials
Concepts
Guides
Gateway API
Control plane API