Get Rule Set Version
Returns a single historical rule set version. Published versions are read-only. A draft version is editable through the draft update endpoint, but it is not used by runtime ingestion until it is published.
Endpoints
Section titled “Endpoints”GET /v1/projects/:project_id/extractor-rule-sets/:id/versions/:versionGET /v1/projects/:project_id/pricing-rule-sets/:id/versions/:versionAuthentication
Section titled “Authentication”Authorization: Bearer <api-key>Requires rules read access.
Request
Section titled “Request”The request body is empty. There are no query parameters.
Path Parameters
Section titled “Path Parameters”| Field | Required | Description |
|---|---|---|
project_id |
Yes | Project that owns the rule set. |
id |
Yes | Stable rule set ID. |
version |
Yes | Positive integer version. |
Response
Section titled “Response”{ "id": "ers_openai", "version": 2, "status": "published", "name": "OpenAI extractor", "effective_from": 1783008000, "dimensions": [], "charge_item_extractors": [], "published_at": 1783009000, "created_at": 1783008500, "updated_at": 1783009000}Use this endpoint for history review. To make an older published version active again, call Rollback Rule Set.