ASK CLI Command Reference

To get started with the Alexa Skills Kit Command Line Interface (ASK CLI), see the ASK CLI Quick Start.

For an overview of ASK CLI, see ASK CLI Overview.

This reference describes all of the commands available through ASK CLI.

ASK CLI Commands

ASK CLI has two different kinds of commands for manipulating skills associated with your developer account.

  • High-level commands simplify working with skill projects, often by abstracting details and performing several actions under the hood. These are the best commands to start with if you are new to skill development, or if you don't need to finely control API calls. configure, new, deploy are examples of high-level commands.
  • Low-level commands can be used to control individual parts of your Alexa Skill. These commands are thin wrappers over the Alexa Skill Management API operations, so they give you fine-grained control over each API call. These commands are particularly useful when you want to change portions of a skill that you have already added to your account. The smapi subcommands are low-level.
$ ask <command> <subcommand> [options]

ASK CLI commands enable you to complete the following tasks:

Command                                Description
ask [command] -h | --help Get help for tool or for a specific command.
ask -v | --version Returns the CLI version.
ask configure Initialize ASK CLI with your Amazon developer account credentials. Run this command to initialize the tool with your developer account credentials before performing skill operations. Note that this command uses port 9090 and if this port is already in use, you will get an error.
ask new Create a new Alexa skill project on your computer, with the necessary folders and files to deploy it with minimal changes.
ask init Initializes a skill project for deployment with ASK CLI.
ask deploy Deploy a skill to your developer account including your skill manifest, interaction model, and AWS Lambda functions.
ask dialog Opens a dialog mode in which developers can simulate a multi-turn conversation with Alexa.
ask util [subcommand] Provides utility tools to manage Alexa skill development
ask smapi [subcommand] Manage details of Alexa skills, including beta testing, associated with your developer account. Use these commands if you want to create or update portions of an Alexa skill.

configure command

The ask configure command helps you configure the credentials that ASK CLI uses to authenticate you to Amazon developer services and Amazon Web Services (AWS). This interactive command opens a web browser so you can sign in to your Amazon Developer account, and prompts you to enter information or answer questions about the credentials you want to use.

You can use ask configure to view and configure profiles, which contain credentials for different Amazon or AWS accounts. With profiles, you can use ASK CLI to manage skills that belong to different account by using the -p or --profile option with commands like ask new, ask deploy, and others.

For more details about how ASK CLI stores and manages your Amazon developer and AWS credentials, see Manage Credentials with ASK CLI.

Syntax:

ask configure [-p | --profile <profile>]
              [--no-browser]
              [--debug]
              [-h | --help]

Options:

-l
--list-profiles
Optional. Displays a list of profiles that ASK CLI can use.
-p <profile>
--profile <profile>
Optional. Specifies a profile to use for the credentials that you are configuring. If you omit this option, ASK CLI prompts you to choose the profile from a list or create a new one.
--no-browser
Optional. Use this option when you run the ask init command on a computer that does not have a web browser. ASK CLI displays a URL that you can use to sign in with your Amazon developer account by using a web browser on a different computer. After you sign in, the browser displays a code that you can enter at the command line to complete the configuration of your credentials.
--aws-setup
Optional. Use this option to skip the configuration of your Amazon developer credentials and configure only your AWS credentials.

new command

The ask new command creates a new skill project by copying from a skill template.

For an overview and usage examples, see create a new skill project in the ASK CLI overview.

Syntax:

ask new [--template-url <url>]
        [-p | --profile <profile>]
        [--debug]
        [--help]

Options:

--template-url <Git URL
Optional: The URL of a Git repository that contains a skill template.
-p <profile>
--profile <profile>
Optional. The profile under which ASK CLI creates the skill. If not provided, ASK CLI uses the default profile.

init command

The ask init command helps a skill developer to setup a new or an existing Alexa skill project. The command will walk the user through creating an ask-resources.json file to help deploy the skill. It will cover the most common attributes and will suggest sensible defaults using AWS Lambda as your endpoint.

Syntax:

ask init [--hosted-skill-id <hosted-skill-id>]
         [-p|--profile <profile>]
         [--debug]

Options:

--hosted-skill-id
Optional. Specifying the Skill ID of an Alexa-hosted skill will start a workflow to clone the skill to the current directory.
-p <profile>
--profile <profile>
Optional. The profile under which ASK CLI creates the skill. If not provided, ASK CLI uses the default profile.

deploy command

For an overview and usage examples, see deploy a skill project to the development stage in the ASK CLI overview.

Syntax:

ask deploy [-p | --profile <profile>]
           [--debug]
           [--help]

Options:

-p <profile>
--profile <profile>
Optional. The profile under which ASK CLI deploys the skill resources. If not provided, ASK CLI uses the default profile.

dialog command

Opens a dialog mode in which developers can simulate a multi-turn conversation with Alexa. Each dialog uses simulate-skill, which is an asynchronous operation that continues to poll the simulation result until it's available and then shows the Alexa text responses. The interaction mode will not start if the parameters are invalid and will not end unless the user enters the special command '!quit' or Ctrl+C.

There are two special commands that the user can enter in the dialog: .quit, which terminates the interaction mode, and .record, which prompts the user to input a file name so the dialog input can be recorded, along with the current interaction mode skillId, locale, input type, and all input texts. The .record command will only record the user inputs in the latest session.

If you run this command with the --replay option, specify the recording file that contains the skill information and user input. The replay option replays the user inputs, and Alexa will respond as if in a conversation. See Replay file format. Do not specify the skillId in the command line.

If you run this command without the --replay option, then you enter the dialog directly, as if speaking to Alexa for the specified skill. You must either specify the skillId or run the command from the skill project root directory, and you must specify the locale.

If the skill session has not ended, you will continue to see the "User >" prompt on the command line, and you can continue to input text as if conversing with Alexa.

If the skill session is ended, you will see the line '—Skill Session Ended.—' in the command-line window, but the interaction mode remains open. You will still see the "User >" prompt, and you can continue to input text.

Syntax:

ask dialog [-s|--skill-id <skill-id>]
           [-l|--locale <locale>]
           [-g|--stage <stage>]
           [-r|--replay <file-path>]

Options:

--skill-id, -s
Optional. This should be in the format amzn1.ask.skill.12345678-1234-1234-123456789123. If skill-id is not specified, and if the --replay option is not specified, this command must be run from the skill project root directory where the skill to be tested has already been created or cloned. You cannot specify the skill-id if you use the --replay option.
--locale, -l
Optional if ASK_DEFAULT_DEVICE_LOCALE environment variable is set, otherwise, required if the --replay option is not used. Locale for the skill to be simulated. Valid values are en-US, en-GB, en-CA, en-AU, en-IN, de-DE, or ja-JP. If not specified and if the --replay option is not specified, you will be prompted to enter the locale. You cannot specify locale if you use the --replay option.
--stage, -g
Optional. Indicates stage of the skill. Use development or live as values. Defaults to development.
--replay, -r
Optional. Specify a replay file to simulate a conversation with your skill. This file will contain text utterances from the start of the session or your last recording point. You can use the recorded files to automate the execution of frequently used tests. This replay file may contain the skill-id and locale. If the file does not contain the skill-id, this command must be run from the skill project root directory where the skill to be tested has already been created or cloned.
--profile, -p
Optional. To use a profile other than the default, include the profile name.
--debug
Optional. Appends a debug message to the standard error.

Replay file format

The replay file takes the following format.

{
    "skillId":"amazon.skill.123..",
    "locale": "en-US",
    "type": "text",
    "userInput": ["book flight", "Vancouver", ...]
}
Attribute Description
skillId Specifies the skill to be simulated.
locale Specifies the locale that you want to test for the specified skill, such as "en-US".
type "text"
userInput An array of utterances that the user would say to the skill.

You can create a replay file manually with the appropriate information, following the format shown, and save the file for future use.

You can also create a replay file as follows:

  • Type the command ask dialog.
  • Enter .record at the prompt.
  • Enter the requested information as you are prompted for it. This will include the filename to save the file.

In either case, specify the desired replay file when you use the --replay option.

util command

The util command provides utility tools to manage Alexa skill development.

Subcommands

Subcommand            Description
upgrade-project Attempts upgrade of ASK CLI v1.x skill projects to the ASK CLI v2 project format
git-credentials-helper Returns the git credentials for an Alexa-hosted skill repository

upgrade-project

Attempts upgrade of ASK CLI v1.x skill projects to the ASK CLI v2 project format

Syntax:

ask util upgrade-project [-p | --profile <profile>]
                         [--debug]
                         [--help]

Options:

-p <profile>
--profile <profile>
Optional. The profile under which ASK CLI deploys the skill resources. If not provided, ASK CLI uses the default profile.

git-credentials-helper

Returns the git credentials for an Alexa-hosted skill repository

Syntax:

ask util git-credentials-helper [-p | --profile <profile>]
                                [--debug]
                                [--help]

Options:

-p <profile>
--profile <profile>
Optional. The profile under which ASK CLI deploys the skill resources. If not provided, ASK CLI uses the default profile.

smapi command

The smapi command provides a number of subcommandsthat map 1:1 to the underlying API operations in Alexa Skill Management API (SMAPI).The commands allow detailed control of API inputs and expose raw outputs. There are subcommands for creating and updating the skill, interaction model, and account linking information as well as starting the skill certification process.

Syntax:

$ ask smapi <subcommand>

Subcommands

Subcommand                                 Description
generate-catalog-upload-url Generate preSigned urls to upload data.
create-catalog-upload Create a new upload for a catalog and returns location to track the upload process.
get-content-upload-by-id Gets detailed information about an upload which was created for a specific catalog. Includes the upload's ingestion steps and a url for downloading the file.
get-isp-list-for-vendor Get the list of in-skill products for the vendor.
create-isp-for-vendor Creates a new in-skill product for given vendorId.
get-isp-list-for-skill-id Get the list of in-skill products for the skillId.
get-isp-definition Returns the in-skill product definition for given productId.
update-isp-for-product Updates in-skill product definition for given productId. Only development stage supported.
delete-isp-for-product Deletes the in-skill product for given productId. Only development stage supported. Live in-skill products or in-skill products associated with a skill cannot be deleted by this API.
get-isp-summary Get the summary information for an in-skill product.
get-isp-associated-skills Get the associated skills for the in-skill product.
associate-isp-with-skill Associates an in-skill product with a skill.
disassociate-isp-with-skill Disassociates an in-skill product from a skill.
reset-entitlement-for-product Resets the entitlement(s) of the Product for the current user.
get-account-linking-info Get AccountLinking information for the skill.
update-account-linking-info Create AccountLinking information for the skill.
delete-account-linking-info Delete AccountLinking information of a skill for the given stage.
generate-credentials-for-alexa-hosted-skill Generates hosted skill repository credentials to access the hosted skill repository.
get-alexa-hosted-skill-metadata Get Alexa hosted skill's metadata.
get-alexa-hosted-skill-user-permissions Get the current user permissions about Alexa hosted skill features.
get-beta-test Get beta test for a given Alexa skill.
create-beta-test Create a beta test for a given Alexa skill.
update-beta-test Update a beta test for a given Alexa skill.
start-beta-test Start a beta test for a given Alexa skill. System will send invitation emails to each tester in the test, and add entitlement on the acceptance.
end-beta-test End a beta test for a given Alexa skill. System will revoke the entitlement of each tester and send access-end notification email to them.
get-list-of-testers List all testers in a beta test for the given Alexa skill.
add-testers-to-beta-test Add testers to a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.
remove-testers-from-beta-test Remove testers from a beta test for the given Alexa skill. System will send access end email to each tester and remove entitlement for them.
send-reminder-to-testers Send reminder to the testers in a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.
request-feedback-from-testers Request feedback from the testers in a beta test for the given Alexa skill. System will send notification emails to testers to request feedback.
get-certifications-list Get list of all certifications available for a skill, including information about past certifications and any ongoing certification. The default sort order is descending on skillSubmissionTimestamp for Certifications.
get-certification-review Gets a specific certification resource. The response contains the review tracking information for a skill to show how much time the skill is expected to remain under review by Amazon. Once the review is complete, the response also contains the outcome of the review. Old certifications may not be available, however any ongoing certification would always give a response. If the certification is unavailable the result will return a 404 HTTP status code.
get-skill-enablement-status Checks whether an enablement exist for given skillId/stage and customerId (retrieved from Auth token).
set-skill-enablement Creates/Updates the enablement for given skillId/stage and customerId (retrieved from Auth token).
delete-skill-enablement Deletes the enablement for given skillId/stage and customerId (retrieved from Auth token).
profile-nlu This is a synchronous API that profiles an utterance against interaction model.
get-utterance-data  
get-interaction-model Gets the InteractionModel for the skill in the given stage.The path params skillId, stage and locale are required.
get-interaction-model-metadata Get the latest metadata for the interaction model resource for the given stage.
set-interaction-model Creates an InteractionModel for the skill.
list-interaction-model-catalogs List all catalogs for the vendor.
create-interaction-model-catalog Create a new version of catalog within the given catalogId.
get-interaction-model-catalog-definition get the catalog definition.
delete-interaction-model-catalog Delete the catalog.
get-interaction-model-catalog-update-status Get the status of catalog resource and its sub-resources for a given catalogId.
update-interaction-model-catalog update description and vendorGuidance string for certain version of a catalog.
create-interaction-model-catalog-version Create a new version of catalog entity for the given catalogId.
get-interaction-model-catalog-version Get catalog version data of given catalog version.
delete-interaction-model-catalog-version Delete catalog version.
update-interaction-model-catalog-version Update description and vendorGuidance string for certain version of a catalog.
get-interaction-model-catalog-values Get catalog values from the given catalogId & version.
get-interaction-model-version Gets the specified version InteractionModel of a skill for the vendor. Use ~current as version parameter to get the current version model.
list-interaction-model-versions Get the list of interactionModel versions of a skill for the vendor.
list-interaction-model-slot-types List all slot types for the vendor.
create-interaction-model-slot-type Create a new version of slot type within the given slotTypeId.
get-interaction-model-slot-type-definition Get the slot type definition.
delete-interaction-model-slot-type Delete the slot type.
get-interaction-model-slot-type-build-status Get the status of slot type resource and its sub-resources for a given slotTypeId.
update-interaction-model-slot-type Update description and vendorGuidance string for certain version of a slot type.
list-interaction-model-slot-type-versions List all slot type versions for the slot type id.
create-interaction-model-slot-type-version Create a new version of slot type entity for the given slotTypeId.
get-interaction-model-slot-type-version Get slot type version data of given slot type version.
delete-interaction-model-slot-type-version Delete slot type version.
update-interaction-model-slot-type-version Update description and vendorGuidance string for certain version of a slot type.
get-skill-manifest Returns the skill manifest for given skillId and stage.
update-skill-manifest Updates skill manifest for given skillId and stage.
get-skill-metrics Get analytic metrics report of skill usage.
set-private-distribution-account-id Add an id to the private distribution accounts.
delete-private-distribution-account-id Remove an id from the private distribution accounts.
list-private-distribution-accounts List private distribution accounts.
simulate-skill This is an asynchronous API that simulates a skill execution in the Alexa eco-system given an utterance text of what a customer would say to Alexa. A successful response will contain a header with the location of the simulation resource. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. The skill being simulated must belong to and be enabled by the user of this API. Concurrent requests per user is currently not supported.
get-skill-simulation This API gets the result of a previously executed simulation. A successful response will contain the status of the executed simulation. If the simulation successfully completed, the response will also contain information related to skill invocation. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where the simulation failed, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the skill endpoint. Note that simulation results are stored for 10 minutes. A request for an expired simulation result will return a 404 HTTP status code.
submit-skill-validation This is an asynchronous API which allows a skill developer to execute various validations against their skill.
get-skill-validations This API gets the result of a previously executed validation. A successful response will contain the status of the executed validation. If the validation successfully completed, the response will also contain information related to executed validations. In cases where requests to this API results in an error, the response will contain a description of the problem. In cases where the validation failed, the response will contain a status attribute indicating that a failure occurred. Note that validation results are stored for 60 minutes. A request for an expired validation result will return a 404 HTTP status code.
list-skills-for-vendor Get the list of skills for the vendor.
create-skill-for-vendor Creates a new skill for given vendorId.
delete-skill Delete the skill and model for given skillId.
get-skill-status Get the status of skill resource and its sub-resources for a given skillId.
get-ssl-certificates Returns the ssl certificate sets currently associated with this skill. Sets consist of one ssl certificate blob associated with a region as well as the default certificate for the skill.
set-ssl-certificates Updates the ssl certificates associated with this skill.
submit-skill-for-certification Submit the skill for certification.
withdraw-skill-from-certification Withdraws the skill from certification.
create-export-request-for-skill Creates a new export for a skill with given skillId and stage.
get-status-of-export-request Get status for given exportId.
create-skill-package Creates a new import for a skill.
import-skill-package Creates a new import for a skill with given skillId.
get-import-status Get status for given importId.
create-upload-url Creates a new uploadUrl.
get-vendor-list Get the list of Vendor information.
query-development-audit-logs The SMAPI Audit Logs API provides customers with an audit history of all SMAPI calls made by a developer or developers with permissions on that account.
invoke-skill-end-point This is a synchronous API that invokes the Lambda or third party HTTPS endpoint for a given skill. A successful response will contain information related to what endpoint was called, payload sent to and received from the endpoint. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where invoking the skill endpoint specifically fails, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the endpoint. The skill must belong to and be enabled by the user of this API. Also, note that calls to the skill endpoint will timeout after 10 seconds. This API is currently designed in a way that allows extension to an asynchronous API if a significantly bigger timeout is required.
upload-catalog upload a file for the catalog.
export-package download the skill package to "skill-package" folder in current directory.

generate-catalog-upload-url subcommand

Generate preSigned urls to upload data.

Syntax:

$ ask smapi generate-catalog-upload-url <-c|--catalog-id <catalog-id>>
                                        <--number-of-upload-parts <number-of-upload-parts>>
                                        [-p| --profile <profile>]
                                        [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--number-of-upload-parts <number-of-upload-parts>
Required. The number of parts the file will be split into. An equal number of presigned upload urls will be generated in response to facilitate each part's upload.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-catalog-upload subcommand

Create a new upload for a catalog and returns location to track the upload process.

Syntax:

$ ask smapi create-catalog-upload <-c|--catalog-id <catalog-id>>
                                  <--catalog-upload-request-body <catalog-upload-request-body>>
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--catalog-upload-request-body <catalog-upload-request-body>
Required. Request body for create content upload [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-content-upload-by-id subcommand

Gets detailed information about an upload which was created for a specific catalog. Includes the upload's ingestion steps and a url for downloading the file.

Syntax:

$ ask smapi get-content-upload-by-id <-c|--catalog-id <catalog-id>>
                                     <--upload-id <upload-id>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--upload-id <upload-id>
Required. Unique identifier of the upload.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-isp-list-for-vendor subcommand

Get the list of in-skill products for the vendor.

Syntax:

$ ask smapi get-isp-list-for-vendor [--next-token <next-token>]
                                    [--max-results <max-results>]
                                    [--product-id <product-id>]
                                    [-g|--stage <stage>]
                                    [--type <type>]
                                    [--reference-name <reference-name>]
                                    [--status <status>]
                                    [--is-associated-with-skill <is-associated-with-skill>]
                                    [-p| --profile <profile>]
                                    [--debug]

Options:

--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--product-id <product-id>
Optional. The list of in-skill product IDs that you wish to get the summary for. A maximum of 50 in-skill product IDs can be specified in a single listInSkillProducts call. Please note that this parameter must not be used with 'nextToken' and/or 'maxResults' parameter. [MULTIPLE]: Values can be separated by comma.
-g,--stage <stage>
Optional. Filter in-skill products by specified stage. [ENUM]: development,live.
--type <type>
Optional. Type of in-skill product to filter on. [ENUM]: SUBSCRIPTION,ENTITLEMENT,CONSUMABLE.
--reference-name <reference-name>
Optional. Filter in-skill products by reference name.
--status <status>
Optional. Status of in-skill product. [ENUM]: INCOMPLETE,COMPLETE,CERTIFICATION,PUBLISHED,SUPPRESSED.
--is-associated-with-skill <is-associated-with-skill>
Optional. Filter in-skill products by whether or not they are associated to a skill. [ENUM]: ASSOCIATED_WITH_SKILL,NO_SKILL_ASSOCIATIONS.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-isp-for-vendor subcommand

Creates a new in-skill product for given vendorId.

Syntax:

$ ask smapi create-isp-for-vendor <--create-in-skill-product-request <create-in-skill-product-request>>
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

--create-in-skill-product-request <create-in-skill-product-request>
Required. defines the request body for createInSkillProduct API. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-isp-list-for-skill-id subcommand

Get the list of in-skill products for the skillId.

Syntax:

$ ask smapi get-isp-list-for-skill-id <-s|--skill-id <skill-id>>
                                      <-g|--stage <stage>>
                                      [--next-token <next-token>]
                                      [--max-results <max-results>]
                                      [-p| --profile <profile>]
                                      [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-isp-definition subcommand

Returns the in-skill product definition for given productId.

Syntax:

$ ask smapi get-isp-definition <--product-id <product-id>>
                               <-g|--stage <stage>>
                               [-p| --profile <profile>]
                               [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-isp-for-product subcommand

Updates in-skill product definition for given productId. Only development stage supported.

Syntax:

$ ask smapi update-isp-for-product [--if-match <if-match>]
                                   <--product-id <product-id>>
                                   <-g|--stage <stage>>
                                   <--in-skill-product <in-skill-product>>
                                   [-p| --profile <profile>]
                                   [--debug]

Options:

--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
--in-skill-product <in-skill-product>
Required. defines the request body for updateInSkillProduct API. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-isp-for-product subcommand

Deletes the in-skill product for given productId. Only development stage supported. Live in-skill products or in-skill products associated with a skill cannot be deleted by this API.

Syntax:

$ ask smapi delete-isp-for-product <--product-id <product-id>>
                                   <-g|--stage <stage>>
                                   [--if-match <if-match>]
                                   [-p| --profile <profile>]
                                   [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-isp-summary subcommand

Get the summary information for an in-skill product.

Syntax:

$ ask smapi get-isp-summary <--product-id <product-id>>
                            <-g|--stage <stage>>
                            [-p| --profile <profile>]
                            [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-isp-associated-skills subcommand

Get the associated skills for the in-skill product.

Syntax:

$ ask smapi get-isp-associated-skills <--product-id <product-id>>
                                      <-g|--stage <stage>>
                                      [--next-token <next-token>]
                                      [--max-results <max-results>]
                                      [-p| --profile <profile>]
                                      [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

associate-isp-with-skill subcommand

Associates an in-skill product with a skill.

Syntax:

$ ask smapi associate-isp-with-skill <--product-id <product-id>>
                                     <-s|--skill-id <skill-id>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

disassociate-isp-with-skill subcommand

Disassociates an in-skill product from a skill.

Syntax:

$ ask smapi disassociate-isp-with-skill <--product-id <product-id>>
                                        <-s|--skill-id <skill-id>>
                                        [-p| --profile <profile>]
                                        [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

reset-entitlement-for-product subcommand

Resets the entitlement(s) of the Product for the current user.

Syntax:

$ ask smapi reset-entitlement-for-product <--product-id <product-id>>
                                          <-g|--stage <stage>>
                                          [-p| --profile <profile>]
                                          [--debug]

Options:

--product-id <product-id>
Required. The in-skill product ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-account-linking-info subcommand

Get AccountLinking information for the skill.

Syntax:

$ ask smapi get-account-linking-info <-s|--skill-id <skill-id>>
                                     <-g|--stage <stage>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-account-linking-info subcommand

Create AccountLinking information for the skill.

Syntax:

$ ask smapi update-account-linking-info <-s|--skill-id <skill-id>>
                                        <-g|--stage <stage>>
                                        <--account-linking-request <account-linking-request>>
                                        [--if-match <if-match>]
                                        [-p| --profile <profile>]
                                        [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
--account-linking-request <account-linking-request>
Required. The fields required to create accountLinking partner. [JSON].
--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-account-linking-info subcommand

Delete AccountLinking information of a skill for the given stage.

Syntax:

$ ask smapi delete-account-linking-info <-s|--skill-id <skill-id>>
                                        <-g|--stage <stage>>
                                        [-p| --profile <profile>]
                                        [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

generate-credentials-for-alexa-hosted-skill subcommand

Generates hosted skill repository credentials to access the hosted skill repository.

Syntax:

$ ask smapi generate-credentials-for-alexa-hosted-skill <-s|--skill-id <skill-id>>
                                                        [--repository-url <repository-url>]
                                                        [--repository-type <repository-type>]
                                                        [-p| --profile <profile>]
                                                        [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--repository-url <repository-url>
Optional. Alexa Hosted Skill's Repository Information.
--repository-type <repository-type>
Optional. Alexa Hosted Skill's Repository Information [ENUM]: GIT.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-alexa-hosted-skill-metadata subcommand

Get Alexa hosted skill's metadata.

Syntax:

$ ask smapi get-alexa-hosted-skill-metadata <-s|--skill-id <skill-id>>
                                            [-p| --profile <profile>]
                                            [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-alexa-hosted-skill-user-permissions subcommand

Get the current user permissions about Alexa hosted skill features.

Syntax:

$ ask smapi get-alexa-hosted-skill-user-permissions <--permission <permission>>
                                                    [-p| --profile <profile>]
                                                    [--debug]

Options:

--permission <permission>
Required. The permission of a hosted skill feature that customer needs to check.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-beta-test subcommand

Get beta test for a given Alexa skill.

Syntax:

$ ask smapi get-beta-test <-s|--skill-id <skill-id>>
                          [-p| --profile <profile>]
                          [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-beta-test subcommand

Create a beta test for a given Alexa skill.

Syntax:

$ ask smapi create-beta-test <-s|--skill-id <skill-id>>
                             [--feedback-email <feedback-email>]
                             [-p| --profile <profile>]
                             [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--feedback-email <feedback-email>
Optional. Email address for providing feedback.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-beta-test subcommand

Update a beta test for a given Alexa skill.

Syntax:

$ ask smapi update-beta-test <-s|--skill-id <skill-id>>
                             [--feedback-email <feedback-email>]
                             [-p| --profile <profile>]
                             [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--feedback-email <feedback-email>
Optional. Email address for providing feedback.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

start-beta-test subcommand

Start a beta test for a given Alexa skill. System will send invitation emails to each tester in the test, and add entitlement on the acceptance.

Syntax:

$ ask smapi start-beta-test <-s|--skill-id <skill-id>>
                            [-p| --profile <profile>]
                            [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

end-beta-test subcommand

End a beta test for a given Alexa skill. System will revoke the entitlement of each tester and send access-end notification email to them.

Syntax:

$ ask smapi end-beta-test <-s|--skill-id <skill-id>>
                          [-p| --profile <profile>]
                          [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-list-of-testers subcommand

List all testers in a beta test for the given Alexa skill.

Syntax:

$ ask smapi get-list-of-testers <-s|--skill-id <skill-id>>
                                [--next-token <next-token>]
                                [--max-results <max-results>]
                                [-p| --profile <profile>]
                                [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

add-testers-to-beta-test subcommand

Add testers to a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.

Syntax:

$ ask smapi add-testers-to-beta-test <-s|--skill-id <skill-id>>
                                     <--testers-emails <testers-emails>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--testers-emails <testers-emails>
Required. List of email address of beta testers. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

remove-testers-from-beta-test subcommand

Remove testers from a beta test for the given Alexa skill. System will send access end email to each tester and remove entitlement for them.

Syntax:

$ ask smapi remove-testers-from-beta-test <-s|--skill-id <skill-id>>
                                          <--testers-emails <testers-emails>>
                                          [-p| --profile <profile>]
                                          [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--testers-emails <testers-emails>
Required. List of email address of beta testers. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

send-reminder-to-testers subcommand

Send reminder to the testers in a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.

Syntax:

$ ask smapi send-reminder-to-testers <-s|--skill-id <skill-id>>
                                     <--testers-emails <testers-emails>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--testers-emails <testers-emails>
Required. List of email address of beta testers. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

request-feedback-from-testers subcommand

Request feedback from the testers in a beta test for the given Alexa skill. System will send notification emails to testers to request feedback.

Syntax:

$ ask smapi request-feedback-from-testers <-s|--skill-id <skill-id>>
                                          <--testers-emails <testers-emails>>
                                          [-p| --profile <profile>]
                                          [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--testers-emails <testers-emails>
Required. List of email address of beta testers. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-certifications-list subcommand

Get list of all certifications available for a skill, including information about past certifications and any ongoing certification. The default sort order is descending on skillSubmissionTimestamp for Certifications.

Syntax:

$ ask smapi get-certifications-list <-s|--skill-id <skill-id>>
                                    [--next-token <next-token>]
                                    [--max-results <max-results>]
                                    [-p| --profile <profile>]
                                    [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-certification-review subcommand

Gets a specific certification resource. The response contains the review tracking information for a skill to show how much time the skill is expected to remain under review by Amazon. Once the review is complete, the response also contains the outcome of the review. Old certifications may not be available, however any ongoing certification would always give a response. If the certification is unavailable the result will return a 404 HTTP status code.

Syntax:

$ ask smapi get-certification-review [--accept-language <accept-language>]
                                     <-s|--skill-id <skill-id>>
                                     <-c|--certification-id <certification-id>>
                                     [-p| --profile <profile>]
                                     [--debug]

Options:

--accept-language <accept-language>
Optional. User's locale/language in context.
-s,--skill-id <skill-id>
Required. The skill ID.
-c,--certification-id <certification-id>
Required. Id of the certification. Reserved word identifier of mostRecent can be used to get the most recent certification for the skill. Note that the behavior of the API in this case would be the same as when the actual certification id of the most recent certification is used in the request.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-enablement-status subcommand

Checks whether an enablement exist for given skillId/stage and customerId (retrieved from Auth token).

Syntax:

$ ask smapi get-skill-enablement-status <-s|--skill-id <skill-id>>
                                        <-g|--stage <stage>>
                                        [-p| --profile <profile>]
                                        [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

set-skill-enablement subcommand

Creates/Updates the enablement for given skillId/stage and customerId (retrieved from Auth token).

Syntax:

$ ask smapi set-skill-enablement <-s|--skill-id <skill-id>>
                                 <-g|--stage <stage>>
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-skill-enablement subcommand

Deletes the enablement for given skillId/stage and customerId (retrieved from Auth token).

Syntax:

$ ask smapi delete-skill-enablement <-s|--skill-id <skill-id>>
                                    <-g|--stage <stage>>
                                    [-p| --profile <profile>]
                                    [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

profile-nlu subcommand

This is a synchronous API that profiles an utterance against interaction model.

Syntax:

$ ask smapi profile-nlu <-u|--utterance <utterance>>
                        <--multi-turn-token <multi-turn-token>>
                        <-s|--skill-id <skill-id>>
                        <-g|--stage <stage>>
                        <-l|--locale <locale>>
                        [-p| --profile <profile>]
                        [--debug]

Options:

-u,--utterance <utterance>
Required. Actual representation of user input to Alexa.
--multi-turn-token <multi-turn-token>
Required. Opaque string which contains multi-turn related context.
-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-utterance-data subcommand

Syntax:

$ ask smapi get-utterance-data <-s|--skill-id <skill-id>>
                               [--next-token <next-token>]
                               [--max-results <max-results>]
                               [--sort-direction <sort-direction>]
                               [--sort-field <sort-field>]
                               [-g|--stage <stage>]
                               [-l|--locale <locale>]
                               [--dialog-act-name <dialog-act-name>]
                               [--intent-confidence-bin <intent-confidence-bin>]
                               [--intent-name <intent-name>]
                               [--intent-slots-name <intent-slots-name>]
                               [--interaction-type <interaction-type>]
                               [--publication-status <publication-status>]
                               [--utterance-text <utterance-text>]
                               [-p| --profile <profile>]
                               [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
--sort-field <sort-field>
Optional. Sets the field on which the sorting would be applied.
-g,--stage <stage>
Optional. A filter used to retrieve items where the stage is equal to the given value. [MULTIPLE]: Values can be separated by comma. [ENUM]: development,live.
-l,--locale <locale>
Optional. A filter used to retrieve items where the locale is equal to the given value. [MULTIPLE]: Values can be separated by comma. [ENUM]: en-US,en-GB,en-IN,en-CA,en-AU,de-DE,ja-JP.
--dialog-act-name <dialog-act-name>
Optional. Dialog act directive name.* `Dialog.ElicitSlot`: Alexa asked the user for the value of a specific slot. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#elicitslot) * `Dialog.ConfirmSlot`: Alexa confirmed the value of a specific slot before continuing with the dialog. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#confirmslot) * `Dialog.ConfirmIntent`: Alexa confirmed the all the information the user has provided for the intent before the skill took action. (https://developer.amazon.com/docs/custom-skills/dialog-interface-reference.html#confirmintent) [MULTIPLE]: Values can be separated by comma. [ENUM]: Dialog.ElicitSlot,Dialog.ConfirmSlot,Dialog.ConfirmIntent.
--intent-confidence-bin <intent-confidence-bin>
Optional. A filter used to retrieve items where the intent confidence bin is equal to the given value.* `HIGH`: Intent was recognized with high confidence. * `MEDIUM`: Intent was recognized with medium confidence. * `LOW`: Intent was recognized with low confidence. Note: Low confidence intents are not sent to the skill. [MULTIPLE]: Values can be separated by comma. [ENUM]: HIGH,MEDIUM,LOW.
--intent-name <intent-name>
Optional. A filter used to retrieve items where the intent name is equal to the given value. [MULTIPLE]: Values can be separated by comma.
--intent-slots-name <intent-slots-name>
Optional. A filter used to retrieve items where the one of the slot names is equal to the given value. [MULTIPLE]: Values can be separated by comma.
--interaction-type <interaction-type>
Optional. Indicates if the utterance was executed as a "ONE_SHOT" interaction or "MODAL" interaction.* `ONE_SHOT`: The user invokes the skill and states their intent in a single phrase. * `MODAL`: The user first invokes the skill and then states their intent. [MULTIPLE]: Values can be separated by comma. [ENUM]: ONE_SHOT,MODAL.
--publication-status <publication-status>
Optional. The publication status of the skill when this interaction occurred [MULTIPLE]: Values can be separated by comma. [ENUM]: Development,Certification.
--utterance-text <utterance-text>
Optional. A filter used to retrieve items where the utterance text contains the given phrase. Each filter value can be at-least 1 character and at-most 100 characters long. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model subcommand

Gets the `InteractionModel` for the skill in the given stage.The path params skillId, stage and locale are required.

Syntax:

$ ask smapi get-interaction-model <-s|--skill-id <skill-id>>
                                  <-g|--stage <stage>>
                                  <-l|--locale <locale>>
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-metadata subcommand

Get the latest metadata for the interaction model resource for the given stage.

Syntax:

$ ask smapi get-interaction-model-metadata <-s|--skill-id <skill-id>>
                                           <-g|--stage <stage>>
                                           <-l|--locale <locale>>
                                           [-p| --profile <profile>]
                                           [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

set-interaction-model subcommand

Creates an `InteractionModel` for the skill.

Syntax:

$ ask smapi set-interaction-model <-s|--skill-id <skill-id>>
                                  <-g|--stage <stage>>
                                  <-l|--locale <locale>>
                                  <--interaction-model <interaction-model>>
                                  [--if-match <if-match>]
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
--interaction-model <interaction-model>
Required. [JSON].
--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-interaction-model-catalogs subcommand

List all catalogs for the vendor.

Syntax:

$ ask smapi list-interaction-model-catalogs [--max-results <max-results>]
                                            [--next-token <next-token>]
                                            [--sort-direction <sort-direction>]
                                            [-p| --profile <profile>]
                                            [--debug]

Options:

--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-interaction-model-catalog subcommand

Create a new version of catalog within the given catalogId.

Syntax:

$ ask smapi create-interaction-model-catalog [--catalog-name <catalog-name>]
                                             [--catalog-description <catalog-description>]
                                             <--vendor-id <vendor-id>>
                                             [-p| --profile <profile>]
                                             [--debug]

Options:

--catalog-name <catalog-name>
Optional. Name of the catalog.
--catalog-description <catalog-description>
Optional. Description string about the catalog.
--vendor-id <vendor-id>
Required. The vendorId that the catalog should belong to.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-catalog-definition subcommand

get the catalog definition.

Syntax:

$ ask smapi get-interaction-model-catalog-definition <-c|--catalog-id <catalog-id>>
                                                     [-p| --profile <profile>]
                                                     [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-interaction-model-catalog subcommand

Delete the catalog.

Syntax:

$ ask smapi delete-interaction-model-catalog <-c|--catalog-id <catalog-id>>
                                             [-p| --profile <profile>]
                                             [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-catalog-update-status subcommand

Get the status of catalog resource and its sub-resources for a given catalogId.

Syntax:

$ ask smapi get-interaction-model-catalog-update-status <-c|--catalog-id <catalog-id>>
                                                        <--update-request-id <update-request-id>>
                                                        [-p| --profile <profile>]
                                                        [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--update-request-id <update-request-id>
Required. The identifier for slotType version creation process.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-interaction-model-catalog subcommand

update description and vendorGuidance string for certain version of a catalog.

Syntax:

$ ask smapi update-interaction-model-catalog <-c|--catalog-id <catalog-id>>
                                             [--slot-type-description <slot-type-description>]
                                             [-p| --profile <profile>]
                                             [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--slot-type-description <slot-type-description>
Optional. The slot type description with a 255 character maximum.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-interaction-model-catalog-version subcommand

Create a new version of catalog entity for the given catalogId.

Syntax:

$ ask smapi create-interaction-model-catalog-version <-c|--catalog-id <catalog-id>>
                                                     [--source-type <source-type>]
                                                     [--source-url <source-url>]
                                                     <--description <description>>
                                                     [-p| --profile <profile>]
                                                     [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--source-type <source-type>
Optional. Type of catalog.
--source-url <source-url>
Optional. Url to the catalog reference.
--description <description>
Required. Description string for specific catalog version.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-catalog-version subcommand

Get catalog version data of given catalog version.

Syntax:

$ ask smapi get-interaction-model-catalog-version <-c|--catalog-id <catalog-id>>
                                                  <--version <version>>
                                                  [-p| --profile <profile>]
                                                  [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--version <version>
Required. Version for interaction model.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-interaction-model-catalog-version subcommand

Delete catalog version.

Syntax:

$ ask smapi delete-interaction-model-catalog-version <-c|--catalog-id <catalog-id>>
                                                     <--version <version>>
                                                     [-p| --profile <profile>]
                                                     [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--version <version>
Required. Version for interaction model.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-interaction-model-catalog-version subcommand

Update description and vendorGuidance string for certain version of a catalog.

Syntax:

$ ask smapi update-interaction-model-catalog-version <-c|--catalog-id <catalog-id>>
                                                     <--version <version>>
                                                     [--description <description>]
                                                     [-p| --profile <profile>]
                                                     [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--version <version>
Required. Version for interaction model.
--description <description>
Optional. The catalog description with a 255 character maximum.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-catalog-values subcommand

Get catalog values from the given catalogId & version.

Syntax:

$ ask smapi get-interaction-model-catalog-values <-c|--catalog-id <catalog-id>>
                                                 <--version <version>>
                                                 [--max-results <max-results>]
                                                 [--next-token <next-token>]
                                                 [-p| --profile <profile>]
                                                 [--debug]

Options:

-c,--catalog-id <catalog-id>
Required. Unique identifier of the catalog.
--version <version>
Required. Version for interaction model.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-version subcommand

Gets the specified version `InteractionModel` of a skill for the vendor. Use `~current` as version parameter to get the current version model.

Syntax:

$ ask smapi get-interaction-model-version <-s|--skill-id <skill-id>>
                                          <-g|--stage <stage>>
                                          <-l|--locale <locale>>
                                          <--version <version>>
                                          [-p| --profile <profile>]
                                          [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
--version <version>
Required. Version for interaction model.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-interaction-model-versions subcommand

Get the list of interactionModel versions of a skill for the vendor.

Syntax:

$ ask smapi list-interaction-model-versions <-s|--skill-id <skill-id>>
                                            <-g|--stage <stage>>
                                            <-l|--locale <locale>>
                                            [--next-token <next-token>]
                                            [--max-results <max-results>]
                                            [--sort-direction <sort-direction>]
                                            [--sort-field <sort-field>]
                                            [-p| --profile <profile>]
                                            [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-l,--locale <locale>
Required. The locale for the model requested e.g. en-GB, en-US, de-DE.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
--sort-field <sort-field>
Optional. Sets the field on which the sorting would be applied.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-interaction-model-slot-types subcommand

List all slot types for the vendor.

Syntax:

$ ask smapi list-interaction-model-slot-types [--max-results <max-results>]
                                              [--next-token <next-token>]
                                              [--sort-direction <sort-direction>]
                                              [-p| --profile <profile>]
                                              [--debug]

Options:

--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-interaction-model-slot-type subcommand

Create a new version of slot type within the given slotTypeId.

Syntax:

$ ask smapi create-interaction-model-slot-type <--slot-type <slot-type>>
                                               [-p| --profile <profile>]
                                               [--debug]

Options:

--slot-type <slot-type>
Required. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-slot-type-definition subcommand

Get the slot type definition.

Syntax:

$ ask smapi get-interaction-model-slot-type-definition <--slot-type-id <slot-type-id>>
                                                       [-p| --profile <profile>]
                                                       [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-interaction-model-slot-type subcommand

Delete the slot type.

Syntax:

$ ask smapi delete-interaction-model-slot-type <--slot-type-id <slot-type-id>>
                                               [-p| --profile <profile>]
                                               [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-slot-type-build-status subcommand

Get the status of slot type resource and its sub-resources for a given slotTypeId.

Syntax:

$ ask smapi get-interaction-model-slot-type-build-status <--slot-type-id <slot-type-id>>
                                                         <--update-request-id <update-request-id>>
                                                         [-p| --profile <profile>]
                                                         [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--update-request-id <update-request-id>
Required. The identifier for slotType version creation process.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-interaction-model-slot-type subcommand

Update description and vendorGuidance string for certain version of a slot type.

Syntax:

$ ask smapi update-interaction-model-slot-type <--slot-type-id <slot-type-id>>
                                               [--slot-type-description <slot-type-description>]
                                               [-p| --profile <profile>]
                                               [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--slot-type-description <slot-type-description>
Optional. The slot type description with a 255 character maximum.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-interaction-model-slot-type-versions subcommand

List all slot type versions for the slot type id.

Syntax:

$ ask smapi list-interaction-model-slot-type-versions <--slot-type-id <slot-type-id>>
                                                      [--max-results <max-results>]
                                                      [--next-token <next-token>]
                                                      [--sort-direction <sort-direction>]
                                                      [-p| --profile <profile>]
                                                      [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'asc' these items are returned in ascending order of sortField value and when set to 'desc' these items are returned in descending order of sortField value.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-interaction-model-slot-type-version subcommand

Create a new version of slot type entity for the given slotTypeId.

Syntax:

$ ask smapi create-interaction-model-slot-type-version <--slot-type-id <slot-type-id>>
                                                       <--slot-type <slot-type>>
                                                       [-p| --profile <profile>]
                                                       [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--slot-type <slot-type>
Required. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-interaction-model-slot-type-version subcommand

Get slot type version data of given slot type version.

Syntax:

$ ask smapi get-interaction-model-slot-type-version <--slot-type-id <slot-type-id>>
                                                    <--version <version>>
                                                    [-p| --profile <profile>]
                                                    [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--version <version>
Required. Version for interaction model.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-interaction-model-slot-type-version subcommand

Delete slot type version.

Syntax:

$ ask smapi delete-interaction-model-slot-type-version <--slot-type-id <slot-type-id>>
                                                       <--version <version>>
                                                       [-p| --profile <profile>]
                                                       [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--version <version>
Required. Version for interaction model.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-interaction-model-slot-type-version subcommand

Update description and vendorGuidance string for certain version of a slot type.

Syntax:

$ ask smapi update-interaction-model-slot-type-version <--slot-type-id <slot-type-id>>
                                                       <--version <version>>
                                                       [--slot-type-description <slot-type-description>]
                                                       [-p| --profile <profile>]
                                                       [--debug]

Options:

--slot-type-id <slot-type-id>
Required. The identifier for a slot type.
--version <version>
Required. Version for interaction model.
--slot-type-description <slot-type-description>
Optional. The slot type description with a 255 character maximum.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-manifest subcommand

Returns the skill manifest for given skillId and stage.

Syntax:

$ ask smapi get-skill-manifest <-s|--skill-id <skill-id>>
                               <-g|--stage <stage>>
                               [-p| --profile <profile>]
                               [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

update-skill-manifest subcommand

Updates skill manifest for given skillId and stage.

Syntax:

$ ask smapi update-skill-manifest [--if-match <if-match>]
                                  <-s|--skill-id <skill-id>>
                                  <-g|--stage <stage>>
                                  <--manifest <manifest>>
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stages of a skill including the new certified stage.* `development` - skills which are currently in development corresponds to this stage. * `certified` - skills which have completed certification and ready for publishing corresponds to this stage. * `live` - skills which are currently live corresponds to this stage.
--manifest <manifest>
Required. Defines the request body for updateSkill API. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-metrics subcommand

Get analytic metrics report of skill usage.

Syntax:

$ ask smapi get-skill-metrics <-s|--skill-id <skill-id>>
                              <--start-time <start-time>>
                              <--end-time <end-time>>
                              <--period <period>>
                              <--metric <metric>>
                              <-g|--stage <stage>>
                              <--skill-type <skill-type>>
                              [--intent <intent>]
                              [-l|--locale <locale>]
                              [--max-results <max-results>]
                              [--next-token <next-token>]
                              [-p| --profile <profile>]
                              [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--start-time <start-time>
Required. The start time of query.
--end-time <end-time>
Required. The end time of query (The maximum time duration is 1 week).
--period <period>
Required. The aggregation period to use when retrieving the metric, follows ISO_8601#Durations format.
--metric <metric>
Required. A distinct set of logic which predictably returns a set of data.
-g,--stage <stage>
Required. The stage of the skill (live, development).
--skill-type <skill-type>
Required. The type of the skill (custom, smartHome and flashBriefing).
--intent <intent>
Optional. The intent of the skill.
-l,--locale <locale>
Optional. The locale for the skill. e.g. en-GB, en-US, de-DE and etc.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

set-private-distribution-account-id subcommand

Add an id to the private distribution accounts.

Syntax:

$ ask smapi set-private-distribution-account-id <-s|--skill-id <skill-id>>
                                                <-g|--stage <stage>>
                                                <--id <id>>
                                                [-p| --profile <profile>]
                                                [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--id <id>
Required. ARN that a skill can be privately distributed to.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-private-distribution-account-id subcommand

Remove an id from the private distribution accounts.

Syntax:

$ ask smapi delete-private-distribution-account-id <-s|--skill-id <skill-id>>
                                                   <-g|--stage <stage>>
                                                   <--id <id>>
                                                   [-p| --profile <profile>]
                                                   [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--id <id>
Required. ARN that a skill can be privately distributed to.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-private-distribution-accounts subcommand

List private distribution accounts.

Syntax:

$ ask smapi list-private-distribution-accounts <-s|--skill-id <skill-id>>
                                               <-g|--stage <stage>>
                                               [--next-token <next-token>]
                                               [--max-results <max-results>]
                                               [-p| --profile <profile>]
                                               [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

simulate-skill subcommand

This is an asynchronous API that simulates a skill execution in the Alexa eco-system given an utterance text of what a customer would say to Alexa. A successful response will contain a header with the location of the simulation resource. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. The skill being simulated must belong to and be enabled by the user of this API. Concurrent requests per user is currently not supported.

Syntax:

$ ask smapi simulate-skill <-s|--skill-id <skill-id>>
                           <-g|--stage <stage>>
                           <--input-content <input-content>>
                           <--device-locale <device-locale>>
                           [--session-mode <session-mode>]
                           [-p| --profile <profile>]
                           [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--input-content <input-content>
Required. A string corresponding to the utterance text of what a customer would say to Alexa.
--device-locale <device-locale>
Required. A valid locale (e.g "en-US") for the virtual device used in simulation.
--session-mode <session-mode>
Optional. Indicate the session mode of the current simulation is using. [ENUM]: DEFAULT,FORCE_NEW_SESSION.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-simulation subcommand

This API gets the result of a previously executed simulation. A successful response will contain the status of the executed simulation. If the simulation successfully completed, the response will also contain information related to skill invocation. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where the simulation failed, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the skill endpoint. Note that simulation results are stored for 10 minutes. A request for an expired simulation result will return a 404 HTTP status code.

Syntax:

$ ask smapi get-skill-simulation <-s|--skill-id <skill-id>>
                                 <-g|--stage <stage>>
                                 <-i|--simulation-id <simulation-id>>
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-i,--simulation-id <simulation-id>
Required. Id of the simulation.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

submit-skill-validation subcommand

This is an asynchronous API which allows a skill developer to execute various validations against their skill.

Syntax:

$ ask smapi submit-skill-validation <-l|--locales <locales>>
                                    <-s|--skill-id <skill-id>>
                                    <-g|--stage <stage>>
                                    [-p| --profile <profile>]
                                    [--debug]

Options:

-l,--locales <locales>
Required..
-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-validations subcommand

This API gets the result of a previously executed validation. A successful response will contain the status of the executed validation. If the validation successfully completed, the response will also contain information related to executed validations. In cases where requests to this API results in an error, the response will contain a description of the problem. In cases where the validation failed, the response will contain a status attribute indicating that a failure occurred. Note that validation results are stored for 60 minutes. A request for an expired validation result will return a 404 HTTP status code.

Syntax:

$ ask smapi get-skill-validations <-s|--skill-id <skill-id>>
                                  <-i|--validation-id <validation-id>>
                                  <-g|--stage <stage>>
                                  [--accept-language <accept-language>]
                                  [-p| --profile <profile>]
                                  [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-i,--validation-id <validation-id>
Required. Id of the validation. Reserved word identifier of mostRecent can be used to get the most recent validation for the skill and stage. Note that the behavior of the API in this case would be the same as when the actual validation id of the most recent validation is used in the request.
-g,--stage <stage>
Required. Stage for skill.
--accept-language <accept-language>
Optional. User's locale/language in context.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

list-skills-for-vendor subcommand

Get the list of skills for the vendor.

Syntax:

$ ask smapi list-skills-for-vendor [--next-token <next-token>]
                                   [--max-results <max-results>]
                                   [-s|--skill-id <skill-id>]
                                   [-p| --profile <profile>]
                                   [--debug]

Options:

--next-token <next-token>
Optional. When response to this API call is truncated (that is, isTruncated response element value is true), the response also includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that Skill Management API understands. Token has expiry of 24 hours.
--max-results <max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve fewer than upper limit of 50 results, you can add this parameter to your request. maxResults should not exceed the upper limit. The response might contain fewer results than maxResults, but it will never contain more. If there are additional results that satisfy the search criteria, but these results were not returned, the response contains isTruncated = true.
-s,--skill-id <skill-id>
Optional. the list of skillIds that you wish to get the summary for. A maximum of 10 skillIds can be specified to get the skill summary in single listSkills call. Please note that this parameter must not be used with 'nextToken' or/and 'maxResults' parameter. [MULTIPLE]: Values can be separated by comma.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-skill-for-vendor subcommand

Creates a new skill for given vendorId.

Syntax:

$ ask smapi create-skill-for-vendor <--manifest <manifest>>
                                    [-p| --profile <profile>]
                                    [--debug]

Options:

--manifest <manifest>
Required. Defines the request body for createSkill API. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

delete-skill subcommand

Delete the skill and model for given skillId.

Syntax:

$ ask smapi delete-skill <-s|--skill-id <skill-id>>
                         [-p| --profile <profile>]
                         [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-skill-status subcommand

Get the status of skill resource and its sub-resources for a given skillId.

Syntax:

$ ask smapi get-skill-status <-s|--skill-id <skill-id>>
                             [--resource <resource>]
                             [-p| --profile <profile>]
                             [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--resource <resource>
Optional. Resource name for which status information is desired.It is an optional, filtering parameter and can be used more than once, to retrieve status for all the desired (sub)resources only, in single API call. If this parameter is not specified, status for all the resources/sub-resources will be returned.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-ssl-certificates subcommand

Returns the ssl certificate sets currently associated with this skill. Sets consist of one ssl certificate blob associated with a region as well as the default certificate for the skill.

Syntax:

$ ask smapi get-ssl-certificates <-s|--skill-id <skill-id>>
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

set-ssl-certificates subcommand

Updates the ssl certificates associated with this skill.

Syntax:

$ ask smapi set-ssl-certificates <-s|--skill-id <skill-id>>
                                 <--ssl-certificate-payload <ssl-certificate-payload>>
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--ssl-certificate-payload <ssl-certificate-payload>
Required. Defines the input/output of the ssl certificates api for a skill. [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

submit-skill-for-certification subcommand

Submit the skill for certification.

Syntax:

$ ask smapi submit-skill-for-certification <-s|--skill-id <skill-id>>
                                           [--publication-method <publication-method>]
                                           [-p| --profile <profile>]
                                           [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--publication-method <publication-method>
Optional. Determines if the skill should be submitted only for certification and manually publish later or publish immediately after the skill is certified. Omitting the publication method will default to auto publishing. [ENUM]: MANUAL_PUBLISHING,AUTO_PUBLISHING.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

withdraw-skill-from-certification subcommand

Withdraws the skill from certification.

Syntax:

$ ask smapi withdraw-skill-from-certification <-s|--skill-id <skill-id>>
                                              [--reason <reason>]
                                              <--message <message>>
                                              [-p| --profile <profile>]
                                              [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
--reason <reason>
Optional. The reason to withdraw. [ENUM]: TEST_SKILL,MORE_FEATURES,DISCOVERED_ISSUE,NOT_RECEIVED_CERTIFICATION_FEEDBACK,NOT_INTEND_TO_PUBLISH,OTHER.
--message <message>
Required. The message only in case the reason in OTHER.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-export-request-for-skill subcommand

Creates a new export for a skill with given skillId and stage.

Syntax:

$ ask smapi create-export-request-for-skill <-s|--skill-id <skill-id>>
                                            <-g|--stage <stage>>
                                            [-p| --profile <profile>]
                                            [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-status-of-export-request subcommand

Get status for given exportId.

Syntax:

$ ask smapi get-status-of-export-request <--export-id <export-id>>
                                         [-p| --profile <profile>]
                                         [--debug]

Options:

--export-id <export-id>
Required. The Export ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-skill-package subcommand

Creates a new import for a skill.

Syntax:

$ ask smapi create-skill-package <--vendor-id <vendor-id>>
                                 <--location <location>>
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

--vendor-id <vendor-id>
Required. ID of the vendor owning the skill.
--location <location>
Required. Location of the package.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

import-skill-package subcommand

Creates a new import for a skill with given skillId.

Syntax:

$ ask smapi import-skill-package <--location <location>>
                                 <-s|--skill-id <skill-id>>
                                 [--if-match <if-match>]
                                 [-p| --profile <profile>]
                                 [--debug]

Options:

--location <location>
Required. Location of the package.
-s,--skill-id <skill-id>
Required. The skill ID.
--if-match <if-match>
Optional. Request header that specified an entity tag. The server will update the resource only if the eTag matches with the resource's current eTag.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-import-status subcommand

Get status for given importId.

Syntax:

$ ask smapi get-import-status <--import-id <import-id>>
                              [-p| --profile <profile>]
                              [--debug]

Options:

--import-id <import-id>
Required. The Import ID.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

create-upload-url subcommand

Creates a new uploadUrl.

Syntax:

$ ask smapi create-upload-url [-p| --profile <profile>]
                              [--debug]

Options:

-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

get-vendor-list subcommand

Get the list of Vendor information.

Syntax:

$ ask smapi get-vendor-list [-p| --profile <profile>]
                            [--debug]

Options:

-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

query-development-audit-logs subcommand

The SMAPI Audit Logs API provides customers with an audit history of all SMAPI calls made by a developer or developers with permissions on that account.

Syntax:

$ ask smapi query-development-audit-logs <--vendor-id <vendor-id>>
                                         [--request-filters-clients <request-filters-clients>]
                                         [--request-filters-operations <request-filters-operations>]
                                         [--request-filters-resources <request-filters-resources>]
                                         [--request-filters-requesters <request-filters-requesters>]
                                         [--request-filters-start-time <request-filters-start-time>]
                                         [--request-filters-end-time <request-filters-end-time>]
                                         [--request-filters-http-response-codes <request-filters-http-response-codes>]
                                         [--sort-direction <sort-direction>]
                                         [--sort-field <sort-field>]
                                         [--pagination-context-next-token <pagination-context-next-token>]
                                         [--pagination-context-max-results <pagination-context-max-results>]
                                         [-p| --profile <profile>]
                                         [--debug]

Options:

--vendor-id <vendor-id>
Required. Vendor Id. See developer.amazon.com/mycid.html.
--request-filters-clients <request-filters-clients>
Optional. List of Client IDs for filtering.
--request-filters-operations <request-filters-operations>
Optional. Filters for a list of operation names and versions.
--request-filters-resources <request-filters-resources>
Optional. Filters for a list of resources and/or their types. See documentation for allowed types.
--request-filters-requesters <request-filters-requesters>
Optional. Request Filters for filtering audit logs.
--request-filters-start-time <request-filters-start-time>
Optional. Sets the start time for this search. Any audit logs with timestamps after this time (inclusive) will be included in the response.
--request-filters-end-time <request-filters-end-time>
Optional. Sets the end time for this search. Any audit logs with timestamps before this time (exclusive) will be included in the result.
--request-filters-http-response-codes <request-filters-http-response-codes>
Optional. Filters for HTTP response codes. For example, '200' or '503'.
--sort-direction <sort-direction>
Optional. Sets the sorting direction of the result items. When set to 'ASC' these items are returned in ascending order of sortField value and when set to 'DESC' these items are returned in descending order of sortField value. [ENUM]: ASC,DESC.
--sort-field <sort-field>
Optional. Sets the field on which the sorting would be applied. [ENUM]: timestamp,operation,resource.id,resource.type,requester.userId,client.id,httpResponseCode.
--pagination-context-next-token <pagination-context-next-token>
Optional. When the response to this API call is truncated, the response includes the nextToken element. The value of nextToken can be used in the next request as the continuation-token to list the next set of objects. The continuation token is an opaque value that this API understands. Token has expiry of 1 hour.
--pagination-context-max-results <pagination-context-max-results>
Optional. Sets the maximum number of results returned in the response body. If you want to retrieve more or less than the default of 50 results, you can add this parameter to your request. maxResults can exceed the upper limit of 250 but we will not return more items than that. The response might contain fewer results than maxResults for purpose of keeping SLA or because there are not enough items, but it will never contain more.
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

invoke-skill-end-point subcommand

This is a synchronous API that invokes the Lambda or third party HTTPS endpoint for a given skill. A successful response will contain information related to what endpoint was called, payload sent to and received from the endpoint. In cases where requests to this API results in an error, the response will contain an error code and a description of the problem. In cases where invoking the skill endpoint specifically fails, the response will contain a status attribute indicating that a failure occurred and details about what was sent to the endpoint. The skill must belong to and be enabled by the user of this API. Also, note that calls to the skill endpoint will timeout after 10 seconds. This API is currently designed in a way that allows extension to an asynchronous API if a significantly bigger timeout is required.

Syntax:

$ ask smapi invoke-skill-end-point <-s|--skill-id <skill-id>>
                                   <-g|--stage <stage>>
                                   <--endpoint-region <endpoint-region>>
                                   <--skill-request-body <skill-request-body>>
                                   [-p| --profile <profile>]
                                   [--debug]

Options:

-s,--skill-id <skill-id>
Required. The skill ID.
-g,--stage <stage>
Required. Stage for skill.
--endpoint-region <endpoint-region>
Required. Region of endpoint to be called. [ENUM]: NA,EU,FE.
--skill-request-body <skill-request-body>
Required. ASK request body schema as defined in the public facing documentation (https://tiny.amazon.com/1h8keglep/deveamazpublsolualexalexdocs) [JSON].
-p, --profile <profile>
The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
When you include this option, ASK CLI shows debug messages in the output of the command.

upload-catalog subcommand

Upload a file for the catalog.

Syntax:

$ ask smapi upload-catalog [-c| --catalog-id <catalog-id>]
                           [-f| --file <file>]
                           [-p| --profile <profile>]
                           [--debug]

Options:

-c, --catalog-id <catalog-id>
Required. Unique identifier of the catalog.
-f, --file <file>
Required. Path to the target file input.
-p, --profile <profile>
Optional. The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
Optional. When you include this option, ASK CLI shows debug messages in the output of the command.

export-package subcommand

Download the skill package to the skill-package folder in the current directory.

Syntax:

$ ask smapi export-package [-s| --skill-id <skill-id>]
                           [-g| --stage <stage>]
                           [-p| --profile <profile>]
                           [--debug]

Options:

-s, --skill-id <skill-id>
Required. The skill identifier.
-g, --stage <stage>
Required. Stage for the skill.
-p, --profile <profile>
Optional. The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile.
--debug
Optional. When you include this option, ASK CLI shows debug messages in the output of the command.

Debug Mode for ASK CLI Commands

Almost all of the commands, as shown in their descriptions, can be run in debug mode, by appending --debug to the command.

The same results will appear as when –debug is not specified, except that an additional debug message is displayed (sent to stderr) after the command finishes executing. This debug message consists of these fields: timestamp, api-name, request-id, method, url, response-code, request-header, request-body, response-header, and response-body.

To save these results, run the command and pipe the output to a local text file, as follows:

ask [command] --debug 2> debug.txt