latestOpenAPI 3.1.02026-08-142887561.0 MB
61436a496404
beta.prompts
ListPrompts
ListPrompts
get/v2/prompts
Query parameters
pageSizeinteger
pageTokenstring
aliasstring
fieldsstring[]
sort.field'list_sort_field_unspecified' | 'list_sort_field_created_at' | 'list_sort_field_last_modified_at' | 'list_sort_field_name' | 'list_sort_field_title'
Defaults to created_at when omitted.
sort.direction'list_sort_direction_unspecified' | 'list_sort_direction_asc' | 'list_sort_direction_desc'
Defaults to descending for timestamp fields and ascending for text fields.
sort_bystring
REST-friendly alias for sort.field. Supported values: created_at, last_modified_at, name, title.
REST-friendly alias for sort.field. Supported values: created_at, last_modified_at, name, title.
sort_directionstring
REST-friendly alias for sort.direction. Supported values: asc, desc.
REST-friendly alias for sort.direction. Supported values: asc, desc.
Response
Success
Example response
{
"data": [
{
"version": 1,
"createdAt": "1s",
"updatedAt": "1s",
"latestVersion": 1
}
]
}