cURL
curl --request POST \ --url https://api.roe-ai.com/v1/datasets/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "creator": { "id": 123, "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>", "is_staff": false, "is_active": true, "date_joined": "2023-11-07T05:31:56Z", "is_first_login": true, "is_email_verified": false }, "created_at": "2023-11-07T05:31:56Z", "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Create a new dataset.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the dataset.
1
ID of the organization to associate the dataset with.
Successfully created dataset.
1024
Show child attributes