Message

Submit Message

POST

Request

This endpoint expects an object.
content
stringRequired
model
enumOptional
An enumeration.
tools
list of enumsOptional
An enumeration.
conversation_id
stringOptional
conversation_name
stringOptional

Response

This endpoint returns an object
id
string
POST
1curl -X POST https://api.athenaintelligence.ai/api/v0/message \
2 -H "X-API-KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "content": "visit www.athenaintelligence.ai and summarize the website in one paragraph",
6 "model": "gpt-3.5-turbo",
7 "tools": [
8 "search",
9 "browse"
10 ]
11}'
200Successful
1{
2 "id": "msg_fe459493-59d1-4f85-82d9-fb8d6f77d746"
3}