---
title: "Set the agent's display name"
method: PATCH
path: "/agents/{id}/name"
tags: ["Agents"]
---

# Set the agent's display name

`PATCH /agents/{id}/name`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/agents/{id}/name`
- Auth: HTTP bearer

Owner of the agent, or an admin of the owner's company. A plain teammate (who can still view and chat with the agent) gets 404.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required

## Response `200`

- object
  - `name` string

## Other responses

- `400`: name must be a non-empty string
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Unknown agent, or the caller is neither its owner nor an admin of the owner's company.

---

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