Guardrail Rules

Create a guardrail rule

Creates a guardrail rule with metadata and optional evaluator, plugin, and matching configuration. Rules default to disabled when enabled is omitted.

post/v2/guardrail-rules

Request body

display_namestring required
descriptionstring
project_idstring

Optional project scope. Omit for a workspace-wide rule.

enabledboolean

Whether the rule is active. Defaults to false when omitted.

Response

OK

Changes

Changed in 19 of the 271 revisions of this API.533377

  • addad33219df518See the full diff
    • the request property became not nullable

      request-property-became-not-nullable

    • removed the enum value both of the request property //

      request-property-enum-value-removed

    • removed the enum value input of the request property //

      request-property-enum-value-removed

    • removed the enum value output of the request property //

      request-property-enum-value-removed

    • removed the success response with the status

      response-success-status-removed

    • removed the request property

      request-property-removed

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • the request property / became optional

      request-property-became-optional

    • the request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • the // request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the success response with the status

      response-success-status-added

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1586760a252f578See the full diff
    • request property // was restricted to a list of enum values

      request-property-became-enum

    • the request property / became required

      request-property-became-required

    • the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the success response with the status

      response-success-status-removed

    • the request property's maxLength was set to 2048

      request-property-max-length-set

    • the request property's maxLength was set to 256

      request-property-max-length-set

    • the / request property's maxLength was set to 2000

      request-property-max-length-set

    • the // request property's max was set to 1.00

      request-property-max-set

    • the // request property's min was set to 0.00

      request-property-min-set

    • removed the request property /

      request-property-removed

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • the request property became nullable

      request-property-became-nullable

    • added the new both enum value to the request property //

      request-property-enum-value-added

    • added the new input enum value to the request property //

      request-property-enum-value-added

    • added the new output enum value to the request property //

      request-property-enum-value-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the success response with the status

      response-success-status-added

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 4fdc24e562eb518See the full diff
    • the request property became not nullable

      request-property-became-not-nullable

    • removed the enum value both of the request property //

      request-property-enum-value-removed

    • removed the enum value input of the request property //

      request-property-enum-value-removed

    • removed the enum value output of the request property //

      request-property-enum-value-removed

    • removed the success response with the status

      response-success-status-removed

    • removed the request property

      request-property-removed

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • the request property / became optional

      request-property-became-optional

    • the request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • the // request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the success response with the status

      response-success-status-added

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • be3fe58ce389578See the full diff
    • request property // was restricted to a list of enum values

      request-property-became-enum

    • the request property / became required

      request-property-became-required

    • the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the success response with the status

      response-success-status-removed

    • the request property's maxLength was set to 2048

      request-property-max-length-set

    • the request property's maxLength was set to 256

      request-property-max-length-set

    • the / request property's maxLength was set to 2000

      request-property-max-length-set

    • the // request property's max was set to 1.00

      request-property-max-set

    • the // request property's min was set to 0.00

      request-property-min-set

    • removed the request property /

      request-property-removed

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • the request property became nullable

      request-property-became-nullable

    • added the new both enum value to the request property //

      request-property-enum-value-added

    • added the new input enum value to the request property //

      request-property-enum-value-added

    • added the new output enum value to the request property //

      request-property-enum-value-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the success response with the status

      response-success-status-added

    This revision also has 175 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ab4fda96e4a711See the full diff
    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the request property

      request-property-removed

  • f54fa34db0f468See the full diff
    • the request property became not nullable

      request-property-became-not-nullable

    • removed the enum value both of the request property //

      request-property-enum-value-removed

    • removed the enum value input of the request property //

      request-property-enum-value-removed

    • removed the enum value output of the request property //

      request-property-enum-value-removed

    • the request property format changed from int64 to int32

      request-property-type-changed

    • removed the success response with the status

      response-success-status-removed

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • the request property / became optional

      request-property-became-optional

    • the request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • the // request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the success response with the status

      response-success-status-added

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ed68e8b009d7588See the full diff
    • request property // was restricted to a list of enum values

      request-property-became-enum

    • the request property / became required

      request-property-became-required

    • the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the success response with the status

      response-success-status-removed

    • the request property's maxLength was set to 2048

      request-property-max-length-set

    • the request property's maxLength was set to 256

      request-property-max-length-set

    • the / request property's maxLength was set to 2000

      request-property-max-length-set

    • the // request property's max was set to 1.00

      request-property-max-set

    • the // request property's min was set to 0.00

      request-property-min-set

    • the request property's min was set to 1000.00

      request-property-min-set

    • removed the request property /

      request-property-removed

    • removed the request property

      request-property-removed

    • the request property became nullable

      request-property-became-nullable

    • added the new both enum value to the request property //

      request-property-enum-value-added

    • added the new input enum value to the request property //

      request-property-enum-value-added

    • added the new output enum value to the request property //

      request-property-enum-value-added

    • the request property format was generalized from int32 to int64

      request-property-type-generalized

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the success response with the status

      response-success-status-added

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • d46bd23ae34c68See the full diff
    • the request property became not nullable

      request-property-became-not-nullable

    • removed the enum value both of the request property //

      request-property-enum-value-removed

    • removed the enum value input of the request property //

      request-property-enum-value-removed

    • removed the enum value output of the request property //

      request-property-enum-value-removed

    • the request property format changed from int64 to int32

      request-property-type-changed

    • removed the success response with the status

      response-success-status-removed

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • the request property / became optional

      request-property-became-optional

    • the request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • the // request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the success response with the status

      response-success-status-added

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • f459ad9381eb588See the full diff
    • request property // was restricted to a list of enum values

      request-property-became-enum

    • the request property / became required

      request-property-became-required

    • the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • the // request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • removed the success response with the status

      response-success-status-removed

    • the request property's maxLength was set to 2048

      request-property-max-length-set

    • the request property's maxLength was set to 256

      request-property-max-length-set

    • the / request property's maxLength was set to 2000

      request-property-max-length-set

    • the // request property's max was set to 1.00

      request-property-max-set

    • the // request property's min was set to 0.00

      request-property-min-set

    • the request property's min was set to 1000.00

      request-property-min-set

    • removed the request property /

      request-property-removed

    • removed the request property

      request-property-removed

    • the request property became nullable

      request-property-became-nullable

    • added the new both enum value to the request property //

      request-property-enum-value-added

    • added the new input enum value to the request property //

      request-property-enum-value-added

    • added the new output enum value to the request property //

      request-property-enum-value-added

    • the request property format was generalized from int32 to int64

      request-property-type-generalized

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the success response with the status

      response-success-status-added

    This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • deb8d376faee68See the full diff
    • the request property became not nullable

      request-property-became-not-nullable

    • removed the enum value both of the request property //

      request-property-enum-value-removed

    • removed the enum value input of the request property //

      request-property-enum-value-removed

    • removed the enum value output of the request property //

      request-property-enum-value-removed

    • the request property format changed from int64 to int32

      request-property-type-changed

    • removed the success response with the status

      response-success-status-removed

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property

      new-optional-request-property

    • the request property / became optional

      request-property-became-optional

    • the request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • the // request property's minLength was decreased from 1 to 0

      request-property-min-length-decreased

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the success response with the status

      response-success-status-added

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 271 revisions, 82 have no diff computed.