Skip to main content

Overview

Sessions track active coding agent conversations in a workspace. They’re created and managed automatically by IDE hooks — you don’t typically call these endpoints directly.

Hook Endpoint

The primary endpoint. Handles all IDE hook events.

Event Types

sessionStart Response

The additional_context field is injected as system context by the IDE.

preToolUse Response (deny)

preToolUse Response (allow)


List Active Sessions

Response

Heartbeat

Keep a session alive.

End Session

Releases all file reservations for the session.

Session Expiry

Sessions auto-expire after 5 minutes of inactivity (no hook events). File reservations auto-expire after 10 minutes of inactivity.