Skip to main content
POST
Start sage build workflow

Authorizations

nonce
string
query
required

WordPress AJAX nonce (passed as form field, verified per-action)

Body

application/x-www-form-urlencoded
action
string
required
Allowed value: "sagescreen_start_full_sage_build"
nonce
string
required

WP nonce for sagescreen_frontend_nonce

Example:

"abc123def456"

sage_id
integer
required

WordPress post ID of the council sage

Example:

1234

Response

200 - application/json

Build start result

success
boolean
Example:

true

run_id
string

Workflow run ID for polling

Example:

"run_abc123def456"

total_time
integer

Sum of all step max_time values in milliseconds

Example:

600000

steps
object[]
resumed
boolean

true if an existing build was resumed instead of starting fresh

Example:

false

build_started
string

Unix timestamp of build start (only present when resumed)

Example:

"1739980800"