Read a session's events
GET /api/v1/code/sessions/{sessionId}/events on the Caveman Cloud control plane. Requires the code:read scope. Not exposed to autonomous agents: The Agents API is driven by a service account's code:run key, or by a person in the Code app and console. An agent connection works inside a Code session and never starts, lists or drives Code sessions or agents from a control-plane connection.
get/code/sessions/{sessionId}/events
Request
- Base URLhttps://api.caveman.so/api/v1
- URLhttps://api.caveman.so/api/v1/code/sessions/{sessionId}/events
- Auth
- OAuth 2Authorization code: /api/v1/oauth/authorizeToken URL: /api/v1/oauth/token scopes: code:read
- or HTTP bearer
- or API key in cookie cave_access
- or API key in cookie __Secure-cave_identity.session_token
Query parameters
afterinteger
Return events after this seq (or send Last-Event-ID).
limitinteger
At most this many events (500).
Response
Events
Changes
No recorded changes to this operation across all 1 revision of this API.