: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"artefact_type": {
"description": "The artefact type. One of: actionability_judgment, channel_assignment, code_reference, commit, dismissal, note, priority_judgment, related_to, repo_selection, safety_judgment, signal_finding, source_suggestion, suggested_reviewers. Log types accumulate; status types (safety_judgment, actionability_judgment, priority_judgment, repo_selection, suggested_reviewers, channel_assignment, source_suggestion) are latest-wins — appending a new version supersedes the previous one as the report's canonical status.",
"type": "string"
},
"claim_id": {
"description": "Active claim to attribute this work to. Must belong to the caller and report.",
"type": "string"
},
"content": {
"description": "The artefact payload as a JSON object or array, validated against the schema for `artefact_type`. `code_reference`: file_path, start_line, end_line, contents, relevance_note, for a contiguous span of at most 20 source lines (a single line has start_line equal to end_line). `commit`: repository, branch, commit_sha, message, for one commit already pushed to a remote branch. git_signed_commit usually records it for you, so create one only for a commit pushed by other means, and never for an unpushed or local-only commit. `note`: note, free-form, for annotating a report with context; to also steer the scouts use `scout-notes-create` with `report_id`, which records the note on the report too. `priority_judgment`: explanation, priority (P0–P4). `actionability_judgment`: explanation, actionability, already_addressed. `safety_judgment`: choice. `repo_selection`: repository, reason. `suggested_reviewers`: a list of {github_login}. `source_suggestion`: product, reason, for a product the project does not use that would have given this report better evidence; the inbox hides it once the product is in use."
},
"expected_reviewers": {
"description": "Report reviewer_assignment.state read before selection began. Required when reviewer corrections are enabled.",
"properties": {
"corrections_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Current corrections artefact ID, or null before corrections are stored."
},
"reviewers_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Current reviewer artefact ID, or null before the first list."
}
},
"required": ["reviewers_id", "corrections_id"],
"type": "object"
},
"report_id": {
"description": "UUID of the report whose artefacts you're addressing. This must be a report id (the report's own UUID), not a signal id such as `sig_praise` — a non-report id returns 404.",
"type": "string"
},
"reviewer_outcome": {
"description": "A successful selection, a deliberate empty result, or an unavailable lookup. Defaults to selected when omitted.\n\n* `selected` - Selected\n* `no_suitable_owner` - No suitable owner\n* `lookup_failed` - Lookup failed",
"enum": ["selected", "no_suitable_owner", "lookup_failed"],
"type": "string"
},
"reviewer_retry_reason": {
"description": "Reason the reviewer lookup failed.",
"maxLength": 500,
"type": "string"
}
},
"required": ["report_id", "artefact_type", "content"],
"type": "object"
}