Skip to content

Hosted research sessions

Use a hosted research session to inspect a dataset request and its sources before you configure a pipeline. The session runs in Mostly Right; the CLI opens it, sends probes, reads its status, and closes it.

Terminal window
mr-data login
mr-data whoami

See Credentials for device login details.

Pass the dataset, question, and any sources that the worker may inspect:

Terminal window
mr-data research-open \
--dataset DATASET_ID \
--question QUESTION_ID \
--source SOURCE_ID

The command prints the session identifier. Save it for the remaining commands.

Terminal window
mr-data research-status SESSION_ID

Use research-probe to ask for a source inspection, sample rows, a column profile, or an expression evaluation. The request is validated before it is sent.

Terminal window
mr-data research-probe SESSION_ID --help

Add --json when another program needs the response.

Terminal window
mr-data research-close SESSION_ID

Closing a session ends its worker and queued probes.