Firstly, if you do not already have the Curiosity Command Line (CLI) took installed and configured with an access token, please follow the steps in the "Curiosity.CLI" article.

Run the following command to start the file ingestion:

curiosity-cli ingest-pst -s http://<SERVER_URL>/api/ -t <TOKEN or auto> -p <ABSOLUT_PATH_DATA_ROOT>


This command ingests all files in the given ABSOLUT_PATH_DATA_ROOT folder and its subfolders.


If you stored the token locally, use auto instead of the actual token. The locally stored token for the given URL is then used.

By default:

  • each email will be imported with a Source that is derived from the name of the PST file (eg. files from the file "d:\downloads\Dan Roberts Email.PST" will be assigned a Source of "Dan Roberts Email"

  • most folders in the PST will be traversed but there is a standard set of named folders that will be ignored (as will all of the subfolders) such as "Drafts", "Deleted Items", and "Junk"

  • all of the emails imported will be available with everyone that has access to the Curiosity system

All of the above defaults may be overridden via optional command line arguments.

To change the Source value that will be applied to every mail, use the --source option like this:

curiosity-cli ingest-pst -s http://<SERVER_URL>/api/ -t <TOKEN or auto> -p <ABSOLUT_PATH_DATA_ROOT> --source "Dan's Mails"

To override the standard list of named folders that will be imported (which will be useful if the PST file was exported from an installation of Outlook that is not configured to use English names for folders), use the --ignore-folders like this (to specify multiple folder names, separate them with the | character):

curiosity-cli ingest-pst -s http://<SERVER_URL>/api/ -t <TOKEN or auto> -p <ABSOLUT_PATH_DATA_ROOT> --ignore-folders "Bozze|Posta eliminata|Posta indesiderata"

(When folders are ignored by the ingestion process, not only are any emails directly within the folder ignored but so are any subfolders and emails that they may contain)

To limit the visibility of the emails to either a single User or a single Team within Curiosity, find that User or Team in the Curiosity system and copy its UID. Then use the --upload-to and --target-uid arguments. Choose either UserPrivate or Group for the --upload-to argument, such as like this:

curiosity-cli ingest-pst -s http://<SERVER_URL>/api/ -t <TOKEN or auto> -p <ABSOLUT_PATH_DATA_ROOT> --upload-to Group --target-uid MzmYCqZrjeddaquFAq4wwf
Did this answer your question?