Hadrian is experimental alpha software. Do not use in production.
Hadrian

API Reference

OpenAI-compatible API documentation with interactive examples

Hadrian Gateway provides an OpenAI-compatible API with extensions for multi-provider support and multi-tenancy.

Base URL

http://localhost:8080

Authentication

The gateway supports API key and JWT authentication. See the Authentication page for details on authenticating API requests.

Public API (OpenAI-Compatible)

These endpoints follow the OpenAI API specification and work with existing OpenAI client libraries.

Admin API

RESTful endpoints for managing multi-tenant configuration. All admin endpoints require authentication.

Interactive Documentation

The gateway also provides interactive API documentation at runtime:

  • Scalar UI: /api/docs - Interactive API explorer
  • OpenAPI Spec: /api/openapi.json - Machine-readable specification

On this page