Skip to main content
Validate Custom Model
curl --request POST \
  --url https://api.ionworks.com/models/validate-custom-model \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>'
{
  "success": true,
  "error": "<string>",
  "rhs_variables": [
    "<string>"
  ],
  "algebraic_variables": [
    "<string>"
  ]
}

Body

multipart/form-data
file
string
required

PyBaMM serialized model JSON file

Response

Successful Response

success
boolean
required
error
string | null
rhs_variables
string[] | null
algebraic_variables
string[] | null