Skip to main content
POST
Query prompts with search, filtering, and pagination options.

Request Body

Search term to filter prompts by name
string[]
required
Array of tags to filter by. Empty array returns all prompts.
number
required
Page number for pagination (0-indexed)
number
required
Number of results per page

Response

array
Array of prompt objects
string | null
Error message if the request failed, null otherwise

Pagination

Use the page and pageSize parameters to paginate through results:
  • Page 1: page: 0
  • Page 2: page: 1
  • Page 3: page: 2
Recommended pageSize values: 10, 25, 50, or 100

Filtering

Search by Name

The search parameter filters prompts by name (case-insensitive, partial match).

Filter by Tags

The tagsFilter parameter accepts an array of tags:
  • Empty array [] returns all prompts
  • Single tag ["support"] returns prompts with that tag
  • Multiple tags ["support", "customer-service"] returns prompts with any of those tags