---
title: "Update Agent Public Profile"
method: PATCH
path: "/api/agents/{agent_id}/public"
tags: ["agents"]
---

# Update Agent Public Profile

`PATCH /api/agents/{agent_id}/public`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/agents/{agent_id}/public`
- Auth: HTTP bearer

## Path parameters

- `agent_id` string, uuid, required

## Request body

- AgentPublicProfileUpdate
  - `slug` string, nullable
  - `owner_handle` string, nullable
  - `bio` string, nullable
  - `samples` PublicSample[]
    - `title` string, required
    - `cdn_url` string, required
  - `visible` boolean

## Response `200`

Successful Response

- PublicAgentResponse
  - `agent_id` string, uuid, required
  - `slug` string, required
  - `owner_handle` string, required
  - `owner_name` string, nullable
  - `agent_name` string, required
  - `bio` string, nullable
  - `samples` PublicSample[]
    - `title` string, required
    - `cdn_url` string, required
  - `visible` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
