---
title: "Update folder"
method: PUT
path: "/api/prompt-repo/folders/{id}"
tags: ["Prompt Repository"]
---

# Update folder

`PUT /api/prompt-repo/folders/{id}`

Updates a folder's name or description.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string, nullable

## Response `200`

Folder updated

- object
  - `folder` object — Prompt folder
    - `id` string — Unique folder ID (UUID)
    - `name` string
    - `description` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `prompts_count` integer — Number of prompts in this folder (virtual field)

## Other responses

- `400` — Bad request
- `404` — Folder not found
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
