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

Response

List of prompts
datalist of objects
filtersAppliedmap from strings to any
paginationobject

Errors

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