---
title: "Update agent by name"
method: PUT
path: "/api/agents"
tags: ["Agents"]
---

# Update agent by name

`PUT /api/agents`

## Request body

- object
  - `name` string, required
  - `status` 'online' | 'offline' | 'busy' | 'idle' | 'error'
  - `last_activity` string
  - `config` object
  - `session_key` string
  - `soul_content` string
  - `role` string

## Response `200`

Agent updated

- object
  - `success` boolean

## Other responses

- `400` — Invalid request
- `401` — Authentication required
- `403` — Insufficient permissions
- `404` — Resource not found
- `429` — Rate limit exceeded

## Changes

- **2026-03-02** `39aff788d955` — 5 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`
  - …1 more

[Change history](https://skmtc.dev/builderz-labs/apis/mission-control-api/changes/api/agents/put.md)

---

[API](https://skmtc.dev/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.dev/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/revisions/751f6c65ac77/schema)
