alerting-v2

Create rules in bulk

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/alerting/v2/rules/_bulk_create</span></div>

Refer to Spaces for more information.

Creates up to 100 rules in a single request. Each item can include a client-supplied id. Kibana generates an identifier when id is omitted. The request succeeds with HTTP 200 even when some rules fail. Created rules are returned in items. Failures are returned in errors. Check errors before treating the request as fully successful. To create a single rule, use POST /api/alerting/v2/rules.<br/><br/>[Required authorization] Route required privileges: manage_alerting-v2-rules.

post/api/alerting/v2/rules/_bulk_create

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

Response

Created rules are returned in items. Failures are returned in errors.

Changes

Changed in 3 of the 176 revisions of this API.3410

    • ●

      the /// request property's maxLength was set to 32

      request-property-max-length-set

    • ●

      the /// request property's maxLength was set to 32

      request-property-max-length-set

    • ●

      the /// request property's maxLength was set to 32

      request-property-max-length-set

    • ●

      the /// request property's maxLength was set to 32

      request-property-max-length-set

  • e2104277117c39See the full diff
    • ▲

      removed subschema #1 subschema #2 from the // request property anyOf list

      request-property-any-of-removed

    • ▲

      removed subschema #1 subschema #2 subschema #3 from the // request property anyOf list

      request-property-any-of-removed

    • ▲

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the // request property anyOf list

      request-property-any-of-removed

    • ○

      added subschema #1 subschema #2 to the // request property anyOf list

      request-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 to the // request property anyOf list

      request-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 subschema #4 to the // request property anyOf list

      request-property-any-of-added

    • ○

      added subschema #1 subschema #2 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 subschema #4 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 subschema #3 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      endpoint added

      endpoint-added

Of the 176 revisions, 20 have no diff computed.