Lists all subscriptions.
Optionaloptions: RequestOptionsThe ky request options (fetch compatible)
A promise that resolves with an array of subscriptions.
Creates a subscription.
The subscription to create.
Optionaloptions: RequestOptionsThe ky request options (fetch compatible)
A promise that resolves when the subscription is created.
Deletes a subscription.
The subscription ID.
Optionaloptions: RequestOptionsThe ky request options (fetch compatible)
Gets a subscription by its ID.
The subscription ID.
Optionaloptions: RequestOptionsThe ky request options (fetch compatible)
A promise that resolves with the subscription or rejects if not found.
Optionaloptions: RequestOptionsOptionaloptions: RequestOptionsExecutes a query on the specified agent.
The query arguments.
Optionalpagination: QueryPaginationThe pagination configuration.
Optionaloptions: RequestOptionsThe 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.
OptionalonDemandHandlers: OnDemandSubscriptionHandlers<T>The on-demand subscription handlers.
A promise that resolves with the WebSocket instance.
Exposes the Ocelloids Agent API.