---
title: "Create folder"
method: POST
path: "/api/prompt-repo/folders"
tags: ["Prompt Repository"]
---

# Create folder

`POST /api/prompt-repo/folders`

Creates a new prompt folder.

## Request body

- object
  - `name` string, required
  - `description` string

## Response `200`

Folder created

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