---
updatedAt: 2025-09-16T11:18:48.000Z
agentTools:
  projectIndex: https://docs.super.ai/llms.txt
---

# create new data

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/data": {
      "post": {
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "summary": "create new data",
        "operationId": "Create data",
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "description": "The path/filename where the data will be stored. If not given, the path will be generated automatically.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mimeType",
            "in": "query",
            "description": "The MIME type of the uploaded data.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "description",
            "in": "query",
            "description": "A brief description of the data being uploaded.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "signedUrl",
            "in": "query",
            "description": "Boolean flag to indicate if a signed URL should be returned to download the file after.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "secondsTtl",
            "in": "query",
            "description": "Time-to-live in seconds for the uploaded data.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "uploadUrl",
            "in": "query",
            "description": "Boolean flag to indicate if an upload URL should be returned to upload the file via PUT request. Either this or file is required.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/Create_data"
        },
        "security": [
          {
            "apiToken": []
          }
        ],
        "tags": [
          "data"
        ]
      }
    }
  },
  "info": {
    "title": "super.AI API",
    "version": "2.0.177.120",
    "description": "super.AI App Store API"
  },
  "tags": [
    {
      "name": "data",
      "description": "Data CRUD"
    }
  ],
  "servers": [
    {
      "url": "//api.prod-eu.super.ai"
    }
  ],
  "components": {
    "requestBodies": {
      "Create_data": {
        "content": {
          "multipart/form-data": {
            "schema": {
              "type": "object",
              "properties": {
                "file": {
                  "description": "The file to be uploaded. Either this or uploadUrl is required",
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "API-KEY"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```