Skip to main content

Module level

The ambient surface. Every one of these resolves the run bound by probe.init().

Client

Run

log parameters

A key present in both dimensions and labels raises ValueError. See metrics for how to choose between them.

What maps to what

Workspaces

A new project is filed in this computer’s workspace: workspace= on probe.init or Client.run (a slug or an id), else PROBE_WORKSPACE, else the one probe workspace use set. Existing projects need none of these.
On a team with several workspaces and none set, probe.init raises WorkspaceRequired before anything is created, so a training script fails at start rather than mid-run. Fix it once per computer with probe workspace use <slug>.

Typed models

Request and response models are generated from the OpenAPI contract, so schema drift fails at the call site rather than as a server 422.

Errors

Import the exceptions from probe.errors. Data writes do not raise by default — they spool. Everything else does.

Environment variables

Every variable the SDK, CLI and MCP read, and what each overrides.