Skip to main content
POST
/
api
/
query
/
ask
/
stream
Asks a question to our Crews about a specific data domain
curl --request POST \
  --url https://api.example.com/api/query/ask/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "prompt": "<string>"
}
'
{
  "error": "<string>",
  "code": 500
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
domain
string
required

The domain or data context where the question should be executed.

prompt
string
required

The natural language prompt or question provided by the user.

Response

Ask successful.