events
GET
/v1/events
const url = 'https://example.com/v1/events';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/eventsResponses
Section titled “Responses”WebSocket events: {type, request} for request.created (carrying the final status, so auto-handled requests arrive already decided), request.decided, request.expired and request.cancelled; request.updated when a pending request’s desktop run starts or its claim is released (request.run); {type: yolo.changed, yolo} when YOLO mode changes or its timer ends. Closed immediately when the calling device is revoked (4401) or disabled (4403). The daemon sends a WebSocket ping every 25 s, so a client that hears nothing for longer can treat the connection as dead