Event catalog
Every event shares the same envelope; data varies by event type.
Envelope
- Name
id- Type
- string
- Description
Event id (
evt_...). Stable across retries and replays of the same event — use it for deduplication.
- Name
type- Type
- string
- Description
The event type, e.g.
automation.run.completed.
- Name
createdAt- Type
- string
- Description
ISO 8601 timestamp of when the event was created.
- Name
data- Type
- object
- Description
Event-specific payload, documented per event below.
automation.run.completed
An automation-triggered agent run finished successfully.
- Name
agentId- Type
- string
- Description
Id of the agent run.
- Name
title- Type
- string | null
- Description
Run title, when one was set.
- Name
status- Type
- string
- Description
Always
completedfor this event.
- Name
summary- Type
- string | null
- Description
Short text summary of what the run did, found, or changed. Falls back to truncated final-message text when summary generation is unavailable.
- Name
imageUrl- Type
- string | null
- Description
Reserved for a public URL of the last image the run produced. Currently always
null; treat any future non-null value as optional enrichment.
- Name
chatUrl- Type
- string
- Description
Permalink to the chat in the Vuon app.
- Name
automationKey- Type
- string
- Description
Key of the automation that triggered the run.
- Name
triggerRuleId- Type
- string | null
- Description
Id of the trigger rule that started the run, when applicable.
- Name
completedAt- Type
- string
- Description
ISO 8601 timestamp of when the run reached its terminal status.
- Name
failureReason- Type
- null
- Description
Always
nullfor completed runs.
Sample payload
{
"id": "evt_5c9b2f4a1e8d3b6a0f7c4d2e9a",
"type": "automation.run.completed",
"createdAt": "2026-07-10T14:22:31.000Z",
"data": {
"agentId": "4f6f8f2a-1b6e-4c7e-9c2d-8f3a5b1c9d0e",
"title": "Daily revenue digest",
"status": "completed",
"summary": "Revenue for July 9 was $128,450, up 4.2% day-over-day. Top mover: enterprise plan upgrades (+$9,800).",
"imageUrl": null,
"chatUrl": "https://acme.vuon.ai/chat/a-4f6f8f2a-1b6e-4c7e-9c2d-8f3a5b1c9d0e",
"automationKey": "daily-revenue-digest",
"triggerRuleId": "trig_rule_01H9X4Z8QK",
"completedAt": "2026-07-10T14:22:31.000Z",
"failureReason": null
}
}
automation.run.failed
An automation-triggered agent run failed or was stopped before completing. The data object has the same shape as automation.run.completed, with these differences:
statusisfailedorstopped.failureReasoncarries a human-readable description of what went wrong (may benullfor stopped runs).summaryandimageUrlare alwaysnull.
Sample payload
{
"id": "evt_9a1d4c7e2b5f8a3c6d0e9b4f7c",
"type": "automation.run.failed",
"createdAt": "2026-07-10T14:22:31.000Z",
"data": {
"agentId": "4f6f8f2a-1b6e-4c7e-9c2d-8f3a5b1c9d0e",
"title": "Daily revenue digest",
"status": "failed",
"summary": null,
"imageUrl": null,
"chatUrl": "https://acme.vuon.ai/chat/a-4f6f8f2a-1b6e-4c7e-9c2d-8f3a5b1c9d0e",
"automationKey": "daily-revenue-digest",
"triggerRuleId": "trig_rule_01H9X4Z8QK",
"completedAt": "2026-07-10T14:22:31.000Z",
"failureReason": "Warehouse query timed out after 3 attempts"
}
}
Query checks events
The four Query checks events share an issue object and carry data.version, currently 1. A change a receiver could trip on gets a new version; new optional fields may be added to version 1. Only query_check.autofix.handoff_requested carries query text or values from your warehouse.
- Name
issue.id- Type
- string
- Description
Id of the issue.
- Name
issue.key- Type
- string
- Description
The issue as people say it, e.g.
SQL-1F.
- Name
issue.title- Type
- string
- Description
The checker's title for the issue.
- Name
issue.level- Type
- string
- Description
error,warningorperformance.
- Name
issue.category / issue.ruleId- Type
- string / string | null
- Description
What kind of check raised it, and the rule, when one did.
- Name
issue.status- Type
- string
- Description
unresolved,resolved,ignoredorexpected, as of the event.
- Name
issue.events / issue.blocked / issue.chats- Type
- number
- Description
Checked queries that raised it over its lifetime, how many of them were blocked, and in how many chats.
- Name
issue.firstSeenAt / issue.lastSeenAt- Type
- string
- Description
ISO 8601 timestamps.
- Name
issue.url- Type
- string
- Description
The issue page in Vuon.
query_check.issue.opened
Query checks opened a new issue, or reopened one: it fired again after it was resolved, or after its ignore ran out.
- Name
reason- Type
- string
- Description
newfor a first-seen issue,reopenedfor one that came back.
- Name
previousStatus- Type
- string | null
- Description
The status it had before it reopened;
nullfor a new issue.
- Name
message- Type
- string | null
- Description
The checker's message on the query that opened it, first line only. It names tables and columns but carries no query text.
- Name
openedAt- Type
- string
- Description
ISO 8601 timestamp.
Sample payload
{
"id": "evt_SAMPLE",
"type": "query_check.issue.opened",
"createdAt": "2026-11-09T05:20:31.000Z",
"data": {
"version": 1,
"issue": {
"id": "6a1d2f0e-3b4c-4d5e-8f60-718293a4b5c6",
"key": "SQL-1F",
"title": "Unknown column country_code in users",
"level": "error",
"category": "schema",
"ruleId": null,
"status": "unresolved",
"events": 14,
"blocked": 11,
"chats": 6,
"firstSeenAt": "2026-11-02T03:12:44.000Z",
"lastSeenAt": "2026-11-09T01:40:02.000Z",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F"
},
"reason": "reopened",
"previousStatus": "resolved",
"message": "Unknown column 'country_code' in table 'analytics.users'",
"openedAt": "2026-11-09T01:40:02.000Z"
}
}
query_check.issue.resolved
A Query checks issue was resolved, by a member in Vuon or by its linked Linear, Jira or GitHub ticket closing.
- Name
source- Type
- string
- Description
vuon, or the tracker whose ticket resolved it:linear,jiraorgithub.
- Name
resolvedByEmail- Type
- string | null
- Description
The member who resolved it in Vuon;
nullwhen a ticket did.
- Name
resolvedAt- Type
- string
- Description
ISO 8601 timestamp.
Sample payload
{
"id": "evt_SAMPLE",
"type": "query_check.issue.resolved",
"createdAt": "2026-11-09T05:20:31.000Z",
"data": {
"version": 1,
"issue": {
"id": "6a1d2f0e-3b4c-4d5e-8f60-718293a4b5c6",
"key": "SQL-1F",
"title": "Unknown column country_code in users",
"level": "error",
"category": "schema",
"ruleId": null,
"status": "resolved",
"events": 14,
"blocked": 11,
"chats": 6,
"firstSeenAt": "2026-11-02T03:12:44.000Z",
"lastSeenAt": "2026-11-09T01:40:02.000Z",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F"
},
"source": "vuon",
"resolvedByEmail": "dana@acme.com",
"resolvedAt": "2026-11-09T06:15:00.000Z"
}
}
query_check.autofix.completed
An Autofix stage (root cause, plan or changes) finished, or failed. Use it to tell your team a stage is ready for review; the stage's full result is in the handoff event, not here.
- Name
autofix.autofixId / autofix.url- Type
- string
- Description
The autofix, and its tab on the issue page.
- Name
stage.name- Type
- string
- Description
root_cause,planorchanges.
- Name
stage.status- Type
- string
- Description
completedorfailed.
- Name
stage.summary- Type
- string | null
- Description
The stage's one-sentence summary, when it completed.
- Name
stage.failure- Type
- string | null
- Description
Why it failed, when it did.
Sample payload
{
"id": "evt_SAMPLE",
"type": "query_check.autofix.completed",
"createdAt": "2026-11-09T05:20:31.000Z",
"data": {
"version": 1,
"issue": {
"id": "6a1d2f0e-3b4c-4d5e-8f60-718293a4b5c6",
"key": "SQL-1F",
"title": "Unknown column country_code in users",
"level": "error",
"category": "schema",
"ruleId": null,
"status": "unresolved",
"events": 14,
"blocked": 11,
"chats": 6,
"firstSeenAt": "2026-11-02T03:12:44.000Z",
"lastSeenAt": "2026-11-09T01:40:02.000Z",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F"
},
"autofix": {
"autofixId": "0f9e8d7c-6b5a-4f3e-9d2c-1b0a9f8e7d6c",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F?tab=autofix"
},
"stage": {
"runId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"name": "plan",
"status": "completed",
"summary": "Describe registered_country in the LookML users view, which is where Vuon reads it from.",
"failure": null,
"finishedAt": "2026-11-09T05:02:10.000Z"
}
}
}
query_check.autofix.handoff_requested
Someone chose Send to your endpoint on a completed Autofix stage, to hand the fix to your own coding agent. It is sent only to the endpoint they chose, never to every subscribed endpoint. See Send Autofix to your coding agent for a bridge that starts an agent from it.
This event carries the full Autofix context, including data from your warehouse: the text of failing queries, the queries the Autofix stages ran, and up to 10 sample rows from each of those queries. It goes only to your own endpoint. Subscribe only endpoints you trust with that data.
- Name
stage- Type
- object
- Description
The stage that was sent (
runId,name). The stages before it are included as well.
- Name
endpoint- Type
- object
- Description
The endpoint it was sent to (
id,description), so one receiver can serve several endpoints.
- Name
requestedByEmail / requestedAt- Type
- string | null / string
- Description
Who sent it, and when.
- Name
brief- Type
- string
- Description
Markdown ready to use as a coding agent's prompt: what each stage found, then what to do. The same brief Vuon puts on a Linear issue.
- Name
stages.rootCause / stages.plan / stages.changes- Type
- object | null
- Description
Each stage's structured result as it handed it in, with its
runId;nullfor a stage after the one sent or one that has not completed. The root cause carries its kind, explanation and evidence; the plan its fix location and steps; the changes the Vuon documentation changes and the upstream change.
- Name
upstreamChange- Type
- object | null
- Description
The change in your semantic layer or dbt project, when the changes stage wrote one:
system,repository,path,revision,patchKind(difforsnippet),patch, and apullRequesttitle and description.
- Name
evidence.occurrences- Type
- array
- Description
Up to 5 recent queries that raised the issue:
occurredAt,outcome, the checkermessage, thesql(cut at 6,000 characters) and thetablesread. Only queries from chats the sender may open are included.
- Name
evidence.hiddenOccurrences- Type
- number
- Description
Recent occurrences left out because they are in chats the sender may not open.
- Name
evidence.stageQueries- Type
- array
- Description
Up to 20 warehouse queries the Autofix stages ran:
stage,sql,outcome(okorerror),rowCount,columns, up to 10sampleRows(string values cut at 500 characters), anderrorfor a failed one.
Sample payload
{
"id": "evt_SAMPLE",
"type": "query_check.autofix.handoff_requested",
"createdAt": "2026-11-09T05:20:31.000Z",
"data": {
"version": 1,
"issue": {
"id": "6a1d2f0e-3b4c-4d5e-8f60-718293a4b5c6",
"key": "SQL-1F",
"title": "Unknown column country_code in users",
"level": "error",
"category": "schema",
"ruleId": null,
"status": "unresolved",
"events": 14,
"blocked": 11,
"chats": 6,
"firstSeenAt": "2026-11-02T03:12:44.000Z",
"lastSeenAt": "2026-11-09T01:40:02.000Z",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F"
},
"autofix": {
"autofixId": "0f9e8d7c-6b5a-4f3e-9d2c-1b0a9f8e7d6c",
"url": "https://acme.vuon.ai/settings/query-checks/SQL-1F?tab=autofix"
},
"stage": {
"runId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"name": "changes"
},
"endpoint": {
"id": "whep_4k2m9q",
"description": "Lark coding bot"
},
"requestedByEmail": "dana@acme.com",
"requestedAt": "2026-11-09T05:20:31.000Z",
"brief": "# Fix Query checks issue SQL-1F: Unknown column country_code in users\n\nVuon agents keep writing warehouse queries the SQL checker blocks or warns about for this reason. Vuon Autofix looked into it; this is what it found. Issue: https://acme.vuon.ai/settings/query-checks/SQL-1F\n\n## Root cause\n\n**Semantic layer gap** (reproduced). users.registered_country is undocumented.\n\n…\n\n## What to do\n\nMake the changes above, checking each against the current files, and open a pull request.\n",
"stages": {
"rootCause": {
"runId": "0f9e8d7c-6b5a-4f3e-9d2c-1b0a9f8e7d6c",
"result": {
"summary": "Agents look for users.country_code; the column is registered_country and is undocumented.",
"rootCause": {
"kind": "semantic_gap",
"explanation": "The users view documents no country column, so agents guess country_code, which does not exist.",
"evidence": [
"vuon docs get users lists registered_country with no description.",
"SELECT registered_country, count(*) returned ISO codes such as SG and TW."
]
},
"reproduced": true
}
},
"plan": {
"runId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"result": {
"summary": "Describe registered_country in the LookML users view.",
"fixLocation": "upstream",
"fixLocationReason": "The users view is synced from LookML; a Vuon edit would be overwritten.",
"steps": [
{
"title": "Describe registered_country",
"detail": "In views/users.view.lkml, say it holds the ISO country the user registered in."
}
]
}
},
"changes": {
"runId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"result": {
"summary": "Describes registered_country in the users view.",
"vuonChanges": [],
"upstreamChange": {
"system": "looker",
"systemName": null,
"repository": "acme/looker-models",
"path": "views/users.view.lkml",
"revision": "3f2c9a1b",
"patchKind": "diff",
"patch": "--- a/views/users.view.lkml\n+++ b/views/users.view.lkml\n@@ -12,6 +12,7 @@ view: users {\n dimension: registered_country {\n type: string\n sql: ${TABLE}.registered_country ;;\n+ description: \"ISO 3166-1 alpha-2 country the user registered in. Use this for country; the table has no country_code.\"\n }",
"title": "Describe registered_country in the users view",
"description": "Agents query users.country_code, which does not exist. This documents registered_country so they use it."
}
}
}
},
"upstreamChange": {
"system": "looker",
"repository": "acme/looker-models",
"path": "views/users.view.lkml",
"revision": "3f2c9a1b",
"patchKind": "diff",
"patch": "--- a/views/users.view.lkml\n+++ b/views/users.view.lkml\n@@ -12,6 +12,7 @@ view: users {\n dimension: registered_country {\n type: string\n sql: ${TABLE}.registered_country ;;\n+ description: \"ISO 3166-1 alpha-2 country the user registered in. Use this for country; the table has no country_code.\"\n }",
"pullRequest": {
"title": "Describe registered_country in the users view",
"description": "Agents query users.country_code, which does not exist. This documents registered_country so they use it."
}
},
"evidence": {
"occurrences": [
{
"occurredAt": "2026-11-09T01:40:02.000Z",
"outcome": "blocked",
"message": "Unknown column 'country_code' in table 'analytics.users'",
"sql": "SELECT country_code, count(*) AS users\nFROM analytics.users\nGROUP BY 1",
"tables": [
"analytics.users"
]
}
],
"hiddenOccurrences": 2,
"stageQueries": [
{
"stage": "root_cause",
"sql": "SELECT registered_country, count(*) AS users\nFROM analytics.users\nGROUP BY 1\nORDER BY 2 DESC\nLIMIT 5",
"outcome": "ok",
"rowCount": 5,
"columns": [
"registered_country",
"users"
],
"sampleRows": [
{
"registered_country": "SG",
"users": 48211
},
{
"registered_country": "TW",
"users": 31877
}
],
"error": null
}
]
}
}
}
New event types may be added over time. Ignore event types you don't recognize instead of failing — endpoints subscribed to "all events" receive new types automatically.