Beta
Quickstart
Open the Model Workspace, call the Gateway (Preview, invited access), and confirm fail-closed auth behavior.
On this page
This quickstart reaches a first success on the Model Workspace and Gateway, which are in Preview: usable by invited or gated users, with no public sign-up on this site. It does not claim general availability or payment collection.
1. Open the Model Workspace
Sign in and open the Model Workspace (canonical console routes include / and /console). Select a project — project scope is the authorization boundary.
2. Create a Gateway API key
Create a project-scoped key in Gateway API Keys. Treat it like a secret.
3. Discover models (no key)
curl -sS https://your-project.ethen.dev/api/gateway/v1/models4. Route a chat completion
curl -X POST https://your-project.ethen.dev/api/gateway/v1/chat/completions \
-H "Authorization: Bearer $ETHEN_GATEWAY_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [{"role": "user", "content": "Say hello in one sentence."}]
}'Use a model that has a current price record and certification path when billing accuracy matters. Without a key, the same request must fail closed with JSON 401/403.
5. Response fields
| Field | Meaning |
|---|---|
id | Completion id |
model | Model that served the request |
choices | Assistant message(s) |
usage | Token counts |
ethen | Trace / provider metadata |