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

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

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

## Request

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

## Request body

- DatasetAddRowsFromExistingRequest
  - `source_dataset_id` string, uuid, required
  - `column_mapping` object, required

## Response `200`

OK

- DatasetRowsImportedResponse
  - `status` boolean, required
  - `result` DatasetRowsImportedResult, required
    - `message` string, required
    - `rows_added` integer, 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)
