cURL
curl --request POST \ --url https://api.droxy.ai/v1/resource/chat \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "resourceId": "<string>", "conversation": [ { "text": "<string>", "fromUser": true } ] } '
{ "text": "<string>" }
Ask anything to your resource.
The resource's id.
An array of messages.
Show child attributes
The message's text.
If the message is from the user.
Created
The resource's chat response.