Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.4 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "config": {
            "anyOf": [
                {
                    "additionalProperties": {},
                    "properties": {},
                    "type": "object"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Optional JSON object with model parameters or any agent configuration (e.g. model, temperature, tools). Versioned with the prompt and returned as-is when fetching it. Don't store secrets here: config is returned to anyone who can read the prompt."
        },
        "name": {
            "description": "Unique prompt name using letters, numbers, hyphens, and underscores only.",
            "maxLength": 255,
            "type": "string"
        },
        "prompt": {
            "description": "Prompt payload as JSON or string data."
        },
        "version_description": {
            "anyOf": [
                {
                    "maxLength": 400,
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Optional note describing what changed in this version. Set when the version is published."
        }
    },
    "required": ["name", "prompt"],
    "type": "object"
}