name@version
on /v1/evaluate instead of sending the body inline every time.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/rulesets | Create a new (name, version). |
| GET | /v1/rulesets | List rulesets (paginated). |
| GET | /v1/rulesets/{name} | Get the latest version. |
| GET | /v1/rulesets/{name}/{version} | Get a specific version. |
Create
version is an integer. Omit it to let the API assign the next free
version. (name, version) pairs are immutable — re-POSTing the same
pair returns 409 RULESET_ALREADY_EXISTS.
Response
List
| Query param | Notes |
|---|---|
page | 1-indexed. Defaults to 1. |
page_size | Items per page. Defaults to 25, max 200. |
tag | Repeat to require multiple tags (AND). Use tag=preset for curated official rulesets. |
Get
POST response above.