---
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

---

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