cURL
curl --request POST \ --url https://api.droxy.ai/v1/resource/chat-stream \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "resourceId": "<string>", "conversation": [ { "text": "<string>", "fromUser": true } ] }'
{ "data": { "text": "<string>" }, "type": "<string>", "statusCode": 123, "message": "<string>", "error": "<string>" }
Ask anything to your resource with response streaming.
Created
The response is of type object.
object