Update an agent
Updates a reusable agent. See agent configuration.
Path parameters
The ID of the reusable agent.
Request body
The model to use for the agent. The requested model name is preserved.
The service tier used for model requests.
Additional instructions appended to the agent's default base instructions. Omit to leave unchanged.
Replaces all metadata. Omit to leave unchanged, or pass null or {} to clear it. Up to 16 string key-value pairs, with keys up to 64 and values up to 512 characters.
A replacement name. Omit to leave unchanged, or pass null to clear it.
Response
The updated agent.
The ID of the reusable agent.
The object type. Always agent.
The Unix timestamp, in seconds, when the agent was created.
The Unix timestamp, in seconds, when the agent was last updated.
A human-readable name for the agent, or null if it is unnamed.
Custom string key-value pairs attached to the agent.
The requested model name used for inference.
The service-tier policy configured for an agent.
Custom instructions appended to the agent's default base instructions.