---
title: "保存插件常驻白名单"
method: PUT
path: "/settings/plugin-keep-alive"
tags: ["设置"]
---

# 保存插件常驻白名单

`PUT /settings/plugin-keep-alive`

设置不会被自动休眠的插件 entryPath 列表。保存后即时生效，白名单中的插件将跳过空闲检查，始终保持运行。

## Request body

- HandlersPluginKeepAliveSetting
  - `plugins` string[]

## Response `200`

保存后的白名单

- HandlersPluginKeepAliveSetting
  - `plugins` string[]

## Other responses

- `400` — 请求格式错误
- `500` — 保存配置失败

## Changes

- **2026-06-30** `538a64bd8baa` — 1 info
  - endpoint added
- **2026-06-26** `be19914b7eed` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/songloft-org/apis/songloft-api/changes/settings/plugin-keep-alive/put.md)

---

[API](https://skmtc.dev/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.dev/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/revisions/5b1368253f6c/schema)
