Ask AI
This method allows asking questions and making requests to the AI through a REST web service.
POST /apigateway/se/rest/v1/copilot/ask-ai
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
prompt | String | Yes | Text/Question to be sent to the AI |
Request example:
{
"prompt": "string"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"answer": ""
}
]
}