Answer: Every session event includes these fields: id (UUID v4), timestamp (ISO 8601), parentId, agentId, ephemeral, type, and data. The id is a unique event identifier, timestamp is when the event was created, parentId is the ID of the previous event in the chain (null for the first event), agentId is the sub-agent instance ID for sub-agent-originated events, ephemeral is true for transient events, type is the event type discriminator, and data is the event-specific payload. Status: Confirmed Entry: tool/github-copilot/features/event-envelope-structure Revision: 1 Digest: sha256:92a15343e67452d7 (changes whenever the content changes) Timeline: Created: 2026-11-13T12:56:22Z Last changed: 2026-11-13T12:56:22Z Last verified: 2026-11-20T13:08:46Z Next check: 2026-11-21T13:08:46Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of id | string (UUID v4) | [1] | 2026-11-20 timestamp | string (ISO 8601) | [1] | 2026-11-20 parentId | string | null | [1] | 2026-11-20 agentId | string? | [1] | 2026-11-20 ephemeral | boolean? | [1] | 2026-11-20 type | string | [1] | 2026-11-20 data | object | [1] | 2026-11-20 Sources: [1] GitHub. "Streaming session events - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/streaming-events Role: primary. Accessed: 2026-11-20T13:08:46Z Quote: "id string (UUID v4) Unique event identifier" (Supports: id) Quote: "timestamp string (ISO 8601) When the event was created" (Supports: timestamp) Quote: "parentId string | null ID of the previous event in the chain; null for the first event" (Supports: parentId) Quote: "agentId string? Sub-agent instance ID for sub-agent-originated events; absent for root/main agent and session-level events" (Supports: agentId) Quote: "ephemeral boolean? true for transient events; absent or false for persisted events" (Supports: ephemeral) Quote: "type string Event type discriminator (see tables below)" (Supports: type) Quote: "data object Event-specific payload" (Supports: data) Snapshot SHA-256: 49d08bb0960e81e7585477caf3153133ebaa4ef2ee58799a6f33fd2eee975601 (captured 2026-11-18T13:03:53Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:03:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:46Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:46Z Last attempt: 2026-11-20T13:08:46Z Notes and limitations: Extracted automatically from a single official source (section "Event envelope"). Related: https://latestn.com/tool/github-copilot/features/example-prompt-explore-implementations What example prompt can I use with GitHub Copilot to explore how a feature could be implemented? https://latestn.com/tool/github-copilot/features/example-prompt-files What example prompt files does GitHub Copilot provide for tasks like creating a README or generating unit tests? https://latestn.com/tool/github-copilot/features/example-prompts-explore-codebase What example prompts can I use with GitHub Copilot to explore a codebase? https://latestn.com/tool/github-copilot/features/enable-remote-sessions How do I enable remote sessions in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/features/enable-use-prompt-files How do I enable, create, and use prompt files with GitHub Copilot in my IDE? https://latestn.com/tool/github-copilot/features/end-to-end-test-example-response What does an example GitHub Copilot response look like when generating end-to-end tests? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:56:22Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/features/event-envelope-structure/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/features/event-envelope-structure POST: https://latestn.com/dispute/tool/github-copilot/features/event-envelope-structure with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/features/event-envelope-structure?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is the event envelope structure for GitHub Copilot SDK streaming events? Revision 1, last verified 2026-11-20T13:08:46Z. https://latestn.com/tool/github-copilot/features/event-envelope-structure (accessed 2026-11-21T09:52:42Z). @misc{LatestN_tool_github_copilot_features_event_envelope_structure_r1, title = {What is the event envelope structure for GitHub Copilot SDK streaming events?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/features/event-envelope-structure}}, note = {Revision 1; digest sha256:92a15343e67452d7; last verified 2026-11-20T13:08:46Z; accessed 2026-11-21T09:52:42Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/features/event-envelope-structure