Answer: Cursor Agent SDK hooks can subscribe to the event types message.received, turn.completed, turn.failed, actions.requested, actions.completed, action.result, and action.tool_retry, or "*" for every event. Status: Confirmed Entry: tool/cursor/agents-and-automation/agent-sdk-hook-events Revision: 1 Digest: sha256:23e7024e820b525c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:53Z Last changed: 2026-11-13T03:08:53Z Last verified: 2026-11-20T12:33:48Z Next check: 2026-11-21T12:33:48Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of event types | message.received | [1] | 2026-11-20 wildcard | * | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/hooks.md". https://cursor.com/docs/agent-sdk/reference/hooks.md Role: primary. Accessed: 2026-11-20T12:33:48Z Quote: "| `message.received` | `{ text }`" (Supports: event types) Quote: "or `"*"` for every event" (Supports: wildcard) Snapshot SHA-256: 21175b6d0a63b3713459cedd568d20c541ba9e5d98dcdc76f54c2a57951ea6a0 (captured 2026-11-13T03:08:52Z) 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-13T03:08:53Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:48Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:48Z Last attempt: 2026-11-20T12:33:48Z Notes and limitations: Extracted automatically from a single official source (section "Events and payloads"). Related: https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-project-folder-structure Where do Agent SDK files go in a Cursor project? https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-review-triage-templates What review and triage templates does the Cursor Agent SDK provide? https://latestn.com/tool/cursor/agents-and-automation/arm64-cloud-agents Does Cursor support arm64 for Cloud Agents, and how do I run agents on arm64 hardware? https://latestn.com/tool/cursor/agents-and-automation/agent-create-origin-repository Can a Cursor agent create an Origin repository for me? https://latestn.com/tool/cursor/agents-and-automation/agent-name-and-slug-rules How does Cursor Agent SDK determine the root agent's name and slug? https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-hook-boundaries What can Cursor Agent SDK hooks not do, and what are their boundaries? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:53Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-hook-events/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/cursor/agents-and-automation/agent-sdk-hook-events POST: https://latestn.com/dispute/tool/cursor/agents-and-automation/agent-sdk-hook-events with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/agents-and-automation/agent-sdk-hook-events?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which session events and payloads can Cursor Agent SDK hooks subscribe to? Revision 1, last verified 2026-11-20T12:33:48Z. https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-hook-events (accessed 2026-11-21T10:03:51Z). @misc{LatestN_tool_cursor_agents_and_automation_agent_sdk_hook_events_r1, title = {Which session events and payloads can Cursor Agent SDK hooks subscribe to?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/agents-and-automation/agent-sdk-hook-events}}, note = {Revision 1; digest sha256:23e7024e820b525c; last verified 2026-11-20T12:33:48Z; accessed 2026-11-21T10:03:51Z} } 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/cursor/agents-and-automation/agent-sdk-hook-events