H2O.ai Chat API

The Chat API from H2O.ai — 29 operation(s) for chat.

Operations 35

POST /chats Creates chat session #
GET /chats List chat sessions #
GET /chats/count Counts a number of chat sessions #
POST /chats/delete_job Creates job to delete chat sessions #
GET /chats/{session_id} Finds a chat session by id #
DELETE /chats/{session_id} Deletes collection #
PATCH /chats/{session_id} Updates the name of a chat session #
POST /chats/{session_id}/synth_message_pair Insert a synthetic user-question + AI-reply pair into chat history #
POST /chats/{session_id}/fork Forks a chat session #
PUT /chats/{session_id}/collection Updates a collection reference of a chat session #
DELETE /chats/{session_id}/collection Removes a collection reference from the chat session #
PUT /chats/{session_id}/prompt_template Updates a prompt template reference of a chat session #
DELETE /chats/{session_id}/prompt_template Removes a prompt template reference from the chat session #
GET /chats/{session_id}/guardrails Get guardrails settings for a chat session #
GET /chats/{session_id}/agent_server_files Lists agent server files #
DELETE /chats/{session_id}/agent_server_files Deletes agent server files #
DELETE /chats/{session_ids}/agent_server_directories Deletes agent server directories #
GET /chats/{session_id}/agent_server_directories/stats Lists stats of agent server directories #
GET /chats/{session_id}/agent_server_directories/{directory_name}/stats Gets stats of a agent server directory #
POST /chats/{session_id}/completions Get completion #
GET /chats/{session_id}/questions List suggested questions for a given chat session #
GET /chats/{session_id}/messages Fetches chat message and metadata for messages in a chat session #
DELETE /messages/{message_ids} Deletes specific chat messages #
GET /messages/{message_id}/references Fetches metadata for references of a chat message #
GET /messages/{message_id}/meta Fetches chat message meta information #
PUT /messages/{message_id}/votes Changes the vote value of a chat message #
POST /messages/{question_id}/pause Pause a streaming chat response #
POST /messages/{question_id}/resume Resume a paused chat response #
POST /messages/{question_id}/stop Stop a streaming chat response immediately #
POST /messages/{question_id}/finish Signal the LLM to finish its response gracefully #
POST /messages/{question_id}/hitl Send a course correction message to a running agent #
GET /question_answer_feedbacks Lists user's questions and answers that have a feedback #
POST /question_answer_feedbacks/{answer_id} Update feedback for a specific answer to a question #
GET /question_answer_feedbacks/export/{job_id} Download a completed feedback CSV export #
GET /question_answer_feedbacks/count Counts a number of question-answer feedbacks #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/h2o-ai-chat-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

h2o-ai-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: h2oGPTe REST Chat API
  description: '# Overview


    Users can easily interact with the h2oGPTe API through its REST API, allowing HTTP requests from any programming language.'
  version: v1.0.0
servers:
- url: https://h2ogpte.genai.h2o.ai/api/v1
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/h2o-ai/refs/heads/main/openapi/h2o-ai-chat-api-openapi.yml