h2oGPTe REST API: OpenAPI specification file
Overview
The h2oGPTe OpenAPI specification file outlines the structure and functionality of the h2oGPTe REST API, including endpoints, request and response formats, and authentication requirements.
What you will learn
- How to generate client SDKs (Python, JavaScript, Go) from the spec using the OpenAPI Generator CLI.
- How to configure authentication and data deletion for REST API integrations.
- How to use the OpenAI-compatible REST endpoints with existing OpenAI-based clients.
- How to register and manage custom tools that extend agents with MCP servers, browser actions, or general-purpose code.
Helpful resources
-
OpenAPI specification (YAML) — canonical spec used by SDK generators and tools:
-
Interactive documentation — explore and try REST endpoints with live requests:
How we generated the SDKs
The available SDKs were developed using the OpenAPI Generator CLI, a robust tool designed to create client libraries directly from OpenAPI specifications.