PATCH
/
v2
/
datasets
/
{dataset_id}
curl --request PATCH \
  --url https://api.galileo.ai/v2/datasets/{dataset_id} \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "column_mapping": {
    "input": {
      "columns": [
        "<string>"
      ],
      "flatten": false
    },
    "output": {
      "columns": [
        "<string>"
      ],
      "flatten": true
    },
    "metadata": {
      "columns": [
        "<string>"
      ],
      "flatten": true
    }
  },
  "draft": true
}'
{
  "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

Path Parameters

dataset_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.