PostHog · Schema

LLMSkillFileCreate

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
path string File path relative to skill root, e.g. 'scripts/setup.sh' or 'references/guide.md'.
content string Text content of the file.
content_type string MIME type of the file content.
base_version integer Latest version you are editing from. If provided, the request fails with 409 when another write has landed in the meantime.
View JSON Schema on GitHub

JSON Schema

posthog-llmskillfilecreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LLMSkillFileCreate",
  "title": "LLMSkillFileCreate",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "File path relative to skill root, e.g. 'scripts/setup.sh' or 'references/guide.md'.",
      "maxLength": 500
    },
    "content": {
      "type": "string",
      "description": "Text content of the file."
    },
    "content_type": {
      "type": "string",
      "default": "text/plain",
      "description": "MIME type of the file content.",
      "maxLength": 100
    },
    "base_version": {
      "type": "integer",
      "minimum": 1,
      "description": "Latest version you are editing from. If provided, the request fails with 409 when another write has landed in the meantime."
    }
  },
  "required": [
    "content",
    "path"
  ]
}