Skip to content

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.

GET /v1/projects/:project_id/extractor-rule-sets/:id/versions/:version
GET /v1/projects/:project_id/pricing-rule-sets/:id/versions/:version
Terminal window
Authorization: Bearer <api-key>

Requires rules read access.

The request body is empty. There are no query parameters.

Field Required Description
project_id Yes Project that owns the rule set.
id Yes Stable rule set ID.
version Yes Positive integer version.
{
"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.