---
title: "Set Agent Skills Allowlist"
method: PUT
path: "/api/agents/{agent_id}/skills/allowlist"
tags: ["agents"]
---

# Set Agent Skills Allowlist

`PUT /api/agents/{agent_id}/skills/allowlist`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/skills/allowlist`
- Auth: HTTP bearer

Set the per-agent skill toggle state inside the running container.

Openclaw: writes agents.list[id=main].skills (a whitelist) into
openclaw.json; takes effect on the next `skills list` enumeration.
Hermes: translates the enabled-allowlist into hermes's native
`skills.disabled` blacklist in ~/.hermes/config.yaml (disabled =
installed minus allowlist; null allowlist clears it). Hermes reads
the config fresh on each skill lookup, so no restart either way.

## Path parameters

- `agent_id` string, required

## Request body

- SkillAllowlistBody
  - `allowlist` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
