Send a new message to the agent and get a response
Authorizations
Body
An agent chat message
contentstringRequired
prompt
Responses
201
Response from agent
application/json
403
Forbidden
404
Not found
422
Invalid Params
500
Internal Server Error
post
POST /chat HTTP/1.1
Host: api.spectrallabs.xyz
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"content": "Hello, how can I help you?"
}