v4

latestOpenAPI 3.1.02026-08-08221179273.1 KB
health

Check Chat Model Health

Health check for a specific chat model.

Runs the full chat pipeline (fetch user details, memories, chat history, build system instruction, call LLM) but skips all database writes. Returns model status, latency breakdown, and a response preview.

get/health/chat-model

Query parameters

modelstring required

Model name, e.g. 'gemini-2.5-flash', 'openai:gpt-4o', 'azure:gpt-4o-mini'

Model name, e.g. 'gemini-2.5-flash', 'openai:gpt-4o', 'azure:gpt-4o-mini'

user_idstring nullable

User ID for fetching real user context (reads only, no writes)

User ID for fetching real user context (reads only, no writes)

Headers

x-api-keystring required

Response

Successful Response

{"stackTrail":"paths:/health/chat-model:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}