Read retained changes or subscribe
/v1/disks/{disk}/notificationsconst url = 'https://api.wabe.sh/v1/disks/demo/notifications?sse=false&include_value=false&entity=file&limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.wabe.sh/v1/disks/demo/notifications?sse=false&include_value=false&entity=file&limit=100' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
demoProject disk name, or the disk ID in the actor runtime disk URL.
Query Parameters
Section titled “Query Parameters”Exclusive opaque cursor; omitted or 0 starts at retained history.
Replay retained history then stream live events with SSE.
Deliver previously captured content in value_chunk records.
Restrict the resource kind.
Literal normalized file-path prefix; cannot combine with namespace.
Exact KV namespace; cannot combine with file_prefix.
Finite GET only; maximum examined events, including filtered events.
Header Parameters
Section titled “Header Parameters”Cursor fallback when sequence query is omitted.
Responses
Section titled “Responses”A finite NDJSON page or a live SSE stream, selected by sse.
Example
{"type":"checkpoint","sequence":"62ad930b-c1e6-4d3c-ab84-8bf74a025d2f:42"}When sse=true; Last-Event-ID can supply the resume cursor.
Example
event: checkpointid: 62ad930b-c1e6-4d3c-ab84-8bf74a025d2f:42data: {"type":"checkpoint","sequence":"62ad930b-c1e6-4d3c-ab84-8bf74a025d2f:42"}Headers
Section titled “Headers”Journal head at request start.
Invalid settings, cursor or filters.
object
Missing, invalid or revoked project API key, or an invalid runtime access token.
object
Actor runtime token does not authorize this disk or instance generation.
object
Sequence_expired: reload state and resume from sequence=0.
object
Conflict, nonempty destination or referenced object.
Storage failure.
object
Notifications closed.