Fetch a single ruleset.
Look up a ruleset by id within the caller’s org. id may be either the MongoDB ObjectId hex or the custom ruleset_id string — the server tries ruleset_id first (so a custom id that happens to be 24 hex characters resolves correctly), and falls back to _id only when stage 1 misses. Soft-deleted rulesets and rulesets belonging to other orgs return 404.
Authorizations
The Tyk Dashboard API Access Credentials
Path Parameters
ObjectId hex or custom ruleset_id.
Response
Ruleset fetched.
Stable migration identifier. Same value across environments.
ID of the user who created the ruleset. Set server-side from the session; cannot be supplied by the caller.
Full Spectral ruleset definition stored as a JSON string.
Full list of rules that would fire when this ruleset is evaluated, after resolving any extends directives. Computed at read time, never persisted. Empty when resolution fails.