Get the custom model JSON for a custom model

Get the raw JSON content of a custom model.

Only works for models with custom_model_data (custom uploaded models). Returns the full JSON structure of the serialized PyBaMM model.

Parameters

model_id : str The model ID

Returns

dict The custom model JSON content

get/models/{model_id}/custom-model-json

Path parameters

model_idstring required

Response

Successful Response

{"stackTrail":"paths:/models/{model_id}/custom-model-json:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.