Prompts
List Prompts
List all prompts in your workspace or within a specific feature.
Discover how to list your prompts. You can retrieve all prompts in your workspace or filter them by feature.
List all prompts
You can list all prompts in your workspace with a single line of code.
List prompts in a specific feature
You can retrieve prompts from a specific feature by providing the feature slug.
Returned data
When you list prompts, the SDK returns an array of prompt metadata objects.
Example response
Response example
Error handling
Discover how to properly handle errors coming from the SDK and/or the API by checking the Error Handling documentation