Skip to main contentRuntime

Event taxonomy

RCP defines one event envelope and a growing union of event type values, grouped below by category. Live means Runtime emits this event today. Roadmap means the type exists in the schema but nothing produces it yet. Internal means it is emitted by the gateway for its own routing and metering, not exposed as a public event.

Session

EventStatus
SessionStartedLive
SessionEndedLive
SessionPausedRoadmap
SessionResumedRoadmap

Prompt

EventStatus
PromptSubmittedRoadmap
PromptCancelledRoadmap
PromptCompletedRoadmap

Model

EventStatus
ModelSelectedRoadmap
ModelInvocationStartedLive
ModelInvocationCompletedLive
ReasoningStartedRoadmap
ReasoningCompletedRoadmap

Completion

EventStatus
CompletionStartedLive
CompletionCompletedLive

Tool use

EventStatus
ToolInvokedRoadmap
ToolCompletedRoadmap
ContextLoadedRoadmap

Files

EventStatus
FileOpenedRoadmap
FileReadRoadmap
FileCreatedRoadmap
FileModifiedRoadmap
FileDeletedRoadmap
FileRenamedRoadmap

Commands

EventStatus
CommandExecutedRoadmap
CommandSucceededRoadmap
CommandFailedRoadmap

Search

EventStatus
SearchPerformedRoadmap
SymbolLookupRoadmap
ReferenceLookupRoadmap

Version control

EventStatus
BranchCreatedRoadmap
CommitCreatedRoadmap
PushCompletedRoadmap
PullCompletedRoadmap

Testing

EventStatus
TestStartedRoadmap
TestPassedRoadmap
TestFailedRoadmap

Build

EventStatus
BuildStartedRoadmap
BuildSucceededRoadmap
BuildFailedRoadmap

Gateway internals

Prefixed runtime.* — emitted by the gateway proxy for metering and routing, not by AI clients directly. runtime.CostRecorded is the one gateway event surfaced publicly today.

EventStatus
runtime.RequestReceivedInternal
runtime.RequestForwardedInternal
runtime.ProviderSelectedInternal
runtime.CacheHitInternal
runtime.CacheMissInternal
runtime.CreditsConsumedInternal
runtime.CostRecordedLive
runtime.RateLimitedInternal
runtime.DeploymentStartedInternal
runtime.DeploymentCompletedInternal

For the envelope and payload field shapes, see Schema reference.