> For the complete documentation index, see [llms.txt](/llms.txt).
> A full single-fetch corpus is available at [llms-full.txt](/llms-full.txt).
---
title: "Create a dataset"
description: "Create a dataset."
method: "POST"
endpoint: "/api/v1/projects/:projectId/datasets"
order: 2
group: "Manage datasets"
last_verified: 2026-07-27
---

<ApiEndpoint method="POST" endpoint="/api/v1/projects/:projectId/datasets" description="Create a dataset.">
  <section>
    #### Body parameters
    <ApiAttribute name="name" type="string" description="The dataset's name." required={true} />
    <ApiAttribute name="description" type="string" description="A short description of what the dataset covers." required={false} />
    <ApiAttribute name="metadata" type="object" description="Arbitrary JSON metadata." required={false} />
  </section>
</ApiEndpoint>
