curl --request POST \ --url https://api.getflex.ai/v1/datasets/generate_upload_urls \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "name": "<string>" }'
{ "train_upload_url": "<string>", "eval_upload_url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>