Beta

Example index

Index of verified Gateway API examples executed by the SOL-47 documentation gate.

Raw

Examples below are the documented API contracts validated by SOL-47 (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