curl --request POST \
--url https://api.getmaxim.ai/v1/datasets \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"workspaceId": "<string>",
"name": "<string>",
"folderId": "<string>",
"createDefaultColumns": true,
"columns": [
{
"name": "<string>",
"columnType": "CONVERSATION_HISTORY",
"meta": {
"columnDataType": "file",
"delimiter": "<string>"
}
}
]
}
'{}Create a new dataset
curl --request POST \
--url https://api.getmaxim.ai/v1/datasets \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"workspaceId": "<string>",
"name": "<string>",
"folderId": "<string>",
"createDefaultColumns": true,
"columns": [
{
"name": "<string>",
"columnType": "CONVERSATION_HISTORY",
"meta": {
"columnDataType": "file",
"delimiter": "<string>"
}
}
]
}
'{}API key for authentication
Unique identifier for the workspace
Name of the dataset
Unique identifier for the folder
Create default columns for the dataset. Columns Input and Expected Output will get created by default
Columns for the dataset
Show child attributes
Dataset created successfully
The response is of type object.
Was this page helpful?