That’s a complicated question. Nowhere that I know of is an official answer from Pentax on the maximum safe voltage. Some sources claim Pentax engineers gave them fairly high voltages. It does appear Pentax is less sensitive than some other brands but there are precautions you should take.
1) you can use a safe sync device to isolate the camera from the flash.
2) you can use wireless triggers, either with the flash mounted directly into the trigger on top of the hot shoe camera or on another trigger off camera/remote. Off camera is certainly safest but only marginally more risk is added when used on top of a trigger on the hot shoe as long as it is voltage isolating. Most - not all - act like a safe sync. Do a little research if you want to use it that way.
3) you can look up what the trigger voltage is here:
Photo Strobe Trigger Voltages. Based on that voltage you may be willing or unwilling to risk direct use on the hotshoe.
Read this also:
Flash trigger voltage - PENTAX official answer - PentaxForums.com
My view is that those flashes are around 200v and I wouldn’t risk it without some isolation like a safe sync or a trigger. It is under the value one engineer said might be ok, but it is also old info and newer camera may not be that safe and the caveat in the reply isn’t very assuring.