POST
/
generativeagent
/
v1
/
analyze

Authorizations

asapp-api-id
string
headerrequired
asapp-api-secret
string
headerrequired

Body

application/json

The parameters for triggering the analysis and response to a conversation

streamId
string

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

conversationId
string
required

Internal conversation identifier from ASAPP

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

Conversation identifier and message identifier if passed in the request

conversationId
string

Internal conversation identifier from ASAPP

messageId
string

Internal message identifier from ASAPP