---
title: "Set the caller's own look for an agent"
method: PUT
path: "/api/v1/agents/{id}/my_character"
tags: ["Agents"]
---

# Set the caller's own look for an agent

`PUT /api/v1/agents/{id}/my_character`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agents/{id}/my_character`
- Auth: API key in header `api-key`

The drawing (`svg`, run through the same sanitiser as an agent's own character) the CALLER sees in place of the agent's. Stored on the caller's own preference row with origin `personal` and the last five earlier drawings as `history`; never on the agent, its card or its DID, and never visible to anyone else.

## Path parameters

- `id` string, required

## Request body

- object
  - `character` object, required
    - `svg` string, required
    - `description` string: Up to 300 characters.

## Response `200`

OK.

- object
  - `agent_id` string
  - `nickname` string, nullable
  - `directives` string[]
  - `character` object, nullable

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Agent not found.
- `422`: The drawing was refused; the error is one plain sentence.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
