Skip to content

Get Rule Set

Returns the rule set version currently visible to runtime. Draft versions created after a publish are not returned here until they are published.

GET /v1/projects/:project_id/extractor-rule-sets/:id
GET /v1/projects/:project_id/pricing-rule-sets/:id
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.
{
"id": "ers_openai",
"name": "OpenAI extractor",
"version": 2,
"status": "published",
"effective_from": 1783008000,
"subject": {},
"dimensions": [],
"charge_item_extractors": [],
"created_at": 1783007000
}

Pricing rule sets return extractor_rule_set_id, currency, and rules instead of extractor configuration fields.