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.5 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "after": {
            "description": "Only return events after this ISO8601 timestamp",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "type": "string"
        },
        "event_types": {
            "description": "Comma-separated list of event types to include",
            "minLength": 1,
            "type": "string"
        },
        "exclude_types": {
            "description": "Comma-separated list of event types to exclude",
            "minLength": 1,
            "type": "string"
        },
        "id": {
            "type": "string"
        },
        "limit": {
            "default": 100,
            "description": "Maximum number of entries to return (default 100, max 5000)",
            "maximum": 5000,
            "minimum": 1,
            "type": "number"
        },
        "offset": {
            "default": 0,
            "description": "Zero-based offset into the filtered log entries",
            "minimum": 0,
            "type": "number"
        },
        "task_id": {
            "type": "string"
        }
    },
    "required": ["id", "task_id"],
    "type": "object"
}