Skip to main content
POST
/
api
/
ai
/
ask
Sends a question to the AI assistant and returns the response, persisting the conversation history.
curl --request POST \
  --url https://{tenant}.ekso.app/api/ai/ask \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantId": "<string>",
  "authToken": "<string>",
  "question": "<string>",
  "conversationId": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT Bearer token. Obtain via the OAuth 2.0 token endpoint.

Body

Cancellation token.

tenantId
string
authToken
string
question
string
conversationId
null | string

Response

AI response text and conversation ID.