REST API quickstart

The CMS evaluation binds to loopback on the machine running the factory. Hosted REST access is unavailable.

Run the evaluation service

From a prepared data-factory checkout with the approved CMS releases, start the service against the verification preview’s local account database.

python -m pip install -e '.[evaluation-mcp]'
python -m wim.evaluation serve --state-dir /path/to/factory \
  --ccn 455001 --ccn 455020 --accounts /path/to/local/accounts.sqlite3

Verify a local address using the registered-site preview. Supply that preview’s session to python -m wim.evaluation issue-key --accounts /path/to/local/accounts.sqlite3 on stdin via a secure input method. Keep the issued key in a secret store.

Find sample operations

Read GET /evaluation/v1/catalog at http://127.0.0.1:8779 for supported identifiers and operation schemas. The evaluation covers a configured CMS sample.

Retrieve facility intelligence

Make the issued key available as MOOGILI_EVALUATION_KEY in your local environment.

curl --fail-with-body http://127.0.0.1:8779/evaluation/v1/query \
  -H "Authorization: Bearer $MOOGILI_EVALUATION_KEY" \
  -H "Content-Type: application/json" \
  --data '{"operation":"facility_intelligence","identifier":"455001"}'

Results identify the pinned releases and analytical coverage. Use GET /evaluation/v1/usage with the same key to check the remaining sample allowance.

OpenAPI specification · Connect a local MCP client