provider llm_prompts GET /api/environments/{environment_id}/llm_prompts/
@utdk/posthog /api/environments/{environment_id}/llm_prompts/
environments_llm_prompts_list
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
created_by_id query
Filter prompts by the ID of the user who created them.
integer
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
search query
Optional substring filter applied to prompt names and prompt content.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLlmPromptsList
GET/api/environments/{environment_id}/llm_prompts/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

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

Filter prompts by the ID of the user who created them.

Number of results to return per page.

The initial index from which to return the results.

Optional substring filter applied to prompt names and prompt content.

Configure credentials above to enable sending.

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

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsLlmPromptsList({
  "content": "full"
})