---
title: "Set Favourite Thing"
method: PUT
path: "/children/{child_id}/favourite-thing"
tags: ["children"]
---

# Set Favourite Thing

`PUT /children/{child_id}/favourite-thing`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/children/{child_id}/favourite-thing`
- Auth: none declared

Record a child's "favourite thing" as a parent observation.

Thin transport wrapper over `capture_favourite_thing` - the append-only
dedup + canonical L4 projection/embedding live in that shared helper so
this REST route and the GraphQL `setFavouriteThing` mutation stay
byte-identical. A blank value is a success no-op (`note_id: null`).

Authentication: JWT required
Authorization: RLS enforced - user must own child

## Path parameters

- `child_id` string, required

## Request body

- FavouriteThingRequest: Body for PUT /children/{child_id}/favourite-thing.
  - `favourite_thing` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
