discovery
Validate Pybamm Model Config
Try to instantiate a pybamm/ionworks model with the given options.
Lightweight check that catches bad combinations of model name + options before a record is persisted. Builds the model in-process — same code path ModelService.get_pybamm_model_from_config uses at simulation time — and reports whether construction succeeded.
On failure the response carries the underlying exception's message verbatim (typically a pybamm OptionError / ValueError) so the caller can act on it.
The model is built and dropped; nothing is written to the database.
post/discovery/pybamm_models/validate
Request body
Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.