Skip to main content

Twilio/monitor

@keeb/twilio/monitorv2026.08.25.2· 16d agoMODELS
01README

Twilio monitor API models

02Release Notes
  • Updated: alarm, alert, event
03Models3
@keeb/twilio/monitor/alarmv2026.08.25.2alarm.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
friendly_namestringFriendly name for alarm
query_typeenumType of query
query?stringValue to query for
trigger_valuenumberThreshold to send customer alarm notification
time_windowenumTime window for alarm to trigger
email?arrayEmail notifications to send
webhook?stringWebhook notification to send
console_indicator?booleanWhether to send console notifications
descriptionstringDescription for the alarm.
enabledbooleanIs alarm enbled? Default is true.
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a alarm
fn get(id: string)
Get a alarm
ArgumentTypeDescription
idstringThe sid of the alarm
fn lookup(sort_order?: enum, max_items?: number)
List alarms and record each as a data artifact (capped at 200 by default; writes a alarm_lookup record with the coverage of the walk)
ArgumentTypeDescription
sort_order?enum
max_items?numberStop after this many results (default 200, ceiling 1000000). Raise deliberately: Twilio's message and call logs are effectively endless, and every result becomes its own data artifact. When the walk stops here with rows still on offer, the alarm_lookup record reports truncated: true.
fn update()
Update alarm attributes
fn delete(id: string)
Delete the alarm
ArgumentTypeDescription
idstringThe sid of the alarm
fn sync()
Sync alarm state from Twilio
fn update_status(sid: string, enabled: boolean)
Update status of alarm between enabled and disabled
ArgumentTypeDescription
sidstringPath parameter: sid
enabledbooleanstatus of alarm

Resources

state(infinite)— Alarm resource state
alarm_lookup(infinite)— Alarm lookup coverage — whether the page walk exhausted the collection
alarm_action(ephemeral)— Alarm action result
@keeb/twilio/monitor/alertv2026.08.25.2alert.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn get(id: string)
Get a alert
ArgumentTypeDescription
idstringThe sid of the alert
fn lookup(log_level?: string, start_date?: string, end_date?: string, max_items?: number)
List alerts and record each as a data artifact (capped at 200 by default; writes a alert_lookup record with the coverage of the walk)
ArgumentTypeDescription
log_level?stringOnly show alerts for this log-level. Can be: `error`, `warning`, `notice`, or `debug`.
start_date?stringOnly include alerts that occurred on or after this date and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
end_date?stringOnly include alerts that occurred on or before this date and time. Specify the date and time in GMT and format as `YYYY-MM-DD` or `YYYY-MM-DDThh:mm:ssZ`. Queries for alerts older than 30 days are not supported.
max_items?numberStop after this many results (default 200, ceiling 1000000). Raise deliberately: Twilio's message and call logs are effectively endless, and every result becomes its own data artifact. When the walk stops here with rows still on offer, the alert_lookup record reports truncated: true.
fn sync()
Sync alert state from Twilio

Resources

state(infinite)— Alert resource state
alert_lookup(infinite)— Alert lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/monitor/eventv2026.08.25.2event.ts

Global Arguments

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
name?stringInstance name for this resource (used as the unique identifier in the factory pattern)
auth_token?stringTwilio auth token, used as the HTTP Basic password when no API key is set. Overrides TWILIO_AUTH_TOKEN. Wire with a vault.get(...) expression to source it from a vault.
api_key_sid?stringTwilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID.
api_key_secret?stringTwilio API key secret, paired with api_key_sid. Overrides TWILIO_API_KEY_SECRET. Wire with a vault.get(...) expression to source it from a vault.
fn get(id: string)
Get a event
ArgumentTypeDescription
idstringThe sid of the event
fn lookup(actor_sid?: string, event_type?: string, resource_sid?: string, source_ip_address?: string, start_date?: string, end_date?: string, max_items?: number)
List events and record each as a data artifact (capped at 200 by default; writes a event_lookup record with the coverage of the walk)
ArgumentTypeDescription
actor_sid?stringOnly include events initiated by this Actor. Useful for auditing actions taken by specific users or API credentials.
event_type?stringOnly include events of this [Event Type](https://www.twilio.com/docs/usage/monitor-events#event-types).
resource_sid?stringOnly include events that refer to this resource. Useful for discovering the history of a specific resource.
source_ip_address?stringOnly include events that originated from this IP address. Useful for tracking suspicious activity originating from the API or the Twilio Console.
start_date?stringOnly include events that occurred on or after this date. Specify the date in GMT and [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
end_date?stringOnly include events that occurred on or before this date. Specify the date in GMT and [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
max_items?numberStop after this many results (default 200, ceiling 1000000). Raise deliberately: Twilio's message and call logs are effectively endless, and every result becomes its own data artifact. When the walk stops here with rows still on offer, the event_lookup record reports truncated: true.
fn sync()
Sync event state from Twilio

Resources

state(infinite)— Event resource state
event_lookup(infinite)— Event lookup coverage — whether the page walk exhausted the collection
04Stats
B
85 / 100
Downloads
0
Archive size
24.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository0/2missing
05Platforms
06Labels