Docs
Sign in

Bulk Upload

Bulk Upload loads many memories into Cortex at once from a CSV file, or from a pre-classified Rich JSON dataset.

Screenshot to add: The Bulk upload page with the step bar, the current step card and the Upload history table underneath.

The subtitle reads "Load memories from a CSV file (classified on the way in) or a pre-classified Rich JSON dataset." The sidebar item is Bulk upload. This page is for Cortex memory. To load files into data tables instead, see APEX Data Bulk Upload.

Choose a format

FormatBest forWhat happens
CSVRows of text from a spreadsheet or exportCortex classifies each memory on the way in and assigns its type
Rich JSONMemories you have already classifiedKeeps the types you declared, plus causal edges and decision records

Both are limited to 50 MB per file.

The steps

A step bar shows where you are. CSV has three steps. Rich JSON adds an Options step. You can only move forward once the current step is complete.

StepCSVRich JSON
Project & formatYesYes
FileYesYes
OptionsNot usedYes, optional
Review & uploadYesYes
  1. Project & format

    Choose a Project (required). Memories are scoped to it. It starts as the project already selected in the Cortex project picker. Then choose CSV or Rich JSON. Changing the format clears any file you chose.

  2. File

    Drop a file in the box, or click Choose file. You can also click Choose from a folder, which lists the matching files in that folder so you can pick one. CSV matches .csv and .tsv files. Rich JSON matches .json files. Click Download template for a starter file in the chosen format.

  3. Options (Rich JSON only)

    Optionally set a Memory space and a Classifier mode. See the table below.

  4. Review & upload

    Check the summary, then click Upload. The same card then turns into a live progress view.

What the file must look like

For CSV, the box says: "Header row required. Columns: content (required), memory_type, scope, source, tags, importance." Files over 50 MB are refused with "File must be under 50 MB".

For Rich JSON, the file must be an object with a memories array. Each memory has fields such as id, type and content. The file can also carry dataset, version and description. The page reads the file in your browser before upload. It refuses files that are not .json, are over 50 MB, cannot be parsed, or have no memories array.

For a Rich JSON file, a summary shows the file, Dataset, Version, Records, Description and Declared types. If the file declares a different record count than it contains, the summary says so.

Options

OptionChoicesMeaning
Memory spaceFree text, placeholder space-defaultOverrides the space for every record. Leave blank to keep each record's own
ClassifierAuto (trust the dataset's declared types), Force-trust (skip the rule-based reclassifier), Re-run the classifier (diagnostic)How types are decided. The default is Auto

A note on the card says records whose id and dataset match an existing memory are updated, not duplicated.

Upload progress

CSV uploads run as a background job and the page checks it every second or two. It shows:

  • The file name, and a track of phases: Validating, Parsing, Classifying, Embedding, Indexing, Committing, Complete. A failed job shows a red Failed pill instead.
  • A percent bar.
  • Records, Processed, Errors, Memory types and Duration.
  • When complete, a link to browse the memories.
  • An Upload issues table with Severity, Where and Message.

Rich JSON uploads show a Status pill (queued, running, completed, degraded or failed) and, for large sets, a live bar. Counts are Total, Processed, Created, Updated, Skipped and Failed, plus Memories in the project. Degraded means it finished with some errors. A Failed records table lists the record, the error and the message.

When an upload finishes, click Upload another file to start over at the File step.

Upload history

Below the wizard, Upload history lists the last 20 jobs, newest first.

ColumnWhat it shows
File / datasetFile name or dataset name
FormatCSV or JSON
Statuscomplete in green, failed in red, anything else in blue
RecordsProcessed over total
ErrorsError count
StartedStart time

With nothing yet it says "No uploads yet".