How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

H2O.ai Prompt Templates API

The Prompt Templates API from H2O.ai — 11 operation(s) for prompt templates.

H2O.ai Prompt Templates API is one of 26 APIs that H2O.ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Prompt Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and a changelog.

This API exposes 19 operations across 11 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version v1.0.0.

Requests are made against a single base URL, https://h2ogpte.genai.h2o.ai/api/v1.

19 operations 11 paths 10 schemas 4 DELETE7 GET1 PATCH2 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1.0.0
Base URL
https://h2ogpte.genai.h2o.ai/api/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

H2O.ai Prompt Templates API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Using an API key generated by H2OGPTe

Paths & Operations 19

Across 11 paths, the API surfaces 19 operations — 4 DELETE, 7 GET, 1 PATCH, 2 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Prompt Templates 19
POST
/prompt_templates
Creates a new prompt template.
create_prompt_template body → 201400401404default
GET
/prompt_templates
List prompt templates.
list_prompt_templates 6 params → 200400401default
GET
/prompt_templates/all
Lists prompt templates, including hidden default templates.
list_all_prompt_templates 6 params → 200400401default
GET
/prompt_templates/count
Counts a number of prompt templates.
get_prompt_template_count → 200400401default
GET
/prompt_templates/default
Returns the default prompt template.
get_default_prompt_template → 200400401default
GET
/prompt_templates/{prompt_template_id}
Finds a prompt template by id.
get_prompt_template 1 param → 200400401404default
PATCH
/prompt_templates/{prompt_template_id}
Updates attributes of a given prompt template.
update_prompt_template 1 param body → 200400401404default
DELETE
/prompt_templates/{prompt_template_id}
Deletes a prompt template.
delete_prompt_template 1 param → 204400401default
GET
/prompt_templates/{prompt_template_id}/permissions
Returns a list of access permissions for a given prompt template.
get_prompt_template_permissions 1 param → 200400401default
PUT
/prompt_templates/{prompt_template_id}/permissions
Resets and shares a prompt template to a new list of users.
reset_and_share_prompt_template 1 param body → 204400401409default
DELETE
/prompt_templates/{prompt_template_id}/permissions
Removes sharing of a prompt template to all other users except the original owner.
unshare_prompt_template_for_all 1 param → 204400401409default
PUT
/prompt_templates/{prompt_template_id}/permissions/{username}
Shares a prompt template to a user.
share_prompt_template 2 params → 204400401409default
DELETE
/prompt_templates/{prompt_template_id}/permissions/{username}
Removes sharing of a prompt template to a user.
unshare_prompt_template 2 params → 204400401409default
GET
/prompt_templates/{prompt_template_id}/group_permissions
Returns a list of group access permissions for a given prompt template.
get_prompt_template_group_permissions 1 param → 200400401500default
PUT
/prompt_templates/{prompt_template_id}/group_permissions
Resets and shares a prompt template to a new list of groups.
reset_and_share_prompt_template_with_groups 1 param body → 204400401409default
PUT
/prompt_templates/{prompt_template_id}/group_permissions/{group_id}
Shares a prompt template with a group.
share_prompt_template_with_group 2 params → 204400401409default
DELETE
/prompt_templates/{prompt_template_id}/group_permissions/{group_id}
Removes access to a prompt template for a group.
unshare_prompt_template_from_group 2 params → 204400401409default
POST
/prompt_templates/{prompt_template_id}/is_public
Updates a flag specifying whether a prompt template is private or public.
update_prompt_template_privacy 1 param body → 204400401409default
PUT
/prompt_templates/{prompt_template_id}/is_visible
Updates a flag specifying whether a default prompt template is visible or hidden to users.
update_default_prompt_template_visibility 1 param body → 204400401409default

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are PromptTemplateBase (18 properties), GroupSharePermission (2 properties), SharePermission (2 properties), EndpointError (2 properties). Each schema is shown below with its type and property counts.

SharePermission
object
2 properties 1 required
ResetAndShareWithGroupsRequest
object
1 property 1 required
PromptTemplateBase
object
18 properties
EndpointError
object
2 properties 2 required
GroupSharePermission
object
2 properties 1 required
PromptTemplateUpdateRequest
PromptTemplate
PromptTemplateCreateRequest
ResetAndShareRequest
object
1 property 1 required
Count
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

h2o-ai-prompt-templates-api-openapi.yml Raw ↑

Other APIs H2O.ai publishes across the network.

h2oGPTe MCP Server
H2O.ai Admin Sessions API
H2O.ai Agents API
H2O.ai AI Assistants API
H2O.ai API Keys API
H2O.ai Chat API
H2O.ai Collections API
H2O.ai Configurations API
H2O.ai Document Ingestion API
H2O.ai Documents API
H2O.ai Extractors API
H2O.ai Forums API
Where this information came from

This is an independent, third-party profile of H2O.ai Prompt Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.