# API

## Pet Profile

### Get pet list

- **Meaning**：Get a list of pets under a household.
- **Interface Details**：[getPetList](/en/miniapp/develop/ray/api/ai/aiPet/getPetList)

### Get pet details

- **Meaning**：Query pet detailed information based on pet ID.
- **Interface Details**：[getPetDetail](/en/miniapp/develop/ray/api/ai/aiPet/getPetDetail)

### Added pets

- **Meaning**：Taking family as the dimension, add a pet record.
- **Interface Details**：[addPet](/en/miniapp/develop/ray/api/ai/aiPet/addPet)

### Update Pet

- **Meaning**：Update pet information based on pet ID.
- **Interface Details**：[updatePet](/en/miniapp/develop/ray/api/ai/aiPet/updatePet)

### Delete Pet

- **Meaning**：Delete pet records.
- **Interface Details**：[deletePet](/en/miniapp/develop/ray/api/ai/aiPet/deletePet)

### Analyze pet characteristics

- **Meaning**：Upload a pet picture to analyze the pet's features and return the task ID.
- **Interface Details**：[analyzePetFeature](/en/miniapp/develop/ray/api/ai/aiPet/analyzePetFeature)

### Query pet feature analysis results

- **Meaning**：Query pet analysis results based on task ID, which requires polling.
- **Interface Details**：[getAnalyzePetFeatureResult](/en/miniapp/develop/ray/api/ai/aiPet/getAnalyzePetFeatureResult)

### Get pet breed

- **Meaning**：Get the pet breed based on the pet type.
- **Interface Details**：[getPetBreedList](/en/miniapp/develop/ray/api/ai/aiPet/getPetBreedList)

### Obtain signature for pet document upload

- **Meaning**：Get the address for uploading pet portraits and front-facing photos.
- **Interface Details**：[getPetUploadSign](/en/miniapp/develop/ray/api/ai/aiPet/getPetUploadSign)

## Multiple pet identification

### Get pet eating records

- **Meaning**：Get pet food intake records, including the specific pet that ate the food.
- **Interface Details**：[getPetEatingList](/en/miniapp/develop/ray/api/ai/aiPet/getPetEatingList)
