Twilio/serverless
@keeb/twilio/serverlessv2026.08.25.2
01README
Twilio serverless API models
02Release Notes
- Updated: asset_version, asset, build, deployment, environment, function_version, function, log, service, variable
03Models
@keeb/twilio/serverless/assetv2026.08.25.2asset.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. |
| service_sid | string | Path scope for the asset: service_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| friendly_name | string | A descriptive string that you create to describe the Asset resource. It can be a maximum of 255 characters. |
| 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 asset
fn get(id: string)
Get a asset
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the asset |
fn lookup(max_items?: number)
List assets and record each as a data artifact (capped at 200 by default; writes a asset_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 asset_lookup record reports truncated: true. |
fn update()
Update asset attributes
fn delete(id: string)
Delete the asset
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the asset |
fn sync()
Sync asset state from Twilio
Resources
state(infinite)— Asset resource state
asset_lookup(infinite)— Asset lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/asset-versionv2026.08.25.2asset_version.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. |
| service_sid | string | Path scope for the asset version: service_sid |
| asset_sid | string | Path scope for the asset version: asset_sid |
| 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 asset version
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the asset version |
fn lookup(max_items?: number)
List asset versions and record each as a data artifact (capped at 200 by default; writes a asset_version_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 asset_version_lookup record reports truncated: true. |
fn sync()
Sync asset version state from Twilio
Resources
state(infinite)— Asset version resource state
asset_version_lookup(infinite)— Asset version lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/buildv2026.08.25.2build.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. |
| service_sid | string | Path scope for the build: service_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| asset_versions? | array | The list of Asset Version resource SIDs to include in the Build. |
| function_versions? | array | The list of the Function Version resource SIDs to include in the Build. |
| dependencies? | string | A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency. |
| runtime? | string | The Runtime version that will be used to run the Build resource when it is deployed. |
| 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 build
fn get(id: string)
Get a build
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the build |
fn lookup(max_items?: number)
List builds and record each as a data artifact (capped at 200 by default; writes a build_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 build_lookup record reports truncated: true. |
fn delete(id: string)
Delete the build
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the build |
fn sync()
Sync build state from Twilio
Resources
state(infinite)— Build resource state
build_lookup(infinite)— Build lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/build-statusv2026.08.25.1build_status.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. |
| service_sid | string | Path scope for the build status: service_sid |
| sid | string | Path scope for the build status: sid |
| 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()
Get a build status
fn sync()
Sync build status state from Twilio
Resources
state(infinite)— Build status resource state
@keeb/twilio/serverless/deploymentv2026.08.25.2deployment.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. |
| service_sid | string | Path scope for the deployment: service_sid |
| environment_sid | string | Path scope for the deployment: environment_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| build_sid? | string | The SID of the Build for the Deployment. |
| is_plugin? | boolean | Whether the Deployment is a plugin. |
| 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 deployment
fn get(id: string)
Get a deployment
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the deployment |
fn lookup(max_items?: number)
List deployments and record each as a data artifact (capped at 200 by default; writes a deployment_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 deployment_lookup record reports truncated: true. |
fn sync()
Sync deployment state from Twilio
Resources
state(infinite)— Deployment resource state
deployment_lookup(infinite)— Deployment lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/environmentv2026.08.25.2environment.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. |
| service_sid | string | Path scope for the environment: service_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| unique_name | string | A user-defined string that uniquely identifies the Environment resource. It can be a maximum of 100 characters. |
| domain_suffix? | string | A URL-friendly name that represents the environment and forms part of the domain name. It can be a maximum of 16 characters. |
| 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 environment
fn get(id: string)
Get a environment
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the environment |
fn lookup(max_items?: number)
List environments and record each as a data artifact (capped at 200 by default; writes a environment_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 environment_lookup record reports truncated: true. |
fn delete(id: string)
Delete the environment
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the environment |
fn sync()
Sync environment state from Twilio
Resources
state(infinite)— Environment resource state
environment_lookup(infinite)— Environment lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/functionv2026.08.25.2function.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. |
| service_sid | string | Path scope for the function: service_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| friendly_name | string | A descriptive string that you create to describe the Function resource. It can be a maximum of 255 characters. |
| 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 function
fn get(id: string)
Get a function
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the function |
fn lookup(max_items?: number)
List functions and record each as a data artifact (capped at 200 by default; writes a function_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 function_lookup record reports truncated: true. |
fn update()
Update function attributes
fn delete(id: string)
Delete the function
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the function |
fn sync()
Sync function state from Twilio
Resources
state(infinite)— Function resource state
function_lookup(infinite)— Function lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/function-versionv2026.08.25.2function_version.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. |
| service_sid | string | Path scope for the function version: service_sid |
| function_sid | string | Path scope for the function version: function_sid |
| 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 function version
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the function version |
fn lookup(max_items?: number)
List function versions and record each as a data artifact (capped at 200 by default; writes a function_version_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 function_version_lookup record reports truncated: true. |
fn sync()
Sync function version state from Twilio
Resources
state(infinite)— Function version resource state
function_version_lookup(infinite)— Function version lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/function-version-contentv2026.08.25.1function_version_content.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. |
| service_sid | string | Path scope for the function version content: service_sid |
| function_sid | string | Path scope for the function version content: function_sid |
| sid | string | Path scope for the function version content: sid |
| 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()
Get a function version content
fn sync()
Sync function version content state from Twilio
Resources
state(infinite)— Function version content resource state
@keeb/twilio/serverless/logv2026.08.25.2log.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. |
| service_sid | string | Path scope for the log: service_sid |
| environment_sid | string | Path scope for the log: environment_sid |
| 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 log
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the log |
fn lookup(function_sid?: string, start_date?: string, end_date?: string, max_items?: number)
List logs and record each as a data artifact (capped at 200 by default; writes a log_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| function_sid? | string | The SID of the function whose invocation produced the Log resources to read. |
| start_date? | string | The date/time (in GMT, ISO 8601) after which the Log resources must have been created. Defaults to 1 day prior to current date/time. |
| end_date? | string | The date/time (in GMT, ISO 8601) before which the Log resources must have been created. Defaults to current date/time. |
| 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 log_lookup record reports truncated: true. |
fn sync()
Sync log state from Twilio
Resources
state(infinite)— Log resource state
log_lookup(infinite)— Log lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/servicev2026.08.25.2service.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) |
| include_credentials? | boolean | Whether to inject Account credentials into a function invocation context. The default value is `true`. |
| friendly_name | string | A descriptive string that you create to describe the Service resource. It can be a maximum of 255 characters. |
| ui_editable? | boolean | Whether the Service's properties and subresources can be edited via the UI. The default value is `false`. |
| unique_name | string | A user-defined string that uniquely identifies the Service resource. It can be used as an alternative to the `sid` in the URL path to address the Service resource. This value must be 50 characters or less in length and be unique. |
| 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 service
fn get(id: string)
Get a service
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the service |
fn lookup(max_items?: number)
List services and record each as a data artifact (capped at 200 by default; writes a service_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 service_lookup record reports truncated: true. |
fn update()
Update service attributes
fn delete(id: string)
Delete the service
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the service |
fn sync()
Sync service state from Twilio
Resources
state(infinite)— Service resource state
service_lookup(infinite)— Service lookup coverage — whether the page walk exhausted the collection
@keeb/twilio/serverless/variablev2026.08.25.2variable.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. |
| service_sid | string | Path scope for the variable: service_sid |
| environment_sid | string | Path scope for the variable: environment_sid |
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| key | string | A string by which the Variable resource can be referenced. It can be a maximum of 128 characters. |
| value | string | A string that contains the actual value of the Variable. It can be a maximum of 450 bytes in size. |
| 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 variable
fn get(id: string)
Get a variable
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the variable |
fn lookup(max_items?: number)
List variables and record each as a data artifact (capped at 200 by default; writes a variable_lookup record with the coverage of the walk)
| Argument | Type | Description |
|---|---|---|
| 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 variable_lookup record reports truncated: true. |
fn update()
Update variable attributes
fn delete(id: string)
Delete the variable
| Argument | Type | Description |
|---|---|---|
| id | string | The sid of the variable |
fn sync()
Sync variable state from Twilio
Resources
state(infinite)— Variable resource state
variable_lookup(infinite)— Variable lookup coverage — whether the page walk exhausted the collection
04Stats
B
85 / 100
Downloads
0
Archive size
48.3 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