Get condition analysis
POST
/ai-doc/analysisRequest URL
text
POST https://open-api.habitaxx.com/v1/ms-ai-fast/ai-doc/analysisRequest headers
http
Authorization: Bearer <ACCESS_TOKEN>
Content-Type: application/jsonRequest body
json
{
"session_id": "<SESSION_ID>",
"pet_profile_id": 44
}Request fields
| Field | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | The session_id returned when the session was created. |
pet_profile_id | integer | No | Pet-profile ID; when omitted the profile bound to the session is used. If provided it must match the session. |
lang | string | No | Omit it or send the same language as the session, for example zh-CN. |
Response example
json
{
"code": 200,
"message": "success",
"data": {
"session_id": "<SESSION_ID>",
"data": {
"questions": [
{
"id": "ques1",
"content": "呕吐物是什么样子的?",
"options": [
{ "title": "呕吐物性状", "choice": "猫粮或胃液白泡" }
]
},
{
"id": "ques2",
"content": "猫咪最近排便情况如何?",
"options": [
{ "title": "排便情况", "choice": "正常" }
]
}
]
},
"raw_content": "模型原始输出",
"gateway_request_id": "<REQUEST_ID>"
}
}Response fields
Paths below are relative to the response data; data.xxx refers to a field of the nested inner data object. The inner content comes from the model, so no fields beyond this table are guaranteed.
| Field | Type | Description |
|---|---|---|
session_id | string | Current session ID. |
data.questions | array | Follow-up questions for this round; the Prompt requires exactly 3. |
data.questions[].id | string | Question identifier, for example ques1. |
data.questions[].content | string | Question text. |
data.questions[].options | array | Suggested options, usually one; title is the detail dimension (e.g. 呕吐物性状) and choice is the model's most likely value — both free text. |
data.questions[].options[].title | string | Option title, for example 呕吐物性状. |
data.questions[].options[].choice | string | Suggested answer, for example 猫粮或胃液白泡. |
raw_content | string/null | Raw model output. Troubleshooting only. |
gateway_request_id | string/null | Gateway request ID. |
This endpoint returns an editable list of follow-up questions, not a natural-language conclusion. The fields come from the model, so handle missing options, title, or choice defensively.