Skip to main content
PATCH
Update Agent

Overview

Changes an agent’s display name. The agent’s configuration lives in its versions, not on the agent record; to change behavior, save a new version with Create Agent Version. Requires an admin, owner, operator, or prompter role.

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The agent’s unique identifier.

Body Parameters

string
required
New display name. Must be non-empty after trimming whitespace. Returns 400 INVALID_NAME otherwise.

Response

object
The updated agent record. Environments are not included; use Get Agent for those.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt