Skip to content

Module Install Dry Run

POST
/api/v1/modules/install/{module_id}/dry-run

Plans installation for selected module and components.

Authorizations

SessionAuth

Session ID for authenticated requests

Type
API Key (header: X-Session-ID)

Parameters

Path Parameters

module_id*
Type
string
Required

Request Body

application/json
JSON
{
  
"target": "core",
  
"components": [
  
  
"string"
  
],
  
"runtime_scope": "flowless-core",
  
"verify_checksum": true,
  
"repair_missing": false
}

Responses

Install plan generated

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Plans installation for one module without applying SQL.

Auth: session + admin / superadmin.

Parameters

NameInTypeRequiredDescription
module_idpathstringYese.g. post-types, blog, two-factor

Request Body

Optional. Empty body or {} uses defaults (target: "core", runtime_scope: "flowless-core").

json
{
  "target": "all",
  "runtime_scope": "flowless-core",
  "verify_checksum": true,
  "repair_missing": false
}
FieldNotes
targetcore | selected | all. With core, components is ignored.
componentsUsed only when target is selected.
runtime_scopeDefault flowless-core.

Always send Content-Type: application/json and plain ASCII JSON (no NBSP / smart quotes from rich-text copy-paste).

Response 200

json
{
  "data": {
    "module_id": "post-types",
    "runtime_scope": "flowless-core",
    "dry_run": true,
    "resolved_order": ["core", "ext-seo-per-type", "ext-type-restrictions"]
  },
  "user_context": { "authenticated": true },
  "meta": { "cached": false }
}

Response Errors

Statuserror / codeMeaning
400Invalid JSON body / VALIDATION_ERRORBody failed JSON.parse before schema checks
400Invalid input / VALIDATION_ERRORJSON ok; Zod rejected fields (see fields)
401Missing session
403Admin required
404Unknown module_id

Notes

  • Dry-run does not write registry rows or apply SQL. Use Run Module Install after a good plan.
  • For Post Types, prefer target: "all" so SEO and restrictions extensions install with core.
  • Installing schema does not enable CPT — set POST_TYPES_ENABLED=true separately.
  • See Post Types API and Post Types module.