Skip to content

Retrieve a pet profile ​

GET/pet-profiles/{pet_profile_id}

Retrieve one pet profile by ID. In addition to the base fields, the detail response also carries extension records grouped by record_type.

Request URL ​

text
GET https://open-api.habitaxx.com/v1/ms-ai-fast/pet-profiles/44?locale=zh-CN

Request headers ​

http
Authorization: Bearer <ACCESS_TOKEN>

Path parameters ​

ParameterTypeRequiredDescription
pet_profile_idintegerYesPet-profile ID, that is the id returned by the list or create endpoint.

Query parameters ​

ParameterTypeRequiredDescription
localestringNoDisplay language, such as zh-CN or en-US; affects breed_display_name and the display language of extension-record text.

Response example ​

json
{
  "code": 200,
  "message": "success",
  "data": {
    "id": 44,
    "user_uuid": "<USER_UUID>",
    "name": "团子",
    "avatar": null,
    "birthday": "2023-06-01T00:00:00",
    "gender": 1,
    "pet_type": 2,
    "pet_variety": "柴犬",
    "breed_code": "dog.shiba-inu",
    "locale": "zh-CN",
    "breed_display_name": "柴犬",
    "weight": "10.10kg",
    "is_neutered": 1,
    "is_del": 0,
    "records": {},
    "created_at": "2026-08-27T11:20:31",
    "updated_at": "2026-08-27T11:20:31"
  }
}

Response fields ​

The response data is the pet-profile object; its base fields are documented under Create a pet profile.

FieldTypeDescription
recordsobjectExtension records, an object grouped by record_type; an empty object {} when there are no records.

Next steps ​

最近更新

Qijie Open Platform · API Documentation