Rulebase Coaching Proposed Sessions API

The Coaching Proposed Sessions API from Rulebase — 4 operation(s) for coaching proposed sessions.

Operations 4

GET /coaching-proposed-sessions Get coaching proposed sessions #
PATCH /coaching-proposed-sessions/{id} Update coaching proposed sessions by id #
POST /coaching-proposed-sessions/{id}/dismiss Create coaching proposed sessions by id dismiss #
POST /coaching-proposed-sessions/{id}/approve Create coaching proposed sessions by id approve #

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-proposed-sessions-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-proposed-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Coaching Proposed Sessions API
  version: 0.0.1
tags:
- name: Coaching Proposed Sessions
paths:
  /coaching-proposed-sessions:
    get:
      parameters:
      - schema:
          type: string
          enum:
          - pending
          - approved
          - dismissed
        required: false
        name: status
        in: query
      responses:
        '200':
          description: List coaching proposed sessions
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        agent_id:
                          type: string
                        agent_name:
                          type: string
                          nullable: true
                        team_name:
                          type: string
                          nullable: true
                        suggested_coach_id:
                          type: string
                          nullable: true
                        suggested_coach_name:
                          type: string
                          nullable: true
                        week_start_date:
                          type: string
                        week_end_date:
                          type: string
                        scheduled_at:
                          type: string
                          nullable: true
                        timezone:
                          type: string
                        status:
                          type: string
                          enum:
                          - pending
                          - approved
                          - dismissed
                        priority:
                          type: string
                          enum:
                          - low
                          - medium
                          - high
                        notes:
                          type: string
                        reason:
                          type: string
                        criteria:
                          type: array
                          items:
                            type: object
                            properties:
                              scorecard_criterion_id:
                                type: string
                              name:
                                type: string
                              fail_rate:
                                type: number
                              failed_count:
                                type: integer
                              evaluation_count:
                                type: integer
                              auto_failed_count:
                                type: integer
                              trigger_types:
                                type: array
                                items:
                                  type: string
                                  enum:
                                  - fail_rate
                                  - fail_count
                                  - any_auto_fail
                              baseline_score:
                                type: integer
                                nullable: true
                              average_score:
                                type: number
                                nullable: true
                              average_max_score:
                                type: number
                                nullable: true
                              baseline_evaluation_count:
                                type: integer
                              auto_fail_count:
                                type: integer
                            required:
                            - scorecard_criterion_id
                            - name
                            - fail_rate
                            - failed_count
                            - evaluation_count
                            - auto_failed_count
                            - trigger_types
                            - baseline_score
                            - average_score
                            - average_max_score
                            - baseline_evaluation_count
                            - auto_fail_count
                        evidence:
                          type: array
                          items:
                            type: object
                            properties:
                              conversation_id:
                                type: string
                              qa_agent_evaluation_id:
                                type: string
                                nullable: true
                              external_id:
                                type: string
                                nullable: true
                              subject:
                                type: string
                                nullable: true
                              qa_score:
                                type: number
                                nullable: true
                            required:
                            - conversation_id
                            - qa_agent_evaluation_id
                            - external_id
                            - subject
                            - qa_score
                        coaching_session_id:
                          type: string
                          nullable: true
                          format: uuid
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                      - id
                      - agent_id
                      - agent_name
                      - team_name
                      - suggested_coach_id
                      - suggested_coach_name
                      - week_start_date
                      - week_end_date
                      - scheduled_at
                      - timezone
                      - status
                      - priority
                      - notes
                      - reason
                      - criteria
                      - evidence
                      - coaching_session_id
                      - created_at
                      - updated_at
                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 Proposed Sessions
      summary: Get coaching proposed sessions
      x-summary-source: derived
      operationId: getCoachingProposedSessions
      x-operation-id-source: derived
  /coaching-proposed-sessions/{id}:
    patch:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                scheduled_at:
                  type: string
                  nullable: true
                  format: date-time
                notes:
                  type: string
                criterion_ids:
                  type: array
                  items:
                    type: string
                conversation_ids:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: Updated proposed session
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      agent_id:
                        type: string
                      agent_name:
                        type: string
                        nullable: true
                      team_name:
                        type: string
                        nullable: true
                      suggested_coach_id:
                        type: string
                        nullable: true
                      suggested_coach_name:
                        type: string
                        nullable: true
                      week_start_date:
                        type: string
                      week_end_date:
                        type: string
                      scheduled_at:
                        type: string
                        nullable: true
                      timezone:
                        type: string
                      status:
                        type: string
                        enum:
                        - pending
                        - approved
                        - dismissed
                      priority:
                        type: string
                        enum:
                        - low
                        - medium
                        - high
                      notes:
                        type: string
                      reason:
                        type: string
                      criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            scorecard_criterion_id:
                              type: string
                            name:
                              type: string
                            fail_rate:
                              type: number
                            failed_count:
                              type: integer
                            evaluation_count:
                              type: integer
                            auto_failed_count:
                              type: integer
                            trigger_types:
                              type: array
                              items:
                                type: string
                                enum:
                                - fail_rate
                                - fail_count
                                - any_auto_fail
                            baseline_score:
                              type: integer
                              nullable: true
                            average_score:
                              type: number
                              nullable: true
                            average_max_score:
                              type: number
                              nullable: true
                            baseline_evaluation_count:
                              type: integer
                            auto_fail_count:
                              type: integer
                          required:
                          - scorecard_criterion_id
                          - name
                          - fail_rate
                          - failed_count
                          - evaluation_count
                          - auto_failed_count
                          - trigger_types
                          - baseline_score
                          - average_score
                          - average_max_score
                          - baseline_evaluation_count
                          - auto_fail_count
                      evidence:
                        type: array
                        items:
                          type: object
                          properties:
                            conversation_id:
                              type: string
                            qa_agent_evaluation_id:
                              type: string
                              nullable: true
                            external_id:
                              type: string
                              nullable: true
                            subject:
                              type: string
                              nullable: true
                            qa_score:
                              type: number
                              nullable: true
                          required:
                          - conversation_id
                          - qa_agent_evaluation_id
                          - external_id
                          - subject
                          - qa_score
                      coaching_session_id:
                        type: string
                        nullable: true
                        format: uuid
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - agent_id
                    - agent_name
                    - team_name
                    - suggested_coach_id
                    - suggested_coach_name
                    - week_start_date
                    - week_end_date
                    - scheduled_at
                    - timezone
                    - status
                    - priority
                    - notes
                    - reason
                    - criteria
                    - evidence
                    - coaching_session_id
                    - created_at
                    - updated_at
                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
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '409':
          description: Conflict
          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 Proposed Sessions
      summary: Update coaching proposed sessions by id
      x-summary-source: derived
      operationId: patchCoachingProposedSessionsById
      x-operation-id-source: derived
  /coaching-proposed-sessions/{id}/dismiss:
    post:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Dismissed proposed session
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      status:
                        type: string
                        enum:
                        - dismissed
                    required:
                    - id
                    - status
                required:
                - data
        '403':
          description: Feature disabled
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '409':
          description: Conflict
          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 Proposed Sessions
      summary: Create coaching proposed sessions by id dismiss
      x-summary-source: derived
      operationId: postCoachingProposedSessionsByIdDismiss
      x-operation-id-source: derived
  /coaching-proposed-sessions/{id}/approve:
    post:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                coached_at:
                  type: string
                  format: date-time
                coach_id:
                  type: string
                  minLength: 1
      responses:
        '201':
          description: Approved and created coaching session
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      agent_id:
                        type: string
                      agent_name:
                        type: string
                        nullable: true
                      created_by_membership_id:
                        type: string
                      created_by_name:
                        type: string
                        nullable: true
                      coach_id:
                        type: string
                      coach_name:
                        type: string
                        nullable: true
                      delivery_status:
                        type: string
                        enum:
                        - assigned
                        - scheduled
                        - completed
                        - canceled
                      priority:
                        type: string
                        enum:
                        - low
                        - medium
                        - high
                      coached_at:
                        type: string
                        nullable: true
                      completed_at:
                        type: string
                        nullable: true
                      notes:
                        type: string
                      feedback:
                        type: string
                      root_cause:
                        type: string
                      topics:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            type:
                              type: string
                            scorecard_criterion_id:
                              type: string
                              nullable: true
                          required:
                          - id
                          - type
                          - scorecard_criterion_id
                      evidence:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            conversation_id:
                              type: string
                            conversation_external_id:
                              type: string
                              nullable: true
                            conversation_subject:
                              type: string
                              nullable: true
                            conversation_external_url:
                              type: string
                              nullable: true
                            qa_agent_evaluation_id:
                              type: string
                              nullable: true
                            qa_score:
                              type: number
                              nullable: true
                            feedback:
                              type: string
                              nullable: true
                            created_at:
                              type: string
                            updated_at:
                              type: string
                          required:
                          - id
                          - conversation_id
                          - conversation_external_id
                          - conversation_subject
                          - conversation_external_url
                          - qa_agent_evaluation_id
                          - qa_score
                          - feedback
                          - created_at
                          - updated_at
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - agent_id
                    - agent_name
                    - created_by_membership_id
                    - created_by_name
                    - coach_id
                    - coach_name
                    - delivery_status
                    - priority
                    - coached_at
                    - completed_at
                    - notes
                    - feedback
                    - root_cause
                    - topics
                    - evidence
                    - created_at
                    - updated_at
                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
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '409':
          description: Conflict
          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 Proposed Sessions
      summary: Create coaching proposed sessions by id approve
      x-summary-source: derived
      operationId: postCoachingProposedSessionsByIdApprove
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key