Upload a custom rule pack
Trace
Upload a custom rule pack
Register a custom rule pack (spec §5.3) in the Trace DSL. Structural validation only
here (pack_id, version, non-empty rules); the kernel compiles + deep-validates it
models-side at pull time, and citations/wording are attorney-curated out of band.
Requires the trace:configure scope.
POST
Upload a custom rule pack
Authorizations
Use Authorization: Bearer pyai_live_... (or pyai_test_...).
Body
application/json
Response
Rule pack created
Example:
"trace.rule_pack"
Example:
"tpack_..."
Example:
"tcpa"
True for PyAI's bundled packs; false for tenant uploads.
Available options:
active, deprecated Unix ms.
The authored DSL (only on the single-pack GET).