provider AI Configs GET
/api/v2/projects/{projectKey}/ai-configs/prompt-snippets @utdk/launchdarkly
/api/v2/projects/{projectKey}/ai-configs/prompt-snippets List prompt snippets
Get a list of all prompt snippets in the given project.
- projectKey path required
- string
- limit query
- The number of resources to return.
- integer
- offset query
- Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
- integer
- filter query
- A filter to apply to the list.
- string
Try it
Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.listpromptsnippets()