Lists all subscriptions.
Optional
options: OptionsThe ky request options (fetch compatible)
A promise that resolves with an array of subscriptions.
Creates a subscription.
The subscription to create.
Optional
options: OptionsThe ky request options (fetch compatible)
A promise that resolves when the subscription is created.
Gets a subscription by its ID.
The subscription ID.
Optional
options: OptionsThe ky request options (fetch compatible)
A promise that resolves with the subscription or rejects if not found.
Executes a query on the specified agent.
The query arguments.
Optional
pagination: QueryPaginationThe pagination configuration.
Optional
options: OptionsThe ky request options (fetch compatible).
A promise that resolves to the results of the query.
Creates an on-demand subscription or connects to an existing one.
The subscription id or the subscription inputs.
The WebSocket event handlers.
Optional
onDemandHandlers: OnDemandSubscriptionHandlers<T>The on-demand subscription handlers.
A promise that resolves with the WebSocket instance.
Exposes the Ocelloids Agent API.