Rulebase Coaching Trigger Settings API

The Coaching Trigger Settings API from Rulebase — 1 operation(s) for coaching trigger settings.

Operations 2

GET /coaching-trigger-settings Get coaching trigger settings #
PUT /coaching-trigger-settings Replace coaching trigger settings #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rulebase:rulebase-coaching-trigger-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rulebase-coaching-trigger-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Coaching Trigger Settings API
  version: 0.0.1
tags:
- name: Coaching Trigger Settings
paths:
  /coaching-trigger-settings:
    get:
      responses:
        '200':
          description: Coaching trigger settings
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      general_enabled:
                        type: boolean
                      general_fail_rate_pct:
                        type: integer
                      general_min_evaluations:
                        type: integer
                      subscriber_membership_ids:
                        type: array
                        items:
                          type: string
                      per_criterion:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_criterion_id:
                              type: string
                            name:
                              type: string
                            enabled:
                              type: boolean
                            fail_rate_pct:
                              type: integer
                            min_evaluations:
                              type: integer
                            is_override:
                              type: boolean
                          required:
                          - scorecard_criterion_id
                          - name
                          - enabled
                          - fail_rate_pct
                          - min_evaluations
                          - is_override
                      rules:
                        type: array
                        nullable: true
                        items:
                          oneOf:
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - fail_rate
                              fail_rate_pct:
                                type: integer
                                minimum: 1
                                maximum: 100
                              min_evaluations:
                                type: integer
                                minimum: 1
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                            - fail_rate_pct
                            - min_evaluations
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - fail_count
                              fail_count:
                                type: integer
                                minimum: 1
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                            - fail_count
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - any_auto_fail
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                      available_criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_criterion_id:
                              type: string
                            name:
                              type: string
                            scorecard_name:
                              type: string
                              nullable: true
                            has_auto_fail:
                              type: boolean
                          required:
                          - scorecard_criterion_id
                          - name
                          - scorecard_name
                          - has_auto_fail
                      available_criteria_groups:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_id:
                              type: string
                            scorecard_name:
                              type: string
                            groups:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  name:
                                    type: string
                                  criteria:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        scorecard_criterion_id:
                                          type: string
                                        name:
                                          type: string
                                        has_auto_fail:
                                          type: boolean
                                      required:
                                      - scorecard_criterion_id
                                      - name
                                      - has_auto_fail
                                required:
                                - id
                                - name
                                - criteria
                          required:
                          - scorecard_id
                          - scorecard_name
                          - groups
                    required:
                    - general_enabled
                    - general_fail_rate_pct
                    - general_min_evaluations
                    - subscriber_membership_ids
                    - per_criterion
                    - rules
                    - available_criteria
                    - available_criteria_groups
                required:
                - data
        '403':
          description: Feature disabled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Coaching Trigger Settings
      summary: Get coaching trigger settings
      x-summary-source: derived
      operationId: getCoachingTriggerSettings
      x-operation-id-source: derived
    put:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                general_enabled:
                  type: boolean
                general_fail_rate_pct:
                  type: integer
                  minimum: 1
                  maximum: 100
                general_min_evaluations:
                  type: integer
                  minimum: 1
                  maximum: 1000
                subscriber_membership_ids:
                  type: array
                  items:
                    type: string
                per_criterion:
                  type: array
                  items:
                    type: object
                    properties:
                      scorecard_criterion_id:
                        type: string
                      enabled:
                        type: boolean
                      fail_rate_pct:
                        type: integer
                        minimum: 1
                        maximum: 100
                      min_evaluations:
                        type: integer
                        minimum: 1
                        maximum: 1000
                    required:
                    - scorecard_criterion_id
                    - enabled
                    - fail_rate_pct
                    - min_evaluations
                rules:
                  type: array
                  items:
                    oneOf:
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                        enabled:
                          type: boolean
                        priority:
                          type: string
                          enum:
                          - high
                          - medium
                          - low
                        mode:
                          type: string
                          enum:
                          - scheduled
                          - immediate
                          default: scheduled
                        window_days:
                          type: integer
                          minimum: 1
                          maximum: 365
                        scorecard_criterion_ids:
                          type: array
                          nullable: true
                          items:
                            type: string
                        type:
                          type: string
                          enum:
                          - fail_rate
                        fail_rate_pct:
                          type: integer
                          minimum: 1
                          maximum: 100
                        min_evaluations:
                          type: integer
                          minimum: 1
                      required:
                      - id
                      - enabled
                      - priority
                      - window_days
                      - scorecard_criterion_ids
                      - type
                      - fail_rate_pct
                      - min_evaluations
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                        enabled:
                          type: boolean
                        priority:
                          type: string
                          enum:
                          - high
                          - medium
                          - low
                        mode:
                          type: string
                          enum:
                          - scheduled
                          - immediate
                          default: scheduled
                        window_days:
                          type: integer
                          minimum: 1
                          maximum: 365
                        scorecard_criterion_ids:
                          type: array
                          nullable: true
                          items:
                            type: string
                        type:
                          type: string
                          enum:
                          - fail_count
                        fail_count:
                          type: integer
                          minimum: 1
                      required:
                      - id
                      - enabled
                      - priority
                      - window_days
                      - scorecard_criterion_ids
                      - type
                      - fail_count
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                        enabled:
                          type: boolean
                        priority:
                          type: string
                          enum:
                          - high
                          - medium
                          - low
                        mode:
                          type: string
                          enum:
                          - scheduled
                          - immediate
                          default: scheduled
                        window_days:
                          type: integer
                          minimum: 1
                          maximum: 365
                        scorecard_criterion_ids:
                          type: array
                          nullable: true
                          items:
                            type: string
                        type:
                          type: string
                          enum:
                          - any_auto_fail
                      required:
                      - id
                      - enabled
                      - priority
                      - window_days
                      - scorecard_criterion_ids
                      - type
                  maxItems: 20
              required:
              - general_enabled
              - general_fail_rate_pct
              - general_min_evaluations
              - subscriber_membership_ids
              - per_criterion
      responses:
        '200':
          description: Updated coaching trigger settings
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      general_enabled:
                        type: boolean
                      general_fail_rate_pct:
                        type: integer
                      general_min_evaluations:
                        type: integer
                      subscriber_membership_ids:
                        type: array
                        items:
                          type: string
                      per_criterion:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_criterion_id:
                              type: string
                            name:
                              type: string
                            enabled:
                              type: boolean
                            fail_rate_pct:
                              type: integer
                            min_evaluations:
                              type: integer
                            is_override:
                              type: boolean
                          required:
                          - scorecard_criterion_id
                          - name
                          - enabled
                          - fail_rate_pct
                          - min_evaluations
                          - is_override
                      rules:
                        type: array
                        nullable: true
                        items:
                          oneOf:
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - fail_rate
                              fail_rate_pct:
                                type: integer
                                minimum: 1
                                maximum: 100
                              min_evaluations:
                                type: integer
                                minimum: 1
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                            - fail_rate_pct
                            - min_evaluations
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - fail_count
                              fail_count:
                                type: integer
                                minimum: 1
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                            - fail_count
                          - type: object
                            properties:
                              id:
                                type: string
                                minLength: 1
                              enabled:
                                type: boolean
                              priority:
                                type: string
                                enum:
                                - high
                                - medium
                                - low
                              mode:
                                type: string
                                enum:
                                - scheduled
                                - immediate
                              window_days:
                                type: integer
                                minimum: 1
                                maximum: 365
                              scorecard_criterion_ids:
                                type: array
                                nullable: true
                                items:
                                  type: string
                              type:
                                type: string
                                enum:
                                - any_auto_fail
                            required:
                            - id
                            - enabled
                            - priority
                            - mode
                            - window_days
                            - scorecard_criterion_ids
                            - type
                      available_criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_criterion_id:
                              type: string
                            name:
                              type: string
                            scorecard_name:
                              type: string
                              nullable: true
                            has_auto_fail:
                              type: boolean
                          required:
                          - scorecard_criterion_id
                          - name
                          - scorecard_name
                          - has_auto_fail
                      available_criteria_groups:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_id:
                              type: string
                            scorecard_name:
                              type: string
                            groups:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  name:
                                    type: string
                                  criteria:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        scorecard_criterion_id:
                                          type: string
                                        name:
                                          type: string
                                        has_auto_fail:
                                          type: boolean
                                      required:
                                      - scorecard_criterion_id
                                      - name
                                      - has_auto_fail
                                required:
                                - id
                                - name
                                - criteria
                          required:
                          - scorecard_id
                          - scorecard_name
                          - groups
                    required:
                    - general_enabled
                    - general_fail_rate_pct
                    - general_min_evaluations
                    - subscriber_membership_ids
                    - per_criterion
                    - rules
                    - available_criteria
                    - available_criteria_groups
                required:
                - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Feature disabled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Coaching Trigger Settings
      summary: Replace coaching trigger settings
      x-summary-source: derived
      operationId: putCoachingTriggerSettings
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key