Skip to content

Get condition analysis ​

POST/ai-doc/analysis

Request URL ​

text
POST https://open-api.habitaxx.com/v1/ms-ai-fast/ai-doc/analysis

Request headers ​

http
Authorization: Bearer <ACCESS_TOKEN>
Content-Type: application/json

Request body ​

json
{
  "session_id": "<SESSION_ID>",
  "pet_profile_id": 44
}

Request fields ​

FieldTypeRequiredDescription
session_idstringYesThe session_id returned when the session was created.
pet_profile_idintegerNoPet-profile ID; when omitted the profile bound to the session is used. If provided it must match the session.
langstringNoOmit 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.

FieldTypeDescription
session_idstringCurrent session ID.
data.questionsarrayFollow-up questions for this round; the Prompt requires exactly 3.
data.questions[].idstringQuestion identifier, for example ques1.
data.questions[].contentstringQuestion text.
data.questions[].optionsarraySuggested 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[].titlestringOption title, for example 呕吐物性状.
data.questions[].options[].choicestringSuggested answer, for example 猫粮或胃液白泡.
raw_contentstring/nullRaw model output. Troubleshooting only.
gateway_request_idstring/nullGateway 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.

最近更新

Qijie Open Platform · API Documentation