Skip to main content

Twilio/serverless

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

Twilio serverless API models

02Release Notes
  • Updated: asset_version, asset, build, deployment, environment, function_version, function, log, service, variable
03Models12
@keeb/twilio/serverless/assetv2026.08.25.2asset.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.
service_sidstringPath scope for the asset: service_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
friendly_namestringA descriptive string that you create to describe the Asset resource. It can be a maximum of 255 characters.
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 asset
fn get(id: string)
Get a asset
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 asset_lookup record reports truncated: true.
fn update()
Update asset attributes
fn delete(id: string)
Delete the asset
ArgumentTypeDescription
idstringThe 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the asset version: service_sid
asset_sidstringPath scope for the asset version: asset_sid
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 asset version
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the build: service_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
asset_versions?arrayThe list of Asset Version resource SIDs to include in the Build.
function_versions?arrayThe list of the Function Version resource SIDs to include in the Build.
dependencies?stringA list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency.
runtime?stringThe Runtime version that will be used to run the Build resource when it is deployed.
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 build
fn get(id: string)
Get a build
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 build_lookup record reports truncated: true.
fn delete(id: string)
Delete the build
ArgumentTypeDescription
idstringThe 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the build status: service_sid
sidstringPath scope for the build status: sid
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()
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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the deployment: service_sid
environment_sidstringPath scope for the deployment: environment_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
build_sid?stringThe SID of the Build for the Deployment.
is_plugin?booleanWhether the Deployment is a plugin.
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 deployment
fn get(id: string)
Get a deployment
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the environment: service_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
unique_namestringA user-defined string that uniquely identifies the Environment resource. It can be a maximum of 100 characters.
domain_suffix?stringA URL-friendly name that represents the environment and forms part of the domain name. It can be a maximum of 16 characters.
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 environment
fn get(id: string)
Get a environment
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 environment_lookup record reports truncated: true.
fn delete(id: string)
Delete the environment
ArgumentTypeDescription
idstringThe 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the function: service_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
friendly_namestringA descriptive string that you create to describe the Function resource. It can be a maximum of 255 characters.
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 function
fn get(id: string)
Get a function
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 function_lookup record reports truncated: true.
fn update()
Update function attributes
fn delete(id: string)
Delete the function
ArgumentTypeDescription
idstringThe 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the function version: service_sid
function_sidstringPath scope for the function version: function_sid
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 function version
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the function version content: service_sid
function_sidstringPath scope for the function version content: function_sid
sidstringPath scope for the function version content: sid
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()
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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the log: service_sid
environment_sidstringPath scope for the log: environment_sid
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 log
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
function_sid?stringThe SID of the function whose invocation produced the Log resources to read.
start_date?stringThe 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?stringThe date/time (in GMT, ISO 8601) before which the Log resources must have been created. Defaults to current date/time.
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 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

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)
include_credentials?booleanWhether to inject Account credentials into a function invocation context. The default value is `true`.
friendly_namestringA descriptive string that you create to describe the Service resource. It can be a maximum of 255 characters.
ui_editable?booleanWhether the Service's properties and subresources can be edited via the UI. The default value is `false`.
unique_namestringA 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?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 service
fn get(id: string)
Get a service
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 service_lookup record reports truncated: true.
fn update()
Update service attributes
fn delete(id: string)
Delete the service
ArgumentTypeDescription
idstringThe 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

ArgumentTypeDescription
account_sid?stringTwilio Account SID (starts with AC). Also substituted for {AccountSid} path parameters. Overrides the TWILIO_ACCOUNT_SID environment variable.
service_sidstringPath scope for the variable: service_sid
environment_sidstringPath scope for the variable: environment_sid
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
keystringA string by which the Variable resource can be referenced. It can be a maximum of 128 characters.
valuestringA string that contains the actual value of the Variable. It can be a maximum of 450 bytes in size.
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 variable
fn get(id: string)
Get a variable
ArgumentTypeDescription
idstringThe 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)
ArgumentTypeDescription
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 variable_lookup record reports truncated: true.
fn update()
Update variable attributes
fn delete(id: string)
Delete the variable
ArgumentTypeDescription
idstringThe 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