v2

latestOpenAPI 3.1.02026-07-26143251806.6 KB
prompt-templates

Get All

get/prompt-templates

Query parameters

pageinteger
per_pageinteger
labelstring

Filter prompt templates by release label (e.g., 'prod', 'dev', 'staging')

namestring

Filter prompt templates by name (case-insensitive partial match)

string
OR
string[]

Filter prompt templates by tags. Can be a single tag or a list of tags. Only templates whose tags contain all specified values are returned.

status'active' | 'deleted' | 'all'

Filter prompt templates by status: 'active' (default) returns only active templates, 'deleted' returns only deleted/archived templates, 'all' returns both

external_sourcestring

External ID source to filter by. Must be provided with external_id.

external_idstring

External ID value to filter by. Must be provided with external_source.

created_by_emailstring

Filter by the creator's email address.

created_afterstring date-time

Filter resources created at or after this timestamp.

created_beforestring date-time

Filter resources created at or before this timestamp.

updated_afterstring date-time

Filter resources updated at or after this timestamp.

updated_beforestring date-time

Filter resources updated at or before this timestamp.

sort_by'created_at' | 'updated_at' | 'name' | 'id'

Sort field.

sort_order'asc' | 'desc'

Sort direction.

is_snippetboolean

When true, return snippets only. When false, exclude snippets. When omitted, return both prompts and snippets.

Response

Successful Response

has_nextboolean required
has_prevboolean required
next_numinteger required
prev_numinteger required
pageinteger required
pagesinteger required
totalinteger required