POST
/
generativeagent
/
v1
/
analyze

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

The parameters for triggering the analysis and response to a conversation

conversationId
string
required

Internal conversation identifier from ASAPP

streamId
string

The id associated with the connection where the responses should be sent to.

taskName
string

Name of the task to be used in the analysis

inputVariables
object

Input variables to be used as context in the analysis.

message
object

Represents a single message within a conversation.

Response

200
application/json
Successfully triggered the bot to analyze and respond to a conversation

Conversation identifier and message identifier if passed in the request

conversationId
string

Internal conversation identifier from ASAPP

messageId
string

Internal message identifier from ASAPP