POST
/
v2
/
datasets
curl --request POST \
  --url https://api.galileo.ai/v2/datasets \
  --header 'Content-Type: multipart/form-data' \
  --header 'Galileo-API-Key: <api-key>' \
  --form draft=false \
  --form hidden=false \
  --form 'name=<string>' \
  --form 'copy_from_dataset_id=<string>' \
  --form copy_from_dataset_version_index=123
{
  "id": "<string>",
  "permissions": [],
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "project_count": 123,
  "num_rows": 123,
  "column_names": [
    "<string>"
  ],
  "created_by_user": {
    "id": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>"
  },
  "current_version_index": 123,
  "draft": true
}

Authorizations

Galileo-API-Key
string
header
required

Query Parameters

format
enum<string>
Available options:
csv,
feather,
json,
jsonl
hidden
boolean
default:false

Body

multipart/form-data

Response

200
application/json

Successful Response

The response is of type object.