Merge Dataset

Merge rows from one dataset into another dataset.

POST https://api.futureagi.com/model-hub/datasets/{id}/merge/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

id UUID Required

UUID of the source dataset to merge from.

Request body

target_dataset_id string Required

UUID of the target dataset to merge into.

row_ids array Optional

Array of row UUIDs to merge from the source dataset.

selected_all_rows boolean Optional

Whether to merge all rows. Defaults to false.

Response

200 OK
data object
Merge operation details.
message string
Confirmation message.
rows_merged integer
Number of rows merged.
new_columns_created integer
Number of new columns created in the target.
status string
Status of the API response.

Errors

400 Bad Request Optional
Invalid request parameters.
401 Unauthorized Optional
Invalid or missing API credentials.
404 Not Found Optional
Source or target dataset not found.
429 Too Many Requests Optional
Resource limit reached.
500 Internal Server Error Optional
Unexpected server error.
GET /
Authentication
REQUEST
 
RESPONSE