cURL
curl --request POST \ --url https://api.tokenfactory.nebius.com/v1/datasets/uploads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "schema": [ { "name": "<string>", "type": { "name": "string" } } ], "folder": "<string>" } '
{ "id": "<string>", "upload_info": { "status": "PENDING", "dataset": { "name": "<string>", "schema": [ { "name": "<string>", "type": { "name": "string" } } ], "folder": "<string>", "id": "4d89c87498354518b92fa02fc0ad8720" }, "created_at": 123, "error": null, "completed_at": 1760109124, "ai_project_id": "example_project" } }
Create a new upload
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the dataset.
"example_dataset"
Dataset schema definition.
Show child attributes
{ "name": "text", "type": { "name": "string" }}
Folder path where the dataset is stored.
"/some/folder"
Successful Response
The object identifier, which can be referenced in the API endpoints.
"4d89c87498354518b92fa02fc0ad8720"
Detailed information about the upload
Was this page helpful?