opa-capabilities(1)

Open Policy Agent(1) Open Policy Agent(1)

NAME

opa-capabilities - Print the capabilities of OPA

SYNOPSIS

opa capabilities [flags]

DESCRIPTION

Show capabilities for OPA.

The 'capabilities' command prints the OPA capabilities, prior to and including the version of OPA used.

Print a list of all existing capabilities version names

$ opa capabilities
v0.17.0
v0.17.1
...
v0.37.1
v0.37.2
v0.38.0
...

Print the capabilities of the current version

$ opa capabilities --current
{

"builtins": [...],
"future_keywords": [...],
"wasm_abi_versions": [...] }

Print the capabilities of a specific version

$ opa capabilities --version v0.32.1
{

"builtins": [...],
"future_keywords": null,
"wasm_abi_versions": [...] }

Print the capabilities of a capabilities file

$ opa capabilities --file ./capabilities/v0.32.1.json
{

"builtins": [...],
"future_keywords": null,
"wasm_abi_versions": [...] }

OPTIONS

--current[=false] print current capabilities

--file="" print capabilities defined by a file

-h, --help[=false] help for capabilities

--v0-compatible[=false] opt-in to OPA features and behaviors prior to the OPA v1.0 release

--version="" print capabilities of a specific version

SEE ALSO

opa(1)

Oct 2026