Listing a Provider’s Prompts
To programmatically surface all prompts stored beneath a specific provider abstraction via your automation workflows, query the sub-routedGET endpoint.
Using REST API
The API Endpoint
GET /providers/{providerId}/prompts
(Note: Replace {providerId} with the 11-character hash ID of your targeted provider).
Fetching the Collection
Transmitting an authenticatedGET command to this route returns a ListProviderPromptsResponse populated with a prompts array.
Example Request
id of the prompt itself, its semantic name, the expected arguments allowing LLMs to parameterize it dynamically, and the actual template array inside messages.