API reference
Events
GET
bearerheader
AuthorizationBearer <token>OK
application/json- response
type*stringcursor*stringthreads*array<>majors*array<>devices*array<>machines*array<>curl -X GET 'https://engine.keko.run/v1/sidebar'Example Response
{ "type": "snapshot", "cursor": "string", "threads": [ { "id": "string" } ], "majors": [ { "id": "string" } ], "devices": [ { "id": "string" } ], "machines": [ { "id": "string" } ]}GET
Sends a snapshot, then one message per change (whole records). Reconnect with ?cursor= set to the last cursor you got: you get the changes you missed and resumed, or a new snapshot when the engine restarted or the cursor is too old. A snapshot replaces everything you had.
bearerheader
AuthorizationBearer <token>cursor?stringSwitches to a WebSocket
curl -X GET 'https://engine.keko.run/v1/events'Example Response
Empty