Curiosity for Developers
  • Overview
  • Getting Started
    • Introduction
    • System Overview
      • Workspace
      • Connectors
      • Front End
    • Requirements
    • Installation
      • Deploying on Windows
        • Download Curiosity Workspace for Windows
      • Deploying on Docker
        • Deploying using Docker Desktop App
        • Docker Hub
      • Deploying on Kubernetes
      • Deploying on OpenShift
      • Configuration
    • Configure your Workspace
    • Connecting to a Workspace
      • Download App
    • Built-in Templates
  • Security
    • Introduction
    • Hosting
    • Encryption
    • Users and Access
      • User Invitations
      • Single Sign-On (SSO)
        • Google Sign-In
        • Microsoft / Azure AD
        • Okta
        • Auth0
    • Permissions Management
    • Auditing
    • Teams management
    • Configuring Backup
      • Restoring a backup
    • Activate a workspace license
  • Data Sources
    • Introduction
    • User Apps
    • Workspace Integrations
    • API Integrations
      • Introduction
      • Data Modeling
      • Writing a Connector
      • Access Control
      • API Tokens
      • API Overview
      • Tips
    • Supported File Types
    • Curiosity CLI
      • Installation
      • Authentication
      • Commands
  • Search
    • Introduction
    • Languages
    • Synonyms
    • Ranking
    • Filters
    • Search Permissions and Access Control
  • Endpoints
    • Introduction
    • Creating an endpoint
    • Calling an endpoint
    • Endpoint Tokens
    • Endpoints API
  • Interfaces
    • Introduction
    • Local Development
    • Deploying a new interface
    • Routing
    • Node Renderers
    • Sidebar
    • Views
  • Artificial Intelligence
    • Introduction
    • Embeddings Search
    • AI Assistant
      • Enabling AI Assistant
    • Large Language Models
      • LLMs Models Configuration
      • Self-Hosted Models
    • Image Search
    • Audio and Video Search
  • Sample Workspaces
    • Introduction
    • HackerNews
    • Aviation Incidents
    • Covid Papers
    • NASA Public Library
    • Suggest a Recipe
  • Basic Concepts
    • Graph database
    • Search Engine
  • Troubleshooting
    • FAQs
      • How long does it take to set up?
      • How does Curiosity keep my data safe?
      • Can we get Curiosity on-premises?
      • Can I connect custom data?
      • How does Workspace pricing work?
      • Which LLM does Curiosity use?
      • What's special about Curiosity?
      • How are access permissions handled?
      • What enterprise tools can I connect?
      • How to access a workspace?
      • How do I hard refresh my browser?
      • How do I report bugs?
      • How do I solve connectivity issues?
      • How do I contact support?
  • Policies
    • Terms of Service
    • Privacy Policy
Powered by GitBook
On this page
  • Common Options
  • Server URL Format
  • Windows-Specific Features
  • Notes
  • Logging Options
  1. Data Sources
  2. Curiosity CLI

Commands

Test Connection

Test connectivity to a Curiosity workspace.

curiosity-cli test -s <server-url> -t <token>
  • -s, --server: Workspace URL (required)

  • -t, --token: Authentication token (required)

  • --timeout: Request timeout in seconds (default: 90)

Upload Front-End

Deploy a compiled front-end application to a workspace.

curiosity-cli upload-front-end -s <server-url> -t <token> -p <path>
  • -s, --server: Workspace URL (required)

  • -t, --token: Authentication token (required)

  • -p, --path: Path to compiled front-end files

  • -a, --auto-patch: Enable automatic patching (only overwrite files, don't delete old files)

  • -i, --ignore-certificate-errors: Ignore SSL certificate validation errors

  • --timeout: Request timeout in seconds (default: 90)

Upload Folder

Upload a folder's contents to a workspace.

curiosity-cli upload-folder -s <server-url> -t <token> -p <path> [options]
  • -s, --server: Workspace URL (required)

  • -t, --token: Authentication token (required)

  • -p, --path: Source folder path (required)

  • --bandwidth: Maximum bandwidth in Mbps

  • --fetch-server-state: Sync with server state before upload

  • --source: Custom source name

  • --upload-to: Upload destination (Public/Group/UserPublic/UserPrivate)

  • --target-uid: Target group/user UID for non-public uploads

  • --extensions: Filtered file extensions (e.g., "doc;docx;pdf")

  • --root-path: Original root path to replace (local path)

  • --root-folder-name: Target root folder name (the path the root path is replaced with in the workspace)

  • --sync-file-url: Enable direct file URL synchronization

  • --in-place: Only sync file URLs without copying files

Monitor Folder

Monitor and continuously sync a folder to a workspace.

curiosity-cli monitor -s <server-url> -t <token> -p <path> [options]

[Similar options to upload-folder, but with continuous monitoring]

Upload/Monitor with Permissions (Windows Only)

Variants of upload and monitor commands that sync Windows file permissions:

curiosity-cli upload-folder-with-permissions -s <server-url> -t <token> -p <path> -c <permissions-cache> [options]
curiosity-cli monitor-with-permissions -s <server-url> -t <token> -p <path> -c <permissions-cache> [options]

Additional option:

  • -c, --permissions-cache: Path to permissions cache file to cache local permissions of the synced folder

Windows-specific options for impersonation:

Use a different user to access the files and folders to be synced. Works with the monitor and upload commands.

  • --username: Windows username

  • --password: Windows password

  • --domain: Windows domain

Inspect Folder

Analyze a folder's contents and generate a summary report.

curiosity-cli inspect -p <path>
  • -p, --path: Folder to analyze (required)

PST Ingestion

Upload emails from PST files to the workspace.

curiosity-cli ingest-pst -s <server-url> -t <token> -p <pst-file> [options]
  • -p, --path: PST file path (required)

  • --ignore-folders: Semicolon-separated list of folders to skip

Custom Code Management

Export and import custom code configurations like custom code indexes, custom endpoints or custom tasks:

curiosity-cli export-custom-code -s <server-url> -t <token> --output-file <path>
curiosity-cli import-custom-code -s <server-url> -t <token> --import-file <path>

Token Management

Store authentication tokens locally:

curiosity-cli store-token -s <server-url> -t <token>

After storing a token, you can use --token auto in other commands.

Serve Front-End

Locally serve a front-end project built with the Mosaik.FrontEnd package. Mostly used when developing a custom frontend for a workspace.

curiosity-cli serve -s <server-url> -p <path> [options]
  • -s, --server: Workspace URL

  • -p, --path: Path to front-end files

  • --name: Connector name (default: "Loc")

  • --port: Local port to bind (default: 5000)

  • --cert-file: SSL certificate file for HTTPS

  • --cert-password: SSL certificate password

  • --listen-to-any: Listen on all interfaces instead of just localhost

  • --enable-cors: Enable CORS

  • --path-base: Base path for the application

Common Options

Most commands support these options:

  • --timeout: Request timeout in seconds (default: 90)

Server URL Format

Server URLs should be in the format:

https://{path_to_workspace}/api/

Both HTTP and HTTPS are supported. The /api/ suffix will be added if omitted.

Windows-Specific Features

Some features are only available on Windows:

  • Permission synchronization

  • Windows authentication impersonation

  • Network share access with credentials

Notes

  • When specifying a server URL, both forward and backslashes are accepted, but forward slashes are preferred.

  • The server URL should end with "/api/", but the tool will attempt to correct this if omitted.

Logging Options

The following options are available for all commands:

  • --log-level: Set the minimum logging level (e.g., DEBUG, INFO, WARNING, ERROR)

  • --logs: Specify the directory path where log files should be stored

PreviousAuthenticationNextIntroduction

Last updated 1 month ago