Prompt Templates
List prompt templates.
List all existing prompt templates.
get/prompt_templates
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
offsetinteger
How many prompt templates to skip before returning.
limitinteger
How many prompt templates to return.
sort_column'name' | 'description' | 'is_default' | 'lang' | 'updated_at' | 'username' | 'user_count'
Sort column.
ascendingboolean
When true, returns sorted by sort_column in ascending order.
template_type'all' | 'user' | 'system'
When set, will be used as a type filter.
filterstring
When set, will be used as a filter on some prompt template columns.
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.