Update an Agent
Update an existing agent. Only the fields provided in the body are modified; omitted fields are left unchanged.
Authorizations
Your Browserbase API Key.
Path Parameters
The agent ID.
Body
Human-readable name for the agent. Used to identify the agent in the dashboard and API responses.
1 - 255New system prompt that steers the agent's behavior on every run that uses this agent.
1An optional JSON Schema object. If provided, runs that reference this agent will aim to return a result that conforms to this schema when they complete. Can be overridden per run by passing resultSchema on the run request.
Response
The updated agent.
A reusable agent. Referenced by agentId to apply a system prompt to every run that uses the agent.
Unique identifier for the agent. Use this value as agentId when creating an agent run.
Human-readable name for the agent. Used to identify the agent in the dashboard and API responses.
System prompt applied to every run that uses this agent.
JSON Schema that runs referencing this agent will aim to conform their result to. Can be overridden per run by passing resultSchema on the run request.