cURL
curl --request POST \ --url https://api.tokenfactory.nebius.com/v1/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form purpose=batch
{ "id": "<string>", "bytes": 123, "created_at": 123, "filename": "<string>", "purpose": "<string>", "object": "file", "status": "<string>", "status_details": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Project ID to upload file to
batch
fine-tune
Successful Response
Was this page helpful?