Command Line Tools (CLI)
For quick testing you can use the integrated CLI tools that ship with the Client Libraries.
All our APIs are asynchronous, as a result it's not very practical to use cURL or equivalent for quick testing.
For this reason the SDKs include a Command Line Interface (CLI) to allow for quick testing and debugging of your models.
# Install the library
pip install mindee
# General help
mindee --help
# Help for extraction models
mindee extraction --help
# Run extraction on a file
# -k: API key, you can instead `export MINDEE_V2_API_KEY=md_XXXXXXXXXXXX`
# -m: Your model ID
# Positional arg: Absolute path to the file
mindee extraction \
-k md_XXXXXXXXXXXX \
-m xxxx-xxxx-xxxx-xxxx-xxxx \
/path/to/the/file.pdf# Install the library
npm install mindee
# General help
./node_modules/.bin/mindeeV2 --help
# Help for extraction models
./node_modules/.bin/mindeeV2 extraction --help
# Run extraction on a file
# -k: API key, you can instead `export MINDEE_V2_API_KEY=md_XXXXXXXXXXXX`
# -m: Your model ID
# Positional arg: Absolute path to the file
./node_modules/.bin/mindeeV2 extraction \
-k md_XXXXXXXXXXXX \
-m xxxx-xxxx-xxxx-xxxx-xxxx \
/path/to/the/file.pdfUse from the root of the Git repository.
First install the CLI package: https://www.nuget.org/packages/Mindee.Cli
Note: this is a separate package from the general Mindee SDK.
Last updated
Was this helpful?

