Skip to Content
Keko
API reference

Events

GET
/v1/sidebar

Authorization

bearer
headerAuthorizationBearer <token>

Response Body

OK

application/json
  1. response
type*string
cursor*string
threads*array<>
majors*array<>
devices*array<>
machines*array<>
Example Request
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
/v1/events

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.

Authorization

bearer
headerAuthorizationBearer <token>

Query Parameters

cursor?string

Response Body

Switches to a WebSocket

Example Request
curl -X GET 'https://engine.keko.run/v1/events'
Example Response
Empty