v1
1curl -X POST https://app.coactive.ai/api/v1/datasets \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "name": "GameOfThrones",6 "description": "A dataset containing screenshots and clips from the tv show Game of Thrones",7 "encoder": "multimodal-tx-large3"8}'
1{2 "createdUserId": "user_example",3 "createdDt": "2018-09-11T15:11:45Z",4 "updatedUserId": "user_example",5 "updatedDt": "2018-09-11T15:11:45Z",6 "name": "GameOfThrones",7 "datasetId": "c40276f0-024b-4a3f-b3e6-dcf0d304843e",8 "status": "Ready",9 "imageCount": 100,10 "videoCount": 100,11 "description": "A dataset containing screenshots and clips from the tv show Game of Thrones",12 "isDeletable": true,13 "encoder": "multimodal-tx-large3"14}
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>
false