Direct calls from the browser

Each of your actions in the workbench is one HTTPS request from your browser to the platform. On the server, each request has a handler with a typed input and a typed answer. Behind the handlers are the same stores, the same engine and the same models as on the other two paths into the platform.

Inputs

The calls are in these groups:

Group Calls
Simulations A new simulation, the list, one simulation, and a move to the trash.
Setups A setup for review, a change, an approval, a rejection, and a request for a run.
Runs The list, one run, its record, its trajectories, a stop and a resumption.
Results A result and its pages, the metrics and the panels.
Sharing A new link, an acceptance, and the end of a share.
Account The session, your API keys and your datasets.

A call with a change has further parts: a body under a strict schema, an idempotency key, and the revision of the object behind the change.

The fields of a setup open to a change by hand are the length of a tick and the interval of the saved states, the limits on agents, run time, compute time and storage, the outputs, the time range, the bounds of the place, and the fields of a model with the mark "changeable".

Outputs

  • For a read, the stored object. A stored result has exactly one of two: a claim label from its computation, or a stated evidence status.
  • For a change to a setup, a replacement setup with a review address of its own. Your approval of the replacement is a condition of a run.
  • For a request for a run, the answer 202 and a record of the request. In a worker process, the run is then built from the approved setup and started under your account, with the same generate and start operations as on an AI assistant's path.
  • For a stop or a resumption, the new state of the run. Both calls are handled by the same run service as an AI assistant's operations.
  • For a refusal, a typed error with a reason: 409 for a change against an old revision, 404 for an unknown reference, and a list of corrections for an invalid body.

Guarantees and their checks

Guarantee Mechanism Check
Every call has the permission check of the web interface. The first step of each handler is the check of the access token, the session cookie and the anti-forgery token. The tests of the web interface.
A change is for the revision on your screen. Each change has the revision of its object. For an older revision, the answer is a refusal with the reason. In a test, a review of an old revision and a second request under a used idempotency key with different content are each refused with a typed reason.
A changed setup is a new setup for approval. A change set has a new version of the setup as its result, and an approval is bound to the digest of one version. In a test, a run from a setup without a matching approval has a refusal as its result.
A run is for the owner of its setup. A request for a run is checked against the owner of the setup before the record of the request. In a test, a request for a run from another account's setup has the answer 404 and no record.

Place in the path of a question

On the browser's path, the direct calls are the step from the web interface, through the developer kit, to the pipeline: a change by hand to the scenario, then the compiler, the engine and the record. The claim rules for AI assistants are on the AI assistant's path, between MCP and the developer kit. On the browser's path, the same results are on the page with the labels from their computation.