How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Scalar rules API

The rules API from Scalar — 6 operation(s) for rules.

Scalar rules API is one of 30 APIs that Scalar publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Rules. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 10 operations across 6 paths, and defines 9 schemas. It is described by OpenAPI 3.1.1, at version 1.0.1.

10 operations 6 paths 9 schemas 2 DELETE3 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.1
API Version
1.0.1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Scalar rules API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 2 DELETE, 3 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

rules 10
GET
/rulesets/{namespace}/{slug}
Get a the rule document
getrulesetsNamespaceSlug 2 params → 200400401403404422500
PATCH
/rulesets/{namespace}/{slug}
Update rule metadata
patchrulesetsNamespaceSlug 2 params body → 200400401403404422500
DELETE
/rulesets/{namespace}/{slug}
Delete a specific rule
deleterulesetsNamespaceSlug 2 params → 200400401403404422500
GET
/rulesets/get-by-id/{uid}
Get a the rule document
getrulesetsGetByIdUid 1 param → 200400401403404422500
GET
/rulesets/{namespace}
Get a list of all rulesets for the namespace
getrulesetsNamespace 1 param → 200400401403404422500
POST
/rulesets/{namespace}
Create a new rule for the namespace
postrulesetsNamespace 1 param body → 200400401403404422500
POST
/rulesets/upload
Update rule content
postrulesetsUpload body → 200400401403404422500
POST
/rules/access-group
Adds an access group to a rule
postrulesAccessGroup body → 200400401403404422500
DELETE
/rules/access-group
Removes an access group from a rule
deleterulesAccessGroup body → 200400401403404422500
POST
/rulesets/check-slug
Checks if a ruleset slug is available for the provided namespace
postrulesetsCheckSlug body → 200400401403404422500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are 404 (2 properties), 403 (2 properties), 400 (2 properties), 500 (2 properties). Each schema is shown below with its type and property counts.

namespace
string
nanoid
string
404
object
2 properties 2 required
401
object
2 properties 2 required
slug
string
500
object
2 properties 2 required
400
object
2 properties 2 required
403
object
2 properties 2 required
422
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

scalar-rules-api-openapi.yml Raw ↑

Other APIs Scalar publishes across the network.

Scalar API References
Scalar API Client
Scalar Docs
Scalar Registry
Scalar SDKs
Scalar CLI
Scalar access-groups API
Scalar analytics API
Scalar api-docs API
Scalar auth API
Scalar docs API
Scalar Docs Projects API
Where this information came from

This is an independent, third-party profile of Scalar rules API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.