POST
/
v1
/
datasets
/
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": true,
    "is_active": true,
    "date_joined": "2023-11-07T05:31:56Z",
    "is_first_login": true,
    "is_email_verified": true
  },
  "created_at": "2023-11-07T05:31:56Z",
  "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

Response

201
application/json

Successfully created dataset.

The response is of type object.