Skip to main content

Overview

The moorcheh-client package provides a Python client for calling the Moorcheh on-prem API, plus the moorcheh CLI for starting the runtime and running the same operations from the shell. No API keys are required — the client talks directly to your local Moorcheh instance.

Package

Start the server

Default API base URL: http://localhost:8080 Use MoorchehClient with resource modules — same layout as the cloud Python SDK:

Resources

Legacy flat client

MoorchehApiClient remains available for backward compatibility:
All flat methods delegate to MoorchehClient resources internally.

Errors

Non-2xx HTTP responses raise MoorchehApiError with:
  • status_code — HTTP status (for example 400, 404, 409)
  • body — parsed JSON error body when available
  • is_item_limit_exceededTrue for 409 quota errors on uploads

Next steps