Skip to main content

Twilio full reference

This is the full reference documentation for the Twilio agent connector.

Supported entities and actions​

The Twilio connector supports the following entities and actions.

EntityActions
AccountsList, Get, Context Store Search, Context Store SQL Query
CallsList, Create, Get, Context Store Search, Context Store SQL Query
MessagesList, Create, Get, Context Store Search, Context Store SQL Query, Semantic Search
Incoming Phone NumbersList, Create, Get, Context Store Search, Context Store SQL Query
RecordingsList, Get, Context Store Search, Context Store SQL Query
ConferencesList, Get, Context Store Search, Context Store SQL Query
Usage RecordsList, Context Store Search, Context Store SQL Query
AddressesList, Get, Context Store Search, Context Store SQL Query
QueuesList, Get, Context Store Search, Context Store SQL Query
TranscriptionsList, Get, Context Store Search, Context Store SQL Query
Outgoing Caller IdsList, Get, Context Store Search, Context Store SQL Query

Accounts​

Accounts List​

Returns a list of accounts associated with the authenticated account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "accounts",
"action": "list"
}'

Python SDK​

await twilio.accounts.list()

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "list"
}'

Parameters​

Parameter NameTypeRequiredDescription
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
auth_tokennull | string
date_creatednull | string
date_updatednull | string
friendly_namenull | string
owner_account_sidnull | string
sidnull | string
statusnull | string
subresource_urisnull | object
typenull | string
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Accounts Get​

Get a single account by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "accounts",
"action": "get",
"params": {
"sid": "<str>"
}
}'

Python SDK​

await twilio.accounts.get(
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "get",
"params": {
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sidstringYesAccount SID
Response Schema

Records​

Field NameTypeDescription
auth_tokennull | string
date_creatednull | string
date_updatednull | string
friendly_namenull | string
owner_account_sidnull | string
sidnull | string
statusnull | string
subresource_urisnull | object
typenull | string
urinull | string

Search and filter accounts records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "accounts",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.accounts.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier for the account
friendly_namestringA user-defined friendly name for the account
statusstringThe current status of the account
typestringThe type of the account
owner_account_sidstringThe SID of the owner account
date_createdstringThe timestamp when the account was created
date_updatedstringThe timestamp when the account was last updated
uristringThe URI for accessing the account resource
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier for the account
data[].friendly_namestringA user-defined friendly name for the account
data[].statusstringThe current status of the account
data[].typestringThe type of the account
data[].owner_account_sidstringThe SID of the owner account
data[].date_createdstringThe timestamp when the account was created
data[].date_updatedstringThe timestamp when the account was last updated
data[].uristringThe URI for accessing the account resource

Accounts Context Store SQL Query​

Run a SQL query against accounts records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "accounts",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.accounts.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "accounts",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Calls​

Calls List​

Returns a list of calls made to and from an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "calls",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.calls.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "calls",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
sidnull | string
date_creatednull | string
date_updatednull | string
parent_call_sidnull | string
account_sidnull | string
tonull | string
to_formattednull | string
fromnull | string
from_formattednull | string
phone_number_sidnull | string
statusnull | string
start_timenull | string
end_timenull | string
durationnull | string
pricenull | string
price_unitnull | string
directionnull | string
answered_bynull | string
annotationnull | string
api_versionnull | string
forwarded_fromnull | string
group_sidnull | string
caller_namenull | string
queue_timenull | string
trunk_sidnull | string
urinull | string
subresource_urisnull | object

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Calls Create​

Initiate an outbound phone call. Requires a recipient (To), a caller ID (From), and call instructions via a TwiML URL, TwiML content, or ApplicationSid. The call will be queued and placed at the account's CPS rate.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "calls",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.calls.create(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "calls",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesThe Account SID that will create the call
Response Schema

Records​

Field NameTypeDescription
sidnull | string
date_creatednull | string
date_updatednull | string
parent_call_sidnull | string
account_sidnull | string
tonull | string
to_formattednull | string
fromnull | string
from_formattednull | string
phone_number_sidnull | string
statusnull | string
start_timenull | string
end_timenull | string
durationnull | string
pricenull | string
price_unitnull | string
directionnull | string
answered_bynull | string
annotationnull | string
api_versionnull | string
forwarded_fromnull | string
group_sidnull | string
caller_namenull | string
queue_timenull | string
trunk_sidnull | string
urinull | string
subresource_urisnull | object

Calls Get​

Get a single call by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "calls",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.calls.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "calls",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesCall SID
Response Schema

Records​

Field NameTypeDescription
sidnull | string
date_creatednull | string
date_updatednull | string
parent_call_sidnull | string
account_sidnull | string
tonull | string
to_formattednull | string
fromnull | string
from_formattednull | string
phone_number_sidnull | string
statusnull | string
start_timenull | string
end_timenull | string
durationnull | string
pricenull | string
price_unitnull | string
directionnull | string
answered_bynull | string
annotationnull | string
api_versionnull | string
forwarded_fromnull | string
group_sidnull | string
caller_namenull | string
queue_timenull | string
trunk_sidnull | string
urinull | string
subresource_urisnull | object

Search and filter calls records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "calls",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.calls.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "calls",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier for the call
account_sidstringThe unique identifier for the account associated with the call
tostringThe phone number that received the call
fromstringThe phone number that made the call
statusstringThe current status of the call
directionstringThe direction of the call (inbound or outbound)
durationstringThe duration of the call in seconds
pricestringThe cost of the call
price_unitstringThe currency unit of the call cost
start_timestringThe date and time when the call started
end_timestringThe date and time when the call ended
date_createdstringThe date and time when the call record was created
date_updatedstringThe date and time when the call record was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier for the call
data[].account_sidstringThe unique identifier for the account associated with the call
data[].tostringThe phone number that received the call
data[].fromstringThe phone number that made the call
data[].statusstringThe current status of the call
data[].directionstringThe direction of the call (inbound or outbound)
data[].durationstringThe duration of the call in seconds
data[].pricestringThe cost of the call
data[].price_unitstringThe currency unit of the call cost
data[].start_timestringThe date and time when the call started
data[].end_timestringThe date and time when the call ended
data[].date_createdstringThe date and time when the call record was created
data[].date_updatedstringThe date and time when the call record was last updated

Calls Context Store SQL Query​

Run a SQL query against calls records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "calls",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.calls.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "calls",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Messages​

Messages List​

Returns a list of messages associated with an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.messages.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
bodynull | string
date_creatednull | string
date_sentnull | string
date_updatednull | string
directionnull | string
error_codenull | string
error_messagenull | string
fromnull | string
messaging_service_sidnull | string
num_medianull | string
num_segmentsnull | string
pricenull | string
price_unitnull | string
sidnull | string
statusnull | string
subresource_urisnull | object
tonull | string
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Messages Create​

Send an outbound SMS, MMS, or WhatsApp message. Requires a recipient (To), a sender (From or MessagingServiceSid), and content (Body, MediaUrl, or ContentSid). Twilio uses application/x-www-form-urlencoded encoding for request bodies.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.messages.create(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesThe Account SID that will create the message
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
bodynull | string
date_creatednull | string
date_sentnull | string
date_updatednull | string
directionnull | string
error_codenull | string
error_messagenull | string
fromnull | string
messaging_service_sidnull | string
num_medianull | string
num_segmentsnull | string
pricenull | string
price_unitnull | string
sidnull | string
statusnull | string
subresource_urisnull | object
tonull | string
urinull | string

Messages Get​

Get a single message by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.messages.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesMessage SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
bodynull | string
date_creatednull | string
date_sentnull | string
date_updatednull | string
directionnull | string
error_codenull | string
error_messagenull | string
fromnull | string
messaging_service_sidnull | string
num_medianull | string
num_segmentsnull | string
pricenull | string
price_unitnull | string
sidnull | string
statusnull | string
subresource_urisnull | object
tonull | string
urinull | string

Search and filter messages records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.messages.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier for this message
account_sidstringThe unique identifier for the account associated with this message
tostringThe phone number or recipient ID the message was sent to
fromstringThe phone number or sender ID that sent the message
bodystringThe text body of the message
statusstringThe status of the message
directionstringThe direction of the message
pricestringThe cost of the message
price_unitstringThe currency unit used for pricing
date_createdstringThe date and time when the message was created
date_sentstringThe date and time when the message was sent
error_codestringThe error code associated with the message if any
error_messagestringThe error message description if the message failed
num_segmentsstringThe number of message segments
num_mediastringThe number of media files included in the message
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier for this message
data[].account_sidstringThe unique identifier for the account associated with this message
data[].tostringThe phone number or recipient ID the message was sent to
data[].fromstringThe phone number or sender ID that sent the message
data[].bodystringThe text body of the message
data[].statusstringThe status of the message
data[].directionstringThe direction of the message
data[].pricestringThe cost of the message
data[].price_unitstringThe currency unit used for pricing
data[].date_createdstringThe date and time when the message was created
data[].date_sentstringThe date and time when the message was sent
data[].error_codestringThe error code associated with the message if any
data[].error_messagestringThe error message description if the message failed
data[].num_segmentsstringThe number of message segments
data[].num_mediastringThe number of media files included in the message

Messages Context Store SQL Query​

Run a SQL query against messages records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.messages.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Search messages records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "messages",
"action": "context_store_search",
"params": {
"semantic": {"field": "body", "prompt": "<your natural-language query>"}
}
}'

Python SDK​

Semantic search is passed through the generic execute method — the typed messages.context_store_search helper only accepts query.

await twilio.execute(
"messages",
"context_store_search",
{"semantic": {"field": "body", "prompt": "<your natural-language query>"}},
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "messages",
"action": "context_store_search",
"params": {
"semantic": {"field": "body", "prompt": "<your natural-language query>"}
}
}'

Semantic Parameters​

Parameter NameTypeRequiredDescription
semantic.fieldstringYesField to search semantically. Mutually exclusive with query.
semantic.promptstringYesNatural-language query that is embedded and compared against stored passages.
semantic.filterobjectNoFilter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity.
semantic.context_sizeintegerNoCharacters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window.
semantic.min_similaritynumberNoMinimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff.
semantic.dedupstringNomax (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.
fieldsarrayNoField paths to include in results (dot notation for nested fields). Applied to each hit's entity.
limitintegerNoMaximum results to return (default 10, maximum 100).

Semantically Searchable Fields​

Field NameMax Context (chars)Description
body2048The text body of the message
Response Schema
Field NameTypeDescription
dataarrayList of matching passages
data[].entityobjectThe matched source record
data[].entity.sidstringSource record field
data[].entity.date_sentstringSource record field
data[].entity.date_createdstringSource record field
data[].entity.directionstringSource record field
data[].entity.statusstringSource record field
data[].entity.fromstringSource record field
data[].entity.tostringSource record field
data[].entity.error_codestringSource record field
data[].entity.error_messagestringSource record field
data[].metadataobjectMatch metadata
data[].metadata.scorenumberSimilarity score
data[].metadata.contextstringThe matched passage text
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds

Incoming Phone Numbers​

Incoming Phone Numbers List​

Returns a list of incoming phone numbers for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "incoming_phone_numbers",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.incoming_phone_numbers.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "incoming_phone_numbers",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
sidnull | string
account_sidnull | string
friendly_namenull | string
phone_numbernull | string
voice_urlnull | string
voice_methodnull | string
voice_fallback_urlnull | string
voice_fallback_methodnull | string
voice_caller_id_lookupnull | boolean
date_creatednull | string
date_updatednull | string
sms_urlnull | string
sms_methodnull | string
sms_fallback_urlnull | string
sms_fallback_methodnull | string
address_requirementsnull | string
betanull | boolean
capabilitiesnull | object
voice_receive_modenull | string
status_callbacknull | string
status_callback_methodnull | string
api_versionnull | string
voice_application_sidnull | string
sms_application_sidnull | string
originnull | string
trunk_sidnull | string
emergency_statusnull | string
emergency_address_sidnull | string
emergency_address_statusnull | string
address_sidnull | string
identity_sidnull | string
bundle_sidnull | string
urinull | string
statusnull | string
typenull | string
subresource_urisnull | object

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Incoming Phone Numbers Create​

Purchase and provision a new Twilio phone number. You must provide either a specific PhoneNumber in E.164 format or an AreaCode (US/Canada only). The number will be added to your account and can be configured for voice and SMS.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "incoming_phone_numbers",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.incoming_phone_numbers.create(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "incoming_phone_numbers",
"action": "create",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesThe Account SID that will own the phone number
Response Schema

Records​

Field NameTypeDescription
sidnull | string
account_sidnull | string
friendly_namenull | string
phone_numbernull | string
voice_urlnull | string
voice_methodnull | string
voice_fallback_urlnull | string
voice_fallback_methodnull | string
voice_caller_id_lookupnull | boolean
date_creatednull | string
date_updatednull | string
sms_urlnull | string
sms_methodnull | string
sms_fallback_urlnull | string
sms_fallback_methodnull | string
address_requirementsnull | string
betanull | boolean
capabilitiesnull | object
voice_receive_modenull | string
status_callbacknull | string
status_callback_methodnull | string
api_versionnull | string
voice_application_sidnull | string
sms_application_sidnull | string
originnull | string
trunk_sidnull | string
emergency_statusnull | string
emergency_address_sidnull | string
emergency_address_statusnull | string
address_sidnull | string
identity_sidnull | string
bundle_sidnull | string
urinull | string
statusnull | string
typenull | string
subresource_urisnull | object

Incoming Phone Numbers Get​

Get a single incoming phone number by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "incoming_phone_numbers",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.incoming_phone_numbers.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "incoming_phone_numbers",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesIncoming phone number SID
Response Schema

Records​

Field NameTypeDescription
sidnull | string
account_sidnull | string
friendly_namenull | string
phone_numbernull | string
voice_urlnull | string
voice_methodnull | string
voice_fallback_urlnull | string
voice_fallback_methodnull | string
voice_caller_id_lookupnull | boolean
date_creatednull | string
date_updatednull | string
sms_urlnull | string
sms_methodnull | string
sms_fallback_urlnull | string
sms_fallback_methodnull | string
address_requirementsnull | string
betanull | boolean
capabilitiesnull | object
voice_receive_modenull | string
status_callbacknull | string
status_callback_methodnull | string
api_versionnull | string
voice_application_sidnull | string
sms_application_sidnull | string
originnull | string
trunk_sidnull | string
emergency_statusnull | string
emergency_address_sidnull | string
emergency_address_statusnull | string
address_sidnull | string
identity_sidnull | string
bundle_sidnull | string
urinull | string
statusnull | string
typenull | string
subresource_urisnull | object

Search and filter incoming phone numbers records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "incoming_phone_numbers",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.incoming_phone_numbers.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "incoming_phone_numbers",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe SID of this phone number
account_sidstringThe SID of the account that owns this phone number
phone_numberstringThe phone number in E.164 format
friendly_namestringA user-assigned friendly name for this phone number
statusstringStatus of the phone number
capabilitiesobjectCapabilities of this phone number
date_createdstringWhen the phone number was created
date_updatedstringWhen the phone number was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe SID of this phone number
data[].account_sidstringThe SID of the account that owns this phone number
data[].phone_numberstringThe phone number in E.164 format
data[].friendly_namestringA user-assigned friendly name for this phone number
data[].statusstringStatus of the phone number
data[].capabilitiesobjectCapabilities of this phone number
data[].date_createdstringWhen the phone number was created
data[].date_updatedstringWhen the phone number was last updated

Incoming Phone Numbers Context Store SQL Query​

Run a SQL query against incoming phone numbers records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "incoming_phone_numbers",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.incoming_phone_numbers.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "incoming_phone_numbers",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Recordings​

Recordings List​

Returns a list of recordings for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "recordings",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.recordings.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "recordings",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
call_sidnull | string
conference_sidnull | string
date_creatednull | string
date_updatednull | string
start_timenull | string
durationnull | string
sidnull | string
pricenull | string
price_unitnull | string
statusnull | string
channelsnull | integer
sourcenull | string
error_codenull | string
media_urlnull | string
urinull | string
encryption_detailsnull | object
subresource_urisnull | object

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Recordings Get​

Get a single recording by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "recordings",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.recordings.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "recordings",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesRecording SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
call_sidnull | string
conference_sidnull | string
date_creatednull | string
date_updatednull | string
start_timenull | string
durationnull | string
sidnull | string
pricenull | string
price_unitnull | string
statusnull | string
channelsnull | integer
sourcenull | string
error_codenull | string
media_urlnull | string
urinull | string
encryption_detailsnull | object
subresource_urisnull | object

Search and filter recordings records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "recordings",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.recordings.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "recordings",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier of the recording
account_sidstringThe account SID that owns the recording
call_sidstringThe SID of the associated call
durationstringDuration in seconds
statusstringThe status of the recording
channelsintegerNumber of audio channels
pricestringThe cost of storing the recording
price_unitstringThe currency unit
date_createdstringWhen the recording was created
start_timestringWhen the recording started
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier of the recording
data[].account_sidstringThe account SID that owns the recording
data[].call_sidstringThe SID of the associated call
data[].durationstringDuration in seconds
data[].statusstringThe status of the recording
data[].channelsintegerNumber of audio channels
data[].pricestringThe cost of storing the recording
data[].price_unitstringThe currency unit
data[].date_createdstringWhen the recording was created
data[].start_timestringWhen the recording started

Recordings Context Store SQL Query​

Run a SQL query against recordings records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "recordings",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.recordings.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "recordings",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Conferences​

Conferences List​

Returns a list of conferences for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "conferences",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.conferences.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conferences",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
date_creatednull | string
date_updatednull | string
api_versionnull | string
friendly_namenull | string
regionnull | string
sidnull | string
statusnull | string
urinull | string
reason_conference_endednull | string
call_sid_ending_conferencenull | string
subresource_urisnull | object

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Conferences Get​

Get a single conference by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "conferences",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.conferences.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conferences",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesConference SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
date_creatednull | string
date_updatednull | string
api_versionnull | string
friendly_namenull | string
regionnull | string
sidnull | string
statusnull | string
urinull | string
reason_conference_endednull | string
call_sid_ending_conferencenull | string
subresource_urisnull | object

Search and filter conferences records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "conferences",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.conferences.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conferences",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier of the conference
account_sidstringThe account SID associated with the conference
friendly_namestringA friendly name for the conference
statusstringThe current status of the conference
regionstringThe region where the conference is hosted
date_createdstringWhen the conference was created
date_updatedstringWhen the conference was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier of the conference
data[].account_sidstringThe account SID associated with the conference
data[].friendly_namestringA friendly name for the conference
data[].statusstringThe current status of the conference
data[].regionstringThe region where the conference is hosted
data[].date_createdstringWhen the conference was created
data[].date_updatedstringWhen the conference was last updated

Conferences Context Store SQL Query​

Run a SQL query against conferences records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "conferences",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.conferences.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conferences",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Usage Records​

Usage Records List​

Returns a list of usage records for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "usage_records",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.usage_records.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "usage_records",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
as_ofnull | string
categorynull | string
countnull | string
count_unitnull | string
descriptionnull | string
end_datenull | string
pricenull | string
price_unitnull | string
start_datenull | string
subresource_urisnull | object
usagenull | string
usage_unitnull | string
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Search and filter usage records records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "usage_records",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"account_sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.usage_records.context_store_search(
query={"filter": {"eq": {"account_sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "usage_records",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"account_sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
account_sidstringThe account SID associated with this usage record
categorystringThe usage category (calls, SMS, recordings, etc.)
descriptionstringA description of the usage record
usagestringThe total usage value
usage_unitstringThe unit of measurement for usage
countstringThe number of units consumed
count_unitstringThe unit of measurement for count
pricestringThe total price for consumed units
price_unitstringThe currency unit
start_datestringThe start date of the usage period
end_datestringThe end date of the usage period
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].account_sidstringThe account SID associated with this usage record
data[].categorystringThe usage category (calls, SMS, recordings, etc.)
data[].descriptionstringA description of the usage record
data[].usagestringThe total usage value
data[].usage_unitstringThe unit of measurement for usage
data[].countstringThe number of units consumed
data[].count_unitstringThe unit of measurement for count
data[].pricestringThe total price for consumed units
data[].price_unitstringThe currency unit
data[].start_datestringThe start date of the usage period
data[].end_datestringThe end date of the usage period

Usage Records Context Store SQL Query​

Run a SQL query against usage records records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "usage_records",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.usage_records.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "usage_records",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Addresses​

Addresses List​

Returns a list of addresses for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "addresses",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.addresses.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "addresses",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
citynull | string
customer_namenull | string
date_creatednull | string
date_updatednull | string
emergency_enablednull | boolean
friendly_namenull | string
iso_countrynull | string
postal_codenull | string
regionnull | string
sidnull | string
streetnull | string
street_secondarynull | string
validatednull | boolean
verifiednull | boolean
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Addresses Get​

Get a single address by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "addresses",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.addresses.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "addresses",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesAddress SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
citynull | string
customer_namenull | string
date_creatednull | string
date_updatednull | string
emergency_enablednull | boolean
friendly_namenull | string
iso_countrynull | string
postal_codenull | string
regionnull | string
sidnull | string
streetnull | string
street_secondarynull | string
validatednull | boolean
verifiednull | boolean
urinull | string

Search and filter addresses records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "addresses",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.addresses.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "addresses",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier of the address
account_sidstringThe account SID associated with this address
customer_namestringThe customer name associated with this address
friendly_namestringA friendly name for the address
streetstringThe street address
citystringThe city of the address
regionstringThe region or state
postal_codestringThe postal code
iso_countrystringThe ISO 3166-1 alpha-2 country code
validatedbooleanWhether the address has been validated
verifiedbooleanWhether the address has been verified
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier of the address
data[].account_sidstringThe account SID associated with this address
data[].customer_namestringThe customer name associated with this address
data[].friendly_namestringA friendly name for the address
data[].streetstringThe street address
data[].citystringThe city of the address
data[].regionstringThe region or state
data[].postal_codestringThe postal code
data[].iso_countrystringThe ISO 3166-1 alpha-2 country code
data[].validatedbooleanWhether the address has been validated
data[].verifiedbooleanWhether the address has been verified

Addresses Context Store SQL Query​

Run a SQL query against addresses records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "addresses",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.addresses.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "addresses",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Queues​

Queues List​

Returns a list of queues for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "queues",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.queues.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "queues",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
average_wait_timenull | integer
current_sizenull | integer
date_creatednull | string
date_updatednull | string
friendly_namenull | string
max_sizenull | integer
sidnull | string
urinull | string
subresource_urisnull | object

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Queues Get​

Get a single queue by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "queues",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.queues.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "queues",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesQueue SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
average_wait_timenull | integer
current_sizenull | integer
date_creatednull | string
date_updatednull | string
friendly_namenull | string
max_sizenull | integer
sidnull | string
urinull | string
subresource_urisnull | object

Search and filter queues records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "queues",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.queues.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "queues",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier for the queue
account_sidstringThe account SID that owns this queue
friendly_namestringA friendly name for the queue
current_sizeintegerCurrent number of callers waiting
max_sizeintegerMaximum number of callers allowed
average_wait_timeintegerAverage wait time in seconds
date_createdstringWhen the queue was created
date_updatedstringWhen the queue was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier for the queue
data[].account_sidstringThe account SID that owns this queue
data[].friendly_namestringA friendly name for the queue
data[].current_sizeintegerCurrent number of callers waiting
data[].max_sizeintegerMaximum number of callers allowed
data[].average_wait_timeintegerAverage wait time in seconds
data[].date_createdstringWhen the queue was created
data[].date_updatedstringWhen the queue was last updated

Queues Context Store SQL Query​

Run a SQL query against queues records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "queues",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.queues.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "queues",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Transcriptions​

Transcriptions List​

Returns a list of transcriptions for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "transcriptions",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.transcriptions.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "transcriptions",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
date_creatednull | string
date_updatednull | string
durationnull | string
pricenull | string
price_unitnull | string
recording_sidnull | string
sidnull | string
statusnull | string
transcription_textnull | string
typenull | string
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Transcriptions Get​

Get a single transcription by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "transcriptions",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.transcriptions.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "transcriptions",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesTranscription SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
api_versionnull | string
date_creatednull | string
date_updatednull | string
durationnull | string
pricenull | string
price_unitnull | string
recording_sidnull | string
sidnull | string
statusnull | string
transcription_textnull | string
typenull | string
urinull | string

Search and filter transcriptions records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "transcriptions",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.transcriptions.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "transcriptions",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier for the transcription
account_sidstringThe account SID
recording_sidstringThe SID of the associated recording
statusstringThe status of the transcription
durationstringDuration of the audio recording in seconds
pricestringThe cost of the transcription
price_unitstringThe currency unit
date_createdstringWhen the transcription was created
date_updatedstringWhen the transcription was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier for the transcription
data[].account_sidstringThe account SID
data[].recording_sidstringThe SID of the associated recording
data[].statusstringThe status of the transcription
data[].durationstringDuration of the audio recording in seconds
data[].pricestringThe cost of the transcription
data[].price_unitstringThe currency unit
data[].date_createdstringWhen the transcription was created
data[].date_updatedstringWhen the transcription was last updated

Transcriptions Context Store SQL Query​

Run a SQL query against transcriptions records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "transcriptions",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.transcriptions.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "transcriptions",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds

Outgoing Caller Ids​

Outgoing Caller Ids List​

Returns a list of outgoing caller IDs for an account

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "outgoing_caller_ids",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Python SDK​

await twilio.outgoing_caller_ids.list(
account_sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "outgoing_caller_ids",
"action": "list",
"params": {
"AccountSid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
PageSizeintegerNoNumber of items to return per page
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
date_creatednull | string
date_updatednull | string
friendly_namenull | string
phone_numbernull | string
sidnull | string
urinull | string

Meta​

Field NameTypeDescription
next_page_urinull | string
first_page_urinull | string
pagenull | integer
page_sizenull | integer

Outgoing Caller Ids Get​

Get a single outgoing caller ID by SID

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "outgoing_caller_ids",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Python SDK​

await twilio.outgoing_caller_ids.get(
account_sid="<str>",
sid="<str>"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "outgoing_caller_ids",
"action": "get",
"params": {
"AccountSid": "<str>",
"sid": "<str>"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
AccountSidstringYesAccount SID
sidstringYesOutgoing caller ID SID
Response Schema

Records​

Field NameTypeDescription
account_sidnull | string
date_creatednull | string
date_updatednull | string
friendly_namenull | string
phone_numbernull | string
sidnull | string
urinull | string

Search and filter outgoing caller ids records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "outgoing_caller_ids",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"sid": "<str>"
}
}
}
}
}'

Python SDK​

await twilio.outgoing_caller_ids.context_store_search(
query={"filter": {"eq": {"sid": "<str>"}}}
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "outgoing_caller_ids",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"sid": "<str>"}}}
}
}'

Parameters​

Parameter NameTypeRequiredDescription
queryobjectYesFilter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, array_contains, fuzzy, keyword, not, and, or
query.filterobjectNoFilter conditions
query.sortarrayNoSort conditions
limitintegerNoMaximum results to return (default 1000)
cursorstringNoPagination cursor from previous response's meta.cursor
fieldsarrayNoField paths to include in results

Searchable Fields​

Field NameTypeDescription
sidstringThe unique identifier
account_sidstringThe account SID
phone_numberstringThe phone number
friendly_namestringA friendly name
date_createdstringWhen the outgoing caller ID was created
date_updatedstringWhen the outgoing caller ID was last updated
Response Schema
Field NameTypeDescription
dataarrayList of matching records
metaobjectPagination metadata
meta.has_morebooleanWhether additional pages are available
meta.cursorstring | nullCursor for next page of results
meta.took_msnumber | nullQuery execution time in milliseconds
data[].sidstringThe unique identifier
data[].account_sidstringThe account SID
data[].phone_numberstringThe phone number
data[].friendly_namestringA friendly name
data[].date_createdstringWhen the outgoing caller ID was created
data[].date_updatedstringWhen the outgoing caller ID was last updated

Outgoing Caller Ids Context Store SQL Query​

Run a SQL query against outgoing caller ids records in the Airbyte Context Store. SQL projections may return any set of columns, so each result row is a dictionary matching the query's selected fields. Only available in hosted mode.

Use the hosted server documentation to find the qualified Context Store table name and SQL guidance.

CLI​

airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "twilio",
"entity": "outgoing_caller_ids",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Python SDK​

await twilio.outgoing_caller_ids.context_store_sql_query(
sql="SELECT * FROM <qualified_context_store_table> LIMIT 100"
)

API​

curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "outgoing_caller_ids",
"action": "context_store_sql_query",
"params": {
"sql": "SELECT * FROM <qualified_context_store_table> LIMIT 100"
}
}'

Parameters​

Parameter NameTypeRequiredDescription
sqlstringYesSQL query to execute against this entity's Context Store data
limitintegerNoMaximum results to return
Response Schema
Field NameTypeDescription
dataarrayProjected rows, with dictionary keys matching the selected columns
metaobjectQuery metadata
meta.has_morebooleanWhether the result was limited and more rows are available
meta.cursornullSQL query results do not use cursor pagination
meta.took_msnumber | nullQuery execution time in milliseconds