cURL
curl --request GET \ --url https://api.example.com/index/{index_name}/answer \ --header 'X-API-Key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
The query to answer
Optional system prompt
Use markdown for response
Successful Response