---
title: "create"
method: POST
path: "/v1/bucket"
tags: ["Buckets"]
---

# create

`POST /v1/bucket`

Create a new bucket.

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

## Request body

- BucketCreateRequest
  - `name` string, required

## Response `200`

Bucket successfully created

- BucketResponse
  - `bucket` BucketDetail, required
    - `bucketId` integer, required
    - `created` string, date-time — The data time when the bucket was created, in RFC3339 format
    - `fileCount` integer — The number of files contained in the content bucket
    - `fileSize` string — The total file size of files contained in the content bucket
    - `name` string
    - `updated` string, date-time — The data time when the bucket was last updated, in RFC3339 format

## Other responses

- `400` — Invalid body parameter

---

[API](https://skmtc.net/groundxai/apis/groundx-apis.md) · [All operations](https://skmtc.net/groundxai/apis/groundx-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/groundxai/groundx-apis/versions/1c1a5c17f52f/schema)
