Get desktop application:
View/edit binary Protocol Buffers messages
Fired when an AI code generation request completes (success or failure). Covers all Copilot actions: generate docs, tests, semantic models, metrics, inline SQL, text-to-SQL, and agent runs.
Server enrichment for this event
dbt Cloud context (account_id, user_id, project_id, etc.)
Unique identifier for this generation request; natural dedup key
Conversation thread for multi-turn correlation
LLM provider (e.g. "openai", "azure_openai", "anthropic")
Model identifier (e.g. "gpt-4o", "claude-sonnet-4-20250514")
Client application name (e.g. "studio", "vscode", "cloud-cli")
What triggered the generation (e.g. "user", "auto")
Which Copilot action ran (e.g. "generate_documentation", "text_to_sql", "agent")
Whether the generation encountered an error
Error message if has_error is true
Whether the project has a custom style guide configured
Prompt template version hash
Prompt template name
Prompt template variation (e.g. A/B test variant)
Input tokens sent to the LLM
Output tokens received from the LLM
Total tokens (input + output)
End-to-end latency in milliseconds
IDE/develop session identifier
API key type; see key_type values documented above
Input tokens where prompt cache was created (cache miss, Anthropic)
Input tokens served from prompt cache (cache hit)
Chain-of-thought tokens not included in the response
Time to first token in milliseconds. Unset when not streaming.
Fired once per LLM call within an agent loop. Allows per-call token and latency attribution when a single copilot_request_id triggers multiple LLM invocations (e.g. a dev agent loop). Links back to the parent CopilotGenerationComplete via copilot_request_id.
Server enrichment for this event
dbt Cloud context (account_id, user_id, project_id, etc.)
Identifies the parent agent run; foreign key to CopilotGenerationComplete
Conversation thread for multi-turn correlation
LLM provider (e.g. "openai", "azure_openai", "anthropic")
Model identifier (e.g. "gpt-4o", "claude-sonnet-4-20250514")
Client application name (e.g. "studio", "vscode", "cloud-cli")
Which Copilot action this call belongs to (e.g. "run_langgraph_agent")
API key type used for this call. String representation of the DbtCopilotGenerationComplete.KeyType enum (private proto); valid values are the same as CopilotGenerationComplete.key_type documented above. Enums are not yet handled properly in Vortex, so the enum name is serialised to a string at the call site rather than using an enum field.
Zero-based index of this LLM call within the agent loop
Input tokens sent to the LLM for this call
Output tokens received from the LLM for this call
Total tokens (input + output)
Latency of this specific LLM call in milliseconds
Input tokens where prompt cache was created (cache miss, Anthropic)
Input tokens served from prompt cache (cache hit)
Chain-of-thought tokens not included in the response
Time to first token in milliseconds. Unset when not streaming.
Fired when a user responds to a Copilot suggestion.
Server enrichment for this event
dbt Cloud context
The generation request this acceptance responds to
Conversation thread for multi-turn correlation
User's decision; see response_type values documented above
Optional free-text feedback comment from the user. Unset when no feedback provided.