Skip to main content

Language basics

OpalScript uses Starlark syntax, which is similar to Python. This section gives you a quick overview of Starlark syntax and its key differences from Python.

Syntax overview

Key differences from Python

OpalScript (Starlark) has some intentional limitations compared to Python: These limitations ensure scripts are predictable, terminate reliably, and execute safely.

Quick reference

Utility functions (all script types)

http and secrets are currently available in Request Review scripts only. See Reach external services.

Request Review functions

Request attributes

Last modified on July 16, 2026