    

 ## On this page

  

 

 # Examples: Add Shock Event

 Last update: 09.03.2026 

## Proto Request Example

```
{
  "project": "Tutorial Project",
  "phaseName": "On The Road",
  "eventName": "Test Shock API",
  "description": "Test Description",
  "duration": 2,
  "durationUnits": "ms",
  "numOfCycles": 100,
  "cycleType": "DUTY CYCLE",
  "orientation": "5, 5",
  "loadDirection": "0, 0, -1"
}

```

## Python Example

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