Skip to content
View Markdown

Read retained changes or subscribe

GET/v1/disks/{disk}/notifications
GET
/v1/disks/{disk}/notifications
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>'
disk
required
string
/^[A-Za-z0-9_-]{1,128}$/

Example

demo

Project disk name, or the disk ID in the actor runtime disk URL.

sequence
string

Exclusive opaque cursor; omitted or 0 starts at retained history.

sse
boolean

Replay retained history then stream live events with SSE.

include_value
boolean

Deliver previously captured content in value_chunk records.

entity
string
Allowed values: file kv

Restrict the resource kind.

file_prefix
string

Literal normalized file-path prefix; cannot combine with namespace.

namespace
string

Exact KV namespace; cannot combine with file_prefix.

limit
integer
default: 100 >= 1 <= 1000

Finite GET only; maximum examined events, including filtered events.

branch
string
Last-Event-ID
string

Cursor fallback when sequence query is omitted.

A finite NDJSON page or a live SSE stream, selected by sse.

string

Example

{"type":"checkpoint","sequence":"62ad930b-c1e6-4d3c-ab84-8bf74a025d2f:42"}
X-Notification-Sequence
string

Journal head at request start.

Invalid settings, cursor or filters.

object
code
required
string
message
required
string

Missing, invalid or revoked project API key, or an invalid runtime access token.

Media typeapplication/json
object
error
required
string
message
required
string

Actor runtime token does not authorize this disk or instance generation.

Media typeapplication/json
object
error
required
string
message
required
string

Sequence_expired: reload state and resume from sequence=0.

object
code
required
string
message
required
string

Conflict, nonempty destination or referenced object.

Media typetext/plain
string

Storage failure.

object
code
required
string
message
required
string

Notifications closed.

Media typeapplication/json
object
code
required
string
message
required
string