This connector is optimized for AI agents. For the data replication connector, see Orb .
This is the full reference documentation for the Orb agent connector.
Supported entities and actions
The Orb connector supports the following entities and actions.
Customers
Customers List
Returns a paginated list of customers
Python SDK
await orb . customers . 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": "customers", "action": "list" }'
Parameters
Parameter Name Type Required Description limitintegerNo Number of items to return per page cursorstringNo Cursor for pagination
Response Schema Records Field Name Type Description idstringexternal_customer_idstring | nullnamestring | nullemailstring | nullcreated_atstring | nullpayment_providerstring | nullpayment_provider_idstring | nulltimezonestring | nullshipping_addressobject | anybilling_addressobject | anybalancestring | nullcurrencystring | nulltax_idobject | nullauto_collectionboolean | nullmetadataobject | null
Field Name Type Description next_cursorstring | null
Customers Get
Get a single customer by ID
Python SDK
await orb . customers . get ( customer_id = "<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": "customers", "action": "get", "params": { "customer_id": "<str>" } }'
Parameters
Parameter Name Type Required Description customer_idstringYes Customer ID
Response Schema Records Field Name Type Description idstringexternal_customer_idstring | nullnamestring | nullemailstring | nullcreated_atstring | nullpayment_providerstring | nullpayment_provider_idstring | nulltimezonestring | nullshipping_addressobject | anybilling_addressobject | anybalancestring | nullcurrencystring | nulltax_idobject | nullauto_collectionboolean | nullmetadataobject | null
Customers Search
Search and filter customers 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.
Python SDK
await orb . customers . search ( query = { "filter" : { "eq" : { "id" : "<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": "customers", "action": "search", "params": { "query": {"filter": {"eq": {"id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idstringThe unique identifier of the customer external_customer_idstringThe ID of the customer in an external system namestringThe name of the customer emailstringThe email address of the customer created_atstringThe date and time when the customer was created payment_providerstringThe payment provider used by the customer payment_provider_idstringThe ID of the customer in the payment provider's system timezonestringThe timezone setting of the customer shipping_addressobjectThe shipping address of the customer billing_addressobjectThe billing address of the customer
Response Schema Field Name Type Description 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[].idstringThe unique identifier of the customer data[].external_customer_idstringThe ID of the customer in an external system data[].namestringThe name of the customer data[].emailstringThe email address of the customer data[].created_atstringThe date and time when the customer was created data[].payment_providerstringThe payment provider used by the customer data[].payment_provider_idstringThe ID of the customer in the payment provider's system data[].timezonestringThe timezone setting of the customer data[].shipping_addressobjectThe shipping address of the customer data[].billing_addressobjectThe billing address of the customer
Subscriptions
Subscriptions List
Returns a paginated list of subscriptions
Python SDK
await orb . subscriptions . 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": "subscriptions", "action": "list" }'
Parameters
Parameter Name Type Required Description limitintegerNo Number of items to return per page cursorstringNo Cursor for pagination customer_idstringNo Filter subscriptions by customer ID external_customer_idstringNo Filter subscriptions by external customer ID status"active" | "ended" | "upcoming"No Filter subscriptions by status
Response Schema Records Field Name Type Description idstringcreated_atstring | nullstart_datestring | nullend_datestring | nullstatusstring | nullcustomerobject | nullplanobject | nullcurrent_billing_period_start_datestring | nullcurrent_billing_period_end_datestring | nullactive_plan_phase_orderinteger | nullfixed_fee_quantity_schedulearray | nullprice_intervalsarray | nullredeemed_couponobject | nulldefault_invoice_memostring | nullauto_collectionboolean | nullnet_termsinteger | nullinvoicing_thresholdstring | nullmetadataobject | null
Field Name Type Description next_cursorstring | null
Subscriptions Get
Get a single subscription by ID
Python SDK
await orb . subscriptions . get ( subscription_id = "<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": "subscriptions", "action": "get", "params": { "subscription_id": "<str>" } }'
Parameters
Parameter Name Type Required Description subscription_idstringYes Subscription ID
Response Schema Records Field Name Type Description idstringcreated_atstring | nullstart_datestring | nullend_datestring | nullstatusstring | nullcustomerobject | nullplanobject | nullcurrent_billing_period_start_datestring | nullcurrent_billing_period_end_datestring | nullactive_plan_phase_orderinteger | nullfixed_fee_quantity_schedulearray | nullprice_intervalsarray | nullredeemed_couponobject | nulldefault_invoice_memostring | nullauto_collectionboolean | nullnet_termsinteger | nullinvoicing_thresholdstring | nullmetadataobject | null
Subscriptions Search
Search and filter subscriptions 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.
Python SDK
await orb . subscriptions . search ( query = { "filter" : { "eq" : { "id" : "<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": "subscriptions", "action": "search", "params": { "query": {"filter": {"eq": {"id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idstringThe unique identifier of the subscription created_atstringThe date and time when the subscription was created start_datestringThe date and time when the subscription starts end_datestringThe date and time when the subscription ends statusstringThe current status of the subscription
Response Schema Field Name Type Description 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[].idstringThe unique identifier of the subscription data[].created_atstringThe date and time when the subscription was created data[].start_datestringThe date and time when the subscription starts data[].end_datestringThe date and time when the subscription ends data[].statusstringThe current status of the subscription
Plans
Plans List
Returns a paginated list of plans
Python SDK
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": "plans", "action": "list" }'
Parameters
Parameter Name Type Required Description limitintegerNo Number of items to return per page cursorstringNo Cursor for pagination
Response Schema Records Field Name Type Description idstringcreated_atstring | nullnamestring | nulldescriptionstring | nullstatusstring | nulldefault_invoice_memostring | nullnet_termsinteger | nullcurrencystring | nullpricesarray | nullproductobject | nullminimumobject | nullmaximumobject | nulldiscountobject | nulltrial_configobject | nullplan_phasesarray | nullexternal_plan_idstring | nullinvoicing_currencystring | nullmetadataobject | null
Field Name Type Description next_cursorstring | null
Plans Get
Get a single plan by ID
Python SDK
await orb . plans . get ( plan_id = "<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": "plans", "action": "get", "params": { "plan_id": "<str>" } }'
Parameters
Parameter Name Type Required Description plan_idstringYes Plan ID
Response Schema Records Field Name Type Description idstringcreated_atstring | nullnamestring | nulldescriptionstring | nullstatusstring | nulldefault_invoice_memostring | nullnet_termsinteger | nullcurrencystring | nullpricesarray | nullproductobject | nullminimumobject | nullmaximumobject | nulldiscountobject | nulltrial_configobject | nullplan_phasesarray | nullexternal_plan_idstring | nullinvoicing_currencystring | nullmetadataobject | null
Plans Search
Search and filter plans 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.
Python SDK
await orb . plans . search ( query = { "filter" : { "eq" : { "id" : "<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": "plans", "action": "search", "params": { "query": {"filter": {"eq": {"id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idstringThe unique identifier of the plan created_atstringThe date and time when the plan was created namestringThe name of the plan descriptionstringA description of the plan pricesarrayThe pricing options for the plan productobjectThe product associated with the plan
Response Schema Field Name Type Description 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[].idstringThe unique identifier of the plan data[].created_atstringThe date and time when the plan was created data[].namestringThe name of the plan data[].descriptionstringA description of the plan data[].pricesarrayThe pricing options for the plan data[].productobjectThe product associated with the plan
Invoices
Invoices List
Returns a paginated list of invoices
Python SDK
await orb . invoices . 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": "invoices", "action": "list" }'
Parameters
Parameter Name Type Required Description limitintegerNo Number of items to return per page cursorstringNo Cursor for pagination customer_idstringNo Filter invoices by customer ID external_customer_idstringNo Filter invoices by external customer ID subscription_idstringNo Filter invoices by subscription ID invoice_date_gtstringNo Filter invoices with invoice date greater than this value (ISO 8601 format) invoice_date_gtestringNo Filter invoices with invoice date greater than or equal to this value (ISO 8601 format) invoice_date_ltstringNo Filter invoices with invoice date less than this value (ISO 8601 format) invoice_date_ltestringNo Filter invoices with invoice date less than or equal to this value (ISO 8601 format) status"draft" | "issued" | "paid" | "synced" | "void"No Filter invoices by status
Response Schema Records Field Name Type Description idstringcreated_atstring | nullinvoice_datestring | nulldue_datestring | nullinvoice_pdfstring | nullsubtotalstring | nulltotalstring | nullamount_duestring | nullstatusstring | nullmemostring | nullissue_failed_atstring | nullsync_failed_atstring | nullpayment_failed_atstring | nullpayment_started_atstring | nullvoided_atstring | nullpaid_atstring | nullissued_atstring | nullhosted_invoice_urlstring | nullline_itemsarray | nullsubscriptionobject | nullcustomerobject | nullcurrencystring | nulldiscountobject | nullminimumobject | nullmaximumobject | nullcredit_notesarray | nullwill_auto_issueboolean | nulleligible_to_issue_atstring | nullcustomer_balance_transactionsarray | nullauto_collectionobject | nullinvoice_numberstring | nullbilling_addressobject | anyshipping_addressobject | anymetadataobject | null
Field Name Type Description next_cursorstring | null
Invoices Get
Get a single invoice by ID
Python SDK
await orb . invoices . get ( invoice_id = "<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": "invoices", "action": "get", "params": { "invoice_id": "<str>" } }'
Parameters
Parameter Name Type Required Description invoice_idstringYes Invoice ID
Response Schema Records Field Name Type Description idstringcreated_atstring | nullinvoice_datestring | nulldue_datestring | nullinvoice_pdfstring | nullsubtotalstring | nulltotalstring | nullamount_duestring | nullstatusstring | nullmemostring | nullissue_failed_atstring | nullsync_failed_atstring | nullpayment_failed_atstring | nullpayment_started_atstring | nullvoided_atstring | nullpaid_atstring | nullissued_atstring | nullhosted_invoice_urlstring | nullline_itemsarray | nullsubscriptionobject | nullcustomerobject | nullcurrencystring | nulldiscountobject | nullminimumobject | nullmaximumobject | nullcredit_notesarray | nullwill_auto_issueboolean | nulleligible_to_issue_atstring | nullcustomer_balance_transactionsarray | nullauto_collectionobject | nullinvoice_numberstring | nullbilling_addressobject | anyshipping_addressobject | anymetadataobject | null
Invoices Search
Search and filter invoices 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.
Python SDK
await orb . invoices . search ( query = { "filter" : { "eq" : { "id" : "<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": "invoices", "action": "search", "params": { "query": {"filter": {"eq": {"id": "<str>"}}} } }'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idstringThe unique identifier of the invoice created_atstringThe date and time when the invoice was created invoice_datestringThe date of the invoice due_datestringThe due date for the invoice invoice_pdfstringThe URL to download the PDF version of the invoice subtotalstringThe subtotal amount of the invoice totalstringThe total amount of the invoice amount_duestringThe amount due on the invoice statusstringThe current status of the invoice memostringAny additional notes or comments on the invoice paid_atstringThe date and time when the invoice was paid issued_atstringThe date and time when the invoice was issued hosted_invoice_urlstringThe URL to view the hosted invoice line_itemsarrayThe line items on the invoice subscriptionobjectThe subscription associated with the invoice
Response Schema Field Name Type Description 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[].idstringThe unique identifier of the invoice data[].created_atstringThe date and time when the invoice was created data[].invoice_datestringThe date of the invoice data[].due_datestringThe due date for the invoice data[].invoice_pdfstringThe URL to download the PDF version of the invoice data[].subtotalstringThe subtotal amount of the invoice data[].totalstringThe total amount of the invoice data[].amount_duestringThe amount due on the invoice data[].statusstringThe current status of the invoice data[].memostringAny additional notes or comments on the invoice data[].paid_atstringThe date and time when the invoice was paid data[].issued_atstringThe date and time when the invoice was issued data[].hosted_invoice_urlstringThe URL to view the hosted invoice data[].line_itemsarrayThe line items on the invoice data[].subscriptionobjectThe subscription associated with the invoice