| title | description | openapi |
|---|---|---|
Send Session Message |
Send a message to a conversation session with automatic renewal tracking |
post /api/messaging/sessions/{sessionId}/messages |
<ResponseField name="renewalCount" type="number">
Total number of times the session has been renewed
</ResponseField>
<ResponseField name="wasRenewed" type="boolean">
Whether the session was renewed by this message
</ResponseField>
<ResponseField name="isNearExpiration" type="boolean">
Whether the session is within the warning threshold
</ResponseField>
// 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" }
</ResponseExample>