Patch Agent

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates an agent's settings: its name, description, authentication, observability, guardrail violation message, or dataset. All body fields are optional.

When to use it

Use it to rename an agent or change its settings. To change the agent's configuration, such as its model or guardrails, create a new version instead.

Required parameters

  • agent_id (path): the ID of the agent.

Optional body fields: name, description, authentication_enabled, observability_enabled, guardrails_violation_message, dataset_id.

Response

A successful call returns 200 OK with the updated Agent object, including its status and url.

Related: Get an agent, Create an agent version, Regenerate an agent API token

Path Params
string
required
Body Params
length ≤ 95
Responses

404

Not Found

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json