Builder

class Builder

Properties

Link copied to clipboard

The action group that the API operation belongs to.

Link copied to clipboard

The agent's ID.

Link copied to clipboard

The path to the API operation.

Link copied to clipboard

Controls the API operations or functions to invoke based on the user confirmation.

Link copied to clipboard

The HTTP method for the API operation.

Link copied to clipboard

http status code from API execution response (for example: 200, 400, 500).

Link copied to clipboard

The response body from the API operation. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function.

Link copied to clipboard

Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt