Documentation Index Fetch the complete documentation index at: https://docs.elizaos.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sending a message automatically updates the session’s last activity timestamp. If auto-renewal is enabled, the session will be renewed, extending its expiration time.
Path Parameters
The unique identifier of the session
Request Body
The message content (maximum 4000 characters)
Optional metadata to attach to the message
Optional array of attachments
Response
Unique identifier of the created message
UUID of the message author (user or agent)
ISO timestamp of message creation
Any metadata attached to the message
Current session status after sending the message Show Session Status Properties
Updated expiration timestamp
Total number of times the session has been renewed
Whether the session was renewed by this message
Whether the session is within the warning threshold
Error Responses
// 404 - Session not found
{
"error" : "Session not found" ,
"details" : {
"sessionId" : "abc-123"
}
}
// 410 - Session expired
{
"error" : "Session has expired" ,
"details" : {
"sessionId" : "abc-123" ,
"expiresAt" : "2024-01-15T10:30:00Z"
}
}
// 400 - Invalid content
{
"error" : "Content exceeds maximum length of 4000 characters"
}
Additional message metadata
Message sent and processed successfully
Current session status after sending the message