Skip to content
SDKProductBuild and shipMonitor

Monitor methods: check

The Monitor Verbs check as typed SDK methods, with inputs, result, refusals and an example.

Reference for Monitor, one group of Monitor methods.

Monitor.check

Check runs a Monitor once now from several regions and records the result as an Event. Verb page.

TypeScript
interface MonitorVerbs {
  check(input: MonitorCheckInput, options?: SB.CallOptions): SB.Call<Monitor>
}

Emits Monitor.checked.

Inputs

InputTypeRequiredDescription
monitorMonitorrequiredThe Monitor to run.

Returns

OutputTypeRequiredDescription
monitorMonitorrequiredThe Monitor, with its latest result.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const monitor = await $.Monitor.check({ monitor: 'monitor_8Ed0ESvvRl' })