v3
latestOpenAPI 3.0.02026-08-081996601.2 MBUpdate agent identity
Updates the agent's identity. You can change the role management mode, the roles, or both.
Setting mode to manual freezes the current roles. The platform no longer recomputes roles when the agent's tool configuration changes. This is useful when you need to grant the agent additional permissions beyond what its tools require.
Setting mode to auto resumes platform-managed roles. The platform immediately resyncs the roles to match the current tool configuration.
Path parameters
A unique key that identifies an agent.
The unique key of the agent.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"mode": "auto"
}Response
The updated agent identity.
Example response
{
"mode": "auto",
"client_id": "abc123def456"
}