provider AI Configs GET /api/v2/projects/{projectKey}/ai-configs/prompt-snippets/{snippetKey}/versions
@utdk/launchdarkly /api/v2/projects/{projectKey}/ai-configs/prompt-snippets/{snippetKey}/versions
List prompt snippet versions
Get all versions of a prompt snippet in the given project, ordered by version descending.
projectKey path required
string
snippetKey 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

Try it

Authentication
Configure credentials for LaunchDarkly REST API
listpromptsnippetversions
GET/api/v2/projects/{projectKey}/ai-configs/prompt-snippets/{snippetKey}/versions
Get all versions of a prompt snippet in the given project, ordered by version descending.

Parameters

required
required

The number of resources to return.

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`.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.listpromptsnippetversions()