Skip to content

NotifyTargetsOperations

The notify_targets.* operations.

list(owner, options?): Promise<NotifyTarget[]>;

List the notify targets an owner's agents route to.

The notify targets the owner keeps. The deployment's include those it starts with.

Parameter Type
owner string
options? CallOptions

Promise<NotifyTarget[]>


add(
owner,
input,
options?
): Promise<NotifyTarget>;

Add a webhook for an owner's agents' notices.

Adds a webhook for the owner's agents' notices. Your resolver gives each agent the targets it routes to; an agent routing to another owner's is checked as notify_target.use. One of the owner's own by the same name is a conflict. The URL must pass the deployment's egress check, when it's added and before each notice.

Parameter Type
owner string
input NotifyTargetInput
options? CallOptions

Promise<NotifyTarget>


remove(
owner,
name,
options?
): Promise<NotifyTarget>;

Remove a notify target.

Removes one of the owner's own.

Parameter Type
owner string
name string
options? CallOptions

Promise<NotifyTarget>