---
title: "POST /model-hub/develops/{dataset_id}/add_synthetic_data/"
method: POST
path: "/model-hub/develops/{dataset_id}/add_synthetic_data/"
tags: ["model-hub"]
---

# POST /model-hub/develops/{dataset_id}/add_synthetic_data/

`POST /model-hub/develops/{dataset_id}/add_synthetic_data/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/develops/{dataset_id}/add_synthetic_data/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- SyntheticData
  - `num_rows` integer, required
  - `columns` SyntheticDatasetColumn[], required
    - `name` string, required
    - `data_type` string, required
    - `description` string, required
    - `property` object, required
    - `skip` boolean
    - `is_new` boolean
  - `dataset` SyntheticDatasetPayload, required
    - `name` string
    - `description` string, required
    - `objective` string, required
    - `patterns` string, required
  - `kb_id` string, uuid
  - `fill_existing_rows` boolean

## Response `200`

OK

- DevelopDatasetMessageResponse
  - `status` boolean, required
  - `result` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `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)
