Skip to content
Beta

Example index

Index of verified Gateway API examples checked by the automated documentation test.

On this page
  1. Gateway discovery
  2. Gateway invoke
  3. Notes

Examples below are the documented API contracts checked by the automated documentation test (lib/docs/truth-bound/api-examples.ts).

Gateway discovery

ExamplePageContract
GET modelsGateway overview, Gateway quickstartPublic 200 JSON
GET providersGateway overviewPublic 200 JSON, no secrets

Gateway invoke

ExamplePageContract
POST chat completionsGateway quickstart, QuickstartAPI key required; unauthenticated → JSON 401/403
POST chat completions (stream)Gateway quickstartSame fail-closed auth

Notes

  • Placeholders use *** for secrets.
  • Model id openai/gpt-4o-mini is used because it has a current price record in the versioned registry.
  • Live upstream success requires configured provider credentials and may incur external provider cost.
  • Payment collection is implemented in code but is not live-certified or production-ready on Ethen in this release.
Last verified 2026-07-27 · Owner docs-platform