---
title: "Name and describe a meal from its photo (Pro)"
method: POST
path: "/diaries/{diaryId}/entries/{entryId}/meals/describe"
tags: ["Diary features"]
---

# Name and describe a meal from its photo (Pro)

`POST /diaries/{diaryId}/entries/{entryId}/meals/describe`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/diaries/{diaryId}/entries/{entryId}/meals/describe`
- Auth: HTTP bearer

Answers the bare object, with no {data,meta} envelope.

## Path parameters

- `diaryId` string, uuid, required
- `entryId` string, uuid, required

## Request body

- DescribeMealRequest
  - `imageBase64` string, required
  - `contentType` string, required

## Response `200`

OK

- object
  - `title` string, required
  - `description` string, required

## Other responses

- `402`: Pro is required
- `404`: No such diary, or not visible to the caller

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
