Add rows to a dataset from the curated pool
Changed onRetrieves additional rows matching this dataset and returns them as a new dataset, leaving this one unchanged. The new dataset carries this dataset’s rows alongside the retrieved ones, so it can be trained on or downloaded directly. Omit both row counts to receive the recommended fill and its cost as a quote; a run needs explicit row counts, or fill_to_recommended=true to fill any count you leave out with its recommended value. Poll GET /datasets/{dataset_id}/status on the returned id until it reaches succeeded. Set estimate=true to price the request without starting a run.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"domain_rows": 3000,
"general_rows": 1000,
"similar_rows": 500,
"training_type": "instruction_dataset"
}Response
Example response
{
"dataset_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "running",
"domain_rows": 17000,
"estimated_credits_consumed": 40
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/jsonfor the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info