Compile this workspace's active decisions into a Stratum policy bundle.
Errors:
400 invalid_selector — a status other than active was requested.
400 workspace_scope_missing — the caller has no resolvable workspace.
400 workspace_mismatch — the compiled bundle is not this workspace's.
Query Parameters
workflow?|
Workflow selector echoed back in the bundle's selector. P1 does not filter rules by workflow; it records what the bundle was compiled for.
domain?|
Exact decision-domain filter (contract: selector.domain).
status?array<string>|
Repeatable lifecycle selector (contract: selector.status, default ['active']). P1 compiles active decisions only; any other value is a 400 invalid_selector rather than a silently narrowed bundle.
Response Body
application/json
application/json
curl -X GET "https://example.com/memory/policy/bundle"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}