Uploading Data via API

Follow the interactive tutorial below and learn how to upload data programatically.

Summary: How to upload data via API

In the dashboard, we provide code for adding data points programmatically using cURL, Python, and the super.AI CLI. If you're new to any or all of these methods, take a look at our Getting started with the super.AI API guides.

To find the dashboard code examples, follow these steps:

  1. Head your super.AI dashboard
  2. Open the relevant project
  3. Click Upload data in the left-hand menu
  4. Go to Via command line or Python
  5. You can copy and paste the code you find here. Make sure to replace the example input with your actual input data.

Our API reference contains detailed information on how to integrate with our API, which also allows you to retrieve job results, resubmit and cancel jobs, and manage your ground truth data and super.AI storage.


Hosting your files

When adding input data that includes files (e.g., images, videos, or audio) to your project, you have three options:

  1. Upload the files to your project directly. This occurs when submitting data points for processing via the dashboard and you choose From computer.
  2. Upload the files somewhere on the web, make them accessible under public URLs, and reference these URLs when adding your data
  3. Upload files to your super.AI storage and reference their private data:// URLs when adding your data

We recommend you use the super.AI storage option in the following scenarios:

  • Your project takes multiple inputs which need to be grouped together
  • You want to use the files multiple times, e.g., in different projects, without uploading them every time

If you want host your files with us, follow our How to upload data to storage guide.