# autopilot-cli **Repository Path**: mirrors_twilio/autopilot-cli ## Basic Information - **Project Name**: autopilot-cli - **Description**: The Twilio Autopilot CLI is now deprecated. Please use the Autopilot Plugin for the Twilio CLI here https://www.twilio.com/docs/autopilot/twilio-autopilot-cli - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2025-08-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > :warning: **The Autopilot CLI is now deprecated**: Please use the Autopilot Plugin for the Twilio CLI found here https://www.twilio.com/docs/autopilot/twilio-autopilot-cli Twilio Autopilot CLI === A command line interface for managing your Twilio Autopilot bots. After installing you'll be able to: * Create an assistant from a template * Export an existing assistant to a json file * Update an existing assistant with a json file * Delete an assistant * Simulate an Assistant * Import a DialogFlow Agent/Alexa Interaction Model * Bulk upload field values The Autopilot CLI enable you to: * Keep your assistant in a repository with version control * Integrate with your CI environment * Share the schema files to collaborate on development ## Installation `sudo npm install -g @twilio/autopilot-cli` ## Usage ``` Usage: ta init [--twilio-setup | --list | --credentials ] ta list [--credentials ] ta create [--schema ] [--credentials ] ta update --schema [--assistant ] [--credentials ] ta delete --assistant [--credentials ] ta export --assistant [--credentials ] ta import --dfbackup --dfagent [--credentials ] OR ta import dialogflow --dfbackup --dfagent [--credentials ] ta import alexa --model [--redirectURL ] [--credentials ] ta simulate --assistant --text [--credentials ] ta field --assistant --field --csv [--credentials ] Options: -h --help Help Screen -v --version CLI Version --twilio-setup To setup new credential in autopilot-cli --list Shows list of configured credentials in autopilot-cli --schema Autopilot Schema File/DialogFlow Schema Zip File --assistant Twilio Autopilot Assistant SID --dfagent Dialogflow Agent Name --dfbackup Dialogflow Agent Backup Zip File --text The user text input --field Twilio Autopilot Field Type SID --csv CSV File path --model Alexa Interaction Model File --redirectURL Alexa Back-End Hanlder URL to send back the response ``` ## Configuration To use the Twilio Autopilot CLI, you first need to configure your Twilio Account SID and Auth Token. Optionally, multiple accounts can be configured using the `--credentials` option to associate an Account SID and Auth Token with a profile name. The first time you use Autopilot CLI, you must call the `$ ta init` or `$ ta init --twilio-setup` command to initialize the tool with your Twilio account. To update an existing autopilot-cli credentail use following command: `$ ta init --credentials `. ## Schema Files A schema file is a JSON document that's used to define an Autopilot assistant. They tell the CLI what to create or update. When exporting an Assistant will one be saved. When creating an Assistant you can choose from one of the following [templates](https://github.com/twilio/autopilot-templates/tree/master/Assistants) to get started quickly.