Skip to main content Skip to complementary content

POST /questions/actions/ask

Returns the generated response for parsed chat queries, if no app was specified nor present in conversation context, suggests matching apps.

Header parameters

Name Description Type
qlik-web-integration-id

This header is only required for external clients or mashups for QCS, this value of this property should be the id of the web integration set up for the external client/mashup

String

Request Body

Name Type Required
text QueryCreate Yes
lang QueryCreate
app QueryCreate
disableNarrative QueryCreate
disableConversationContext QueryCreate
disableFollowups QueryCreate
clearEntityContext QueryCreate
recommendationId QueryCreate
enableVisualizations QueryCreate
visualizationTypes QueryCreate

Responses

Name Description Type
200

The sentence is not created as an app was not specified, but matching apps are suggested

QueryNotCreated
201

The sentence created

QueryCreated
400

Bad request. The payload is not formed correctly.

Errors
401

User is not authorized

Errors
422

Unprocessable entity. The payload contains fields that are invalid, such as too long of a query.

Errors
default

Unexpected error.

Errors

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!