Run a Quick App
POST
/v1/quickapps/{appId}/runsTransmit inputs to a QuickApp's pre-prompting instructions which used to generate an AI output. And the output is determined by the pre-prompting instructions.
Request
Path Params
appId
string
required
Example:
1476
Body Params application/json
inputs
object
required
A template's inputs. The required inputs for the given template should match it's input label, which are available in the App's Run panel
Additional properties
integer | number | string | boolean
optional
stream
boolean
optional
Whether to stream back partial progress. If true, returns a stream of events that happen during the conversation as server-sent events, terminating when the conversation enters a terminal state with a data: [DONE] message.
Default:
false
Example
{
"inputs": {
"Topic": "About Artificial Intelligence",
"Details": "Driving Customer Engagement"
},
"stream": true
}
Request samples
Responses
Non-streaming response(200)
Streaming response(200)
Non-streaming response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"content": "Anakin.ai is a one-stop AI app platform that offers the ability to generate content, images, videos, and voice, as well as craft automated workflows, custom AI apps, and intelligent agents.",
"threadId": "NRwJqQ6yBE4vG9c4UwILV6N1VVsZppjA"
}
Last modified: 4 months ago