Rollback Rule Set
Rolls back a rule set to an earlier published version without changing the stable rule set ID. Later published versions remain in history.
Endpoints
Section titled “Endpoints”POST /v1/projects/:project_id/extractor-rule-sets/:id/rollbackPOST /v1/projects/:project_id/pricing-rule-sets/:id/rollbackAuthentication
Section titled “Authentication”Authorization: Bearer <api-key>Requires rules write access.
Path Parameters
Section titled “Path Parameters”| Field | Required | Description |
|---|---|---|
project_id |
Yes | Project that owns the rule set. |
id |
Yes | Stable rule set ID. |
Request
Section titled “Request”{ "version": 2}version must reference a published version.
Response
Section titled “Response”{ "status": "rolled_back", "rule_set": { "id": "ers_openai", "version": 2, "status": "published" }}Rollback updates the current published version for the rule set ID. New ingestion using the same rule set ID reads that current version from the rule store.