Live Events
Everything live, on one connection per tab: notification frames carrying a whole inbox row
addressed to the caller, and unfiltered task_changed invalidations the client selects from.
Keyed on the token’s own user — taking the recipient from the request would make every inbox readable by any authenticated caller.
GET
/api/v1/eventsQuery parameters
tokenstringrequiredClerk JWT — EventSource cannot set an Authorization header
Responses
200Successful Response
422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X GET "/api/v1/events?token=string"const response = await fetch("/api/v1/events?token=string", {
method: "GET"
});import requests
response = requests.get(
"/api/v1/events?token=string",
)Response
Successful Response
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}