Browse through all your prompts to see what you’re using across your AI applications. Returns all prompts by default (both active and inactive versions), or filter by product or version to narrow down the results.
Filtering & Pagination:
productId to see prompts for a specific productversionId to see a specific versionlimit + cursor) or page-based (page + pageSize)Link header for easy pagination navigationNote: This returns lightweight data with just component IDs. Use GET /prompts/:id to fetch the full prompt content.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page size limit (cursor-based pagination). Use either limit/cursor OR page/pageSize, not both.
x <= 100Page number (page-based pagination). Use either page/pageSize OR limit/cursor, not both.
x >= 1Number of items per page (page-based pagination). Use either page/pageSize OR limit/cursor, not both.
1 <= x <= 30Include archived prompts.
Filter prompts by specific version ID.
Filter prompts by product ID.
Filter to only show prompts that are part of active versions. When true, only returns prompts associated with versions where isActive=true.
Prompts retrieved successfully. Check the Link header for pagination URLs (first, prev, next).
The Greenflash prompt ID.
Your external identifier for the prompt.
Prompt name.
The version ID this prompt is associated with, or null if the prompt is not part of any version.
The product ID this prompt is associated with.
ISO 8601 timestamp when archived, or null if active.
ISO 8601 timestamp when created.
ISO 8601 timestamp when last updated.
Array of prompt component IDs that make up this prompt.