Twilio/lookups
@keeb/twilio/lookupsv2026.08.25.2
01README
Twilio lookups API models
02Release Notes
- Updated: rate_limit
03Models
@keeb/twilio/lookups/lookup-overridev2026.08.25.1lookup_override.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| phone_number | string | Path scope for the lookup override: phone_number |
| field | string | Path scope for the lookup override: field |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| line_type? | enum | The new line type to override the original line type |
| reason? | string | The reason for the override |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 lookup override
fn get()
Get a lookup override
fn update()
Update lookup override attributes
fn delete()
Delete the lookup override
fn sync()
Sync lookup override state from Twilio
Resources
state(infinite)— Lookup override resource state
@keeb/twilio/lookups/phone-numberv2026.08.25.1phone_number.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| phone_number | string | Path scope for the phone number: phone_number |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 phone number
| Argument | Type | Description |
|---|---|---|
| id | string | The phone_number of the phone number |
fn sync()
Sync phone number state from Twilio
Resources
state(infinite)— Phone number resource state
@keeb/twilio/lookups/phone-number-v2v2026.08.25.1phone_number_v2.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| phone_number | string | Path scope for the phone number v2: phone_number |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 phone number v2
| Argument | Type | Description |
|---|---|---|
| id | string | The phone_number of the phone number v2 |
fn sync()
Sync phone number v2 state from Twilio
Resources
state(infinite)— Phone number v2 resource state
@keeb/twilio/lookups/queryv2026.08.25.1query.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| phone_numbers? | array | |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 query
Resources
state(infinite)— Query resource state
@keeb/twilio/lookups/rate-limitv2026.08.25.2rate_limit.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_sid? | string | Twilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable. |
| name? | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auth_token? | string | Twilio 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? | string | Twilio API key SID (starts with SK). Takes precedence over auth_token. Overrides TWILIO_API_KEY_SID. |
| api_key_secret? | string | Twilio 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 lookup(fields?: string, max_items?: number)
List rate limits and record each as a data artifact (capped at 200 by default; writes a rate_limit_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| fields? | string | |
| max_items? | number | Stop 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 rate_limit_lookup record reports truncated: true. |
fn delete_fields_bucket(field: string, bucket: string)
Delete rate limit
| Argument | Type | Description |
|---|---|---|
| field | string | Path parameter: field |
| bucket | string | Path parameter: bucket |
fn get_fields_bucket(field: string, bucket: string)
Get rate limit
| Argument | Type | Description |
|---|---|---|
| field | string | Path parameter: field |
| bucket | string | Path parameter: bucket |
fn update_fields_bucket(field: string, bucket: string, limit?: number, ttl?: number)
Upsert rate limit
| Argument | Type | Description |
|---|---|---|
| field | string | Path parameter: field |
| bucket | string | Path parameter: bucket |
| limit? | number | Limit of requests for the bucket |
| ttl? | number | Time to live of the rule |
Resources
state(infinite)— Rate limit resource state
rate_limit_lookup(infinite)— Rate limit lookup coverage — whether the page walk exhausted the collection
rate_limit_action(ephemeral)— Rate limit action result
04Stats
B
85 / 100
Downloads
0
Archive size
25.1 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