Overview
Getting Started
SDK/API
- Python SDK Reference
- TypeScript SDK Reference
How-to Guides
- Overview
- Conversational AI
- Retrieval-Augmented Generation
- Agentic AI
Cookbooks
- Use Cases
Integrations
Concepts
- Metrics
- Projects
- Logging
- Datasets
- Annotations
- Experiments
- Playground
API Reference
- health
- auth
- trace
- log_stream
- experiment
- feedback
- annotation
- data
- protect
- datasets
- GETList Prompt Datasetsdeprecated
- POSTUpload Prompt Evaluation Datasetdeprecated
- GETList Datasets
- POSTCreate Dataset
- GETGet Dataset
- DELDelete Dataset
- PATCHUpdate Dataset
- POSTQuery Datasets
- GETDownload Prompt Datasetdeprecated
- PUTUpdate Prompt Datasetdeprecated
- DELDelete Prompt Datasetdeprecated
- GETGet Dataset Content
- PUTUpsert Dataset Content
- PATCHUpdate Dataset Content
- GETDownload Dataset
- POSTPreview Dataset
- POSTQuery Dataset Content
- GETList User Dataset Collaborators
- POSTCreate User Dataset Collaborators
- GETList Group Dataset Collaborators
- POSTCreate Group Dataset Collaborators
- DELDelete User Dataset Collaborator
- PATCHUpdate User Dataset Collaborator
- DELDelete Group Dataset Collaborator
- PATCHUpdate Group Dataset Collaborator
- POSTQuery Dataset Versions
- GETGet Dataset Version Content
- PATCHUpdate Dataset Version
- GETList Dataset Projects
- GET
- projects
References
datasets
Update Dataset
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
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
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
}
Assistant
Responses are generated using AI and may contain mistakes.