provider llm_prompts GET
/api/environments/{environment_id}/llm_prompts/name/{prompt_name}/ @utdk/posthog
/api/environments/{environment_id}/llm_prompts/name/{prompt_name}/ environments_llm_prompts_name_retrieve
- content query
- Controls how much prompt content is included in the response. 'full' includes the full prompt, 'preview' includes a short prompt_preview, and 'none' omits prompt content entirely. The outline field is always included. * `full` - full * `preview` - preview * `none` - none
- enum: full, preview, none
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- prompt_name path required
- string
- version query
- Specific prompt version to fetch. If omitted, the latest version is returned.
- integer
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsLlmPromptsNameRetrieve({
"content": "full"
})