Maxim Logo
Datasets/Entries

Create Dataset entries

Create dataset entries

POST
/v1/datasets/entries

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Request Body

application/jsonOptional
workspaceIdRequiredstring

Unique identifier for the workspace

datasetIdRequiredstring

Unique identifier for the dataset

entriesRequiredarray<array<object>>

Entries to be added to a column in a dataset

curl -X POST "https://api.getmaxim.ai/v1/datasets/entries" \
  -H "x-maxim-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "workspaceId": "string",
    "datasetId": "string",
    "entries": [
      [
        {
          "columnId": "string",
          "value": {
            "type": "file",
            "payload": null
          }
        }
      ]
    ]
  }'

Dataset entries created successfully

{
  "data": [
    {
      "id": "string",
      "rowNo": 0,
      "createdAt": "string",
      "cells": [
        {
          "id": "string",
          "columnId": "string",
          "value": {
            "type": "string",
            "payload": "string"
          },
          "createdAt": "string",
          "deletedAt": null,
          "updatedAt": "string"
        }
      ]
    }
  ]
}