Get a ruleset
Gets information about a ruleset.
By default, the response only returns the ruleset’s metadata. To include ruleset contents in the response, pass the include query parameter.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
rulesetId
The ruleset's ID.
Query parameters
include
The related fields to include in the response. Currently only content is supported. Omit this parameter to receive only the resource’s metadata.
Allowed values:
Response
Successful Response
id
The ruleset's ID.
name
The ruleset's name.
description
The ruleset's description.
engine
The governance engine the ruleset targets.
Allowed values:
format
The resource the ruleset governs.
Allowed values:
type
The ruleset’s type:
system— Rulesets managed by Postman (for example, the Postman standard and OWASP rulesets that ship with governance) and can’t be updated or deleted.custom— Rulesets created and managed by your team.
Allowed values:
createdBy
The ID of the user who created the ruleset.
updatedBy
The ID of the user who last updated the ruleset.
createdAt
The date and time at which the ruleset was created.
updatedAt
The date and time at which the ruleset was last updated.
content
The ruleset’s content, up to a maximum of 500 KB (UTF-8).
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error