curl --request POST \
--url "https://api.roe-ai.com/v1/datasets/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"name": "My Dataset",
"description": "Dataset description"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"creator": {
"id": 123,
"email": "[email protected]",
"first_name": "<string>",
"last_name": "<string>",
"date_joined": "2023-11-07T05:31:56Z",
"is_staff": false,
"is_active": true,
"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.
curl --request POST \
--url "https://api.roe-ai.com/v1/datasets/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"name": "My Dataset",
"description": "Dataset description"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"creator": {
"id": 123,
"email": "[email protected]",
"first_name": "<string>",
"last_name": "<string>",
"date_joined": "2023-11-07T05:31:56Z",
"is_staff": false,
"is_active": true,
"is_first_login": true,
"is_email_verified": false
},
"created_at": "2023-11-07T05:31:56Z",
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}curl --request POST \
--url "https://api.roe-ai.com/v1/datasets/?organization_id=YOUR_ORG_ID" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"name": "My Dataset",
"description": "Dataset description"
}'