Skip to main content
POST
/
model-hub
/
develops
/
{dataset_id}
/
add_empty_rows
/
curl --request POST \
--url https://api.futureagi.com/model-hub/develops/{dataset_id}/add_empty_rows/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '{
"num_rows": 1
}'
{
  "status": true,
  "result": "Successfully added 1 empty row(s)"
}

Authorizations

X-Api-Key
string
header
required

API Key for authentication. Click here to access API Key

X-Secret-Key
string
header
required

Secret Key for authentication. Click here to access Secret Key

Path Parameters

dataset_id
string<uuid>
required

The UUID of the dataset to which the empty rows will be added.

Body

application/json
num_rows
integer
default:1

The number of empty rows to add to the dataset. Must be a positive integer.

Required range: x >= 1

Response

Successfully added the specified number of empty rows to the dataset.

status
boolean
Example:

true

result
string
Example:

"Successfully added 1 empty row(s)"