Append a message
curl --request POST \
--url https://aquila.attaxr.com/api/chat/{id}/messages \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"content": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://aquila.attaxr.com/api/chat/{id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}/messages"
payload = { "content": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Chat
Append a message
Stores a user message and starts the agent turn. Sub-agent sessions are read-only.
POST
/
api
/
chat
/
{id}
/
messages
Append a message
curl --request POST \
--url https://aquila.attaxr.com/api/chat/{id}/messages \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"content": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://aquila.attaxr.com/api/chat/{id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}/messages"
payload = { "content": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
