provider llm_prompts GET /api/projects/{project_id}/llm_prompts/resolve/name/{prompt_name}/
@utdk/posthog /api/projects/{project_id}/llm_prompts/resolve/name/{prompt_name}/
llm_prompts_resolve_name_retrieve
before_version query
Return versions older than this version number. Mutually exclusive with offset.
integer
limit query
Maximum number of versions to return per page (1-100).
integer
offset query
Zero-based offset into version history for pagination. Mutually exclusive with before_version.
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
prompt_name path required
string
version query
Specific prompt version to fetch. If omitted, the latest version is returned.
integer
version_id query
Exact prompt version UUID to resolve. Can be used together with version for extra safety.
string

Try it

Authentication
Configure credentials for PostHog API
llmPromptsResolveNameRetrieve
GET/api/projects/{project_id}/llm_prompts/resolve/name/{prompt_name}/

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

required

Return versions older than this version number. Mutually exclusive with offset.

Maximum number of versions to return per page (1-100).

Zero-based offset into version history for pagination. Mutually exclusive with before_version.

Specific prompt version to fetch. If omitted, the latest version is returned.

Exact prompt version UUID to resolve. Can be used together with version for extra safety.

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.llmPromptsResolveNameRetrieve({
  "limit": 50
})