---
title: "Get Profile Picture"
method: GET
path: "/children/{child_id}/profile-picture"
tags: ["children"]
---

# Get Profile Picture

`GET /children/{child_id}/profile-picture`

## 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}/profile-picture`
- Auth: none declared

Get signed imgproxy URL for child profile picture.

Authentication: JWT required via Authorization header
RLS: User must own the child (enforced by Supabase)

Args:
    child_id: UUID of child
    width: Target width (optional)
    height: Target height (optional)
    format: Output format (jpeg/webp/avif/png, default: webp)
    quality: Image quality 1-100 (default: 85)

Returns:
    Signed imgproxy URL with expiry

Raises:
    404: Child not found, no profile picture or access denied
    400: Invalid transformation parameters
    500: URL generation failed

## Path parameters

- `child_id` string, required

## Query parameters

- `width` integer, nullable
- `height` integer, nullable
- `format` string
- `quality` integer

## 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)
