    

 ## On this page

  

 

 # Example: Add Thermal Profiles

 Last update: 17.07.2025 

## Proto Request Example

```
{
  "project": "Tutorial Project",
  "thermalProfiles": [
    {
      "phaseName": "Environmental",
      "eventName": "1 - Temp Cycle",
      "profileName": "First Thermal Profile",
      "timeUnits": "min",
      "tempUnits": "F",
      "thermalProfileEntries": [
        {
          "step": "Min Temp",
          "type": "HOLD",
          "time": 15,
          "temp": 15
        },
        {
          "step": "Ramp Up",
          "type": "RAMP",
          "time": 25,
          "temp": 50
        },
        {
          "step": "Max Temp",
          "type": "HOLD",
          "time": 15,
          "temp": 50
        },
        {
          "step": "Ramp Down",
          "type": "RAMP",
          "time": 15,
          "temp": 15
        }
      ]
    },
    {
      "phaseName": "On The Road",
      "eventName": "4 - Thermal Shock",
      "profileName": "Second Thermal Profile",
      "timeUnits": "min",
      "tempUnits": "C",
      "thermalProfileEntries": [
        {
          "step": "Min Temp",
          "type": "HOLD",
          "time": 15,
          "temp": 15
        },
        {
          "step": "Ramp Up",
          "type": "RAMP",
          "time": 25,
          "temp": 50
        },
        {
          "step": "Max Temp",
          "type": "HOLD",
          "time": 15,
          "temp": 50
        },
        {
          "step": "Ramp Down",
          "type": "RAMP",
          "time": 15,
          "temp": 15
        }
      ]
    }
  ]
}

```

## Python Example

For a Python example, refer to the online [PySherlock Reference](https://sherlock.docs.pyansys.com/version/stable/api/index.html).