v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBRefresh Session Token
Refreshes an expired session token to extend the session lifetime.
Use this endpoint when the session token has expired but you want to continue the conversation.
get/med-assist/session/{session_id}/refresh
Path parameters
session_idstring uuid required
The unique session identifier
Headers
x-sess-tokenstring required
The expired session token
Response
Token refreshed successfully
Example response
{
"session_id": "a349a41e-5d49-488a-b300-66ccbfdf16b3",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2024-01-01T14:00:00Z"
}