provider llm_skills POST /api/projects/{project_id}/llm_skills/name/{skill_name}/files/
@utdk/posthog /api/projects/{project_id}/llm_skills/name/{skill_name}/files/
llm_skills_name_files_create
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
skill_name path required
string

Try it

Authentication
Configure credentials for PostHog API
llmSkillsNameFilesCreate
POST/api/projects/{project_id}/llm_skills/name/{skill_name}/files/

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

Input

required

File path relative to skill root, e.g. 'scripts/setup.sh' or 'references/guide.md'.

required

Text content of the file.

MIME type of the file content.

Latest version you are editing from. If provided, the request fails with 409 when another write has landed in the meantime.

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.llmSkillsNameFilesCreate({
  "content_type": "text/plain"
})