Send a new message to the agent and get a response
post
/chat
Authorizations
Body
contentstringrequired
prompt
Responses
application/json
cURL
JavaScript
Python
HTTP
curl -L \
--request POST \
--url 'https://api.spectrallabs.xyz/chat' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"content":"Hello, how can I help you?"}'