Get script details

Retrieves the details of a specific automation script, including its content, associated triggers, and execution history.