ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
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
}
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
}
Successful Response
The response is of type object
.
Was this page helpful?