Skip to main content
POST
/
orchestration
/
render-bulk
/
{brand_id}
/
sites
/
{site_id}
Bulk Render Optimized Pages
curl --request POST \
  --url https://api.scrunchai.com/v2/orchestration/render-bulk/{brand_id}/sites/{site_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paths": [
    "<string>"
  ]
}
'
[
  {
    "path": "<string>",
    "job_id": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

brand_id
integer
required

The unique identifier for the brand that owns the site.

site_id
string
required

The ULID of the registered AXP site to render pages on.

Body

application/json
paths
string[]
required

Paths on the site to render. Each entry is trimmed and given a leading slash if missing. Duplicates are removed; in-flight jobs for the same path are reused.

Required array length: 1 - 100 elements
Required string length: 1 - 2048

Response

One item per unique path with the queued job id and current status.

path
string
required

The normalized path that was queued, echoed back from the request.

job_id
integer
required

The render job identifier. Use it when correlating with logs or webhooks.

status
enum<string>
required

Status of the job at response time. pending means a fresh job was queued; running means the call coalesced onto an in-flight job for the same path.

Available options:
pending,
running,
succeeded,
failed,
cancelled