---
title: "POST /model-hub/develops/create-dataset-from-huggingface/"
method: POST
path: "/model-hub/develops/create-dataset-from-huggingface/"
tags: ["model-hub"]
---

# POST /model-hub/develops/create-dataset-from-huggingface/

`POST /model-hub/develops/create-dataset-from-huggingface/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/develops/create-dataset-from-huggingface/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- HuggingFaceDatasetCreateRequest
  - `name` string
  - `model_type` string
  - `num_rows` integer
  - `huggingface_dataset_name` string, required
  - `huggingface_dataset_config` string
  - `huggingface_dataset_split` string, required

## Response `200`

OK

- DatasetCreateStartedResponse
  - `status` boolean, required
  - `result` DatasetCreateStartedResult, required
    - `message` string, required
    - `dataset_id` string, uuid, required
    - `dataset_name` string, required
    - `dataset_model_type` string, nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `503`: Service Unavailable
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
