List prompts

Returns prompts for the authenticated user, optionally filtered by flow, search, or model.

Authentication

AuthorizationBearer
API key or Clerk session token

Query parameters

flowIdstringOptional
Filter prompts by flow ID
limitstringOptional

Max results per page (default 50, max 100)

cursorstringOptional
Pagination cursor
directionenumOptional
Pagination direction
Allowed values:
searchstringOptional
Search by name or text
modelstringOptional
Filter by model ID
viewenumOptional

Response representation. full (default) preserves complete values; compact shortens every string value longer than 100 characters to a 100-character preview followed by .

Allowed values:

Response

List of prompts
datalist of objects
filtersAppliedmap from strings to anyOptional
paginationobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error