Get starter questions
GET
/ai-doc/pre-questionRequest URL
text
GET https://open-api.habitaxx.com/v1/ms-ai-fast/ai-doc/pre-question?pet_profile_id=44&lang=en-USRequest headers
http
Authorization: Bearer <ACCESS_TOKEN>Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
pet_profile_id | integer | Yes | Positive numeric pet-profile ID. |
lang | string | No | Language code; defaults to zh-CN. Supported values include zh-CN, zh-Hant-HK, and en-US; use the values enabled in the target environment. |
Response example
json
{
"code": 200,
"message": "success",
"data": [
"When did this symptom start?",
"Has the pet's food changed recently?"
]
}Response fields
| Field | Type | Description |
|---|---|---|
code | integer | 200 on success; on failure a business error code that matches the HTTP status. |
message | string | Status text: always "success" on success (normalised by the gateway) and a safe Chinese message on failure. Do not use it for program logic. |
data | string[] | Starter-question texts. |