Prompt Templates
Lists prompt templates, including hidden default templates.
Lists prompt templates, including hidden default templates. Only for users who have the permission to manage prompt templates.
get/prompt_templates/all
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' | 'visible'
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.