Scoring
Rulesets

Create a new ruleset at environment level

post/scoring/rulesets

Request

  • Base URL
    /management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/environments/DEFAULT/scoring/rulesets
  • Auth
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Request body

namestring required

The name of ruleset

descriptionstring

The description of ruleset

payloadstring required

The ruleset payload

format'GRAVITEE_FEDERATION' | 'GRAVITEE_MESSAGE' | 'GRAVITEE_PROXY' | 'GRAVITEE_NATIVE' | 'GRAVITEE_V2' | 'OPENAPI' | 'ASYNCAPI' required

The format of scoring asset

Response

Ruleset created

Changes

No recorded changes to this operation across all 65 revisions of this API.