curl --request POST \
--url https://api.getmaxim.ai/v1/datasets/entries \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '{
"workspaceId": "<string>",
"datasetId": "<string>",
"entries": [
[
{
"columnId": "<string>",
"value": {
"type": "text",
"payload": "<string>"
}
}
]
]
}'
{
"data": [
{
"id": "<string>",
"rowNo": 123,
"createdAt": "<string>",
"cells": [
{
"id": "<string>",
"columnId": "<string>",
"value": {
"type": "<string>",
"payload": {
"text": "<string>",
"files": [
{
"id": "<string>",
"url": "<string>"
}
]
}
},
"createdAt": "<string>",
"deletedAt": "<any>",
"updatedAt": "<string>"
}
]
}
]
}
Create dataset entries
curl --request POST \
--url https://api.getmaxim.ai/v1/datasets/entries \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '{
"workspaceId": "<string>",
"datasetId": "<string>",
"entries": [
[
{
"columnId": "<string>",
"value": {
"type": "text",
"payload": "<string>"
}
}
]
]
}'
{
"data": [
{
"id": "<string>",
"rowNo": 123,
"createdAt": "<string>",
"cells": [
{
"id": "<string>",
"columnId": "<string>",
"value": {
"type": "<string>",
"payload": {
"text": "<string>",
"files": [
{
"id": "<string>",
"url": "<string>"
}
]
}
},
"createdAt": "<string>",
"deletedAt": "<any>",
"updatedAt": "<string>"
}
]
}
]
}
API key for authentication
Dataset entries created successfully
The response is of type object
.
Was this page helpful?