Rulebase Views API

The Views API from Rulebase — 3 operation(s) for views.

Operations 6

GET /views Get views #
POST /views Create views #
GET /views/{id} Get views by id #
PATCH /views/{id} Update views by id #
DELETE /views/{id} Delete views by id #
POST /views/suggest-name Create views suggest name #

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-views-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-views-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Views API
  version: 0.0.1
tags:
- name: Views
paths:
  /views:
    get:
      parameters:
      - schema:
          type: string
          enum:
          - quality_assurance
          - customers
          - analytics
          - agent_monitoring
        required: false
        name: category
        in: query
      - schema:
          type: string
          minLength: 1
        required: false
        name: team_id
        in: query
      responses:
        '200':
          description: List visible app views
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        organizationId:
                          type: string
                        createdByMembershipId:
                          type: string
                          nullable: true
                        name:
                          type: string
                        category:
                          type: string
                          enum:
                          - quality_assurance
                          - customers
                          - analytics
                          - agent_monitoring
                        type:
                          type: string
                          enum:
                          - qa_interactions
                          - qa_evaluations
                          - qa_complaints
                          - qa_evaluation_contests
                          - customers
                          - work_items
                          - dashboard_filters
                          - customer_complaints
                          - agent_issues
                          - agent_capabilities
                        visibility:
                          type: string
                          enum:
                          - private
                          - organization
                        filters:
                          type: object
                          additionalProperties:
                            nullable: true
                          default: {}
                        position:
                          type: string
                        seededKey:
                          type: string
                          nullable: true
                        teamId:
                          type: string
                          nullable: true
                        createdAt:
                          type: string
                        updatedAt:
                          type: string
                        canEdit:
                          type: boolean
                      required:
                      - id
                      - organizationId
                      - createdByMembershipId
                      - name
                      - category
                      - type
                      - visibility
                      - position
                      - seededKey
                      - teamId
                      - createdAt
                      - updatedAt
                      - canEdit
                required:
                - data
      tags:
      - Views
      summary: Get views
      x-summary-source: derived
      operationId: getViews
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                  - qa_interactions
                  - qa_evaluations
                  - qa_complaints
                  - qa_evaluation_contests
                  - customers
                  - work_items
                  - dashboard_filters
                  - customer_complaints
                  - agent_issues
                  - agent_capabilities
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                filters:
                  type: object
                  additionalProperties:
                    nullable: true
                  default: {}
                visibility:
                  type: string
                  enum:
                  - private
                  - organization
                position:
                  type: string
                  minLength: 1
                teamId:
                  type: string
                  minLength: 1
              required:
              - type
      responses:
        '201':
          description: App view created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      organizationId:
                        type: string
                      createdByMembershipId:
                        type: string
                        nullable: true
                      name:
                        type: string
                      category:
                        type: string
                        enum:
                        - quality_assurance
                        - customers
                        - analytics
                        - agent_monitoring
                      type:
                        type: string
                        enum:
                        - qa_interactions
                        - qa_evaluations
                        - qa_complaints
                        - qa_evaluation_contests
                        - customers
                        - work_items
                        - dashboard_filters
                        - customer_complaints
                        - agent_issues
                        - agent_capabilities
                      visibility:
                        type: string
                        enum:
                        - private
                        - organization
                      filters:
                        type: object
                        additionalProperties:
                          nullable: true
                        default: {}
                      position:
                        type: string
                      seededKey:
                        type: string
                        nullable: true
                      teamId:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      canEdit:
                        type: boolean
                    required:
                    - id
                    - organizationId
                    - createdByMembershipId
                    - name
                    - category
                    - type
                    - visibility
                    - position
                    - seededKey
                    - teamId
                    - createdAt
                    - updatedAt
                    - canEdit
                required:
                - data
        '400':
          description: Invalid app view
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Views
      summary: Create views
      x-summary-source: derived
      operationId: postViews
      x-operation-id-source: derived
  /views/{id}:
    get:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '200':
          description: App view found
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      organizationId:
                        type: string
                      createdByMembershipId:
                        type: string
                        nullable: true
                      name:
                        type: string
                      category:
                        type: string
                        enum:
                        - quality_assurance
                        - customers
                        - analytics
                        - agent_monitoring
                      type:
                        type: string
                        enum:
                        - qa_interactions
                        - qa_evaluations
                        - qa_complaints
                        - qa_evaluation_contests
                        - customers
                        - work_items
                        - dashboard_filters
                        - customer_complaints
                        - agent_issues
                        - agent_capabilities
                      visibility:
                        type: string
                        enum:
                        - private
                        - organization
                      filters:
                        type: object
                        additionalProperties:
                          nullable: true
                        default: {}
                      position:
                        type: string
                      seededKey:
                        type: string
                        nullable: true
                      teamId:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      canEdit:
                        type: boolean
                    required:
                    - id
                    - organizationId
                    - createdByMembershipId
                    - name
                    - category
                    - type
                    - visibility
                    - position
                    - seededKey
                    - teamId
                    - createdAt
                    - updatedAt
                    - canEdit
                required:
                - data
        '404':
          description: App view not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Views
      summary: Get views by id
      x-summary-source: derived
      operationId: getViewsById
      x-operation-id-source: derived
    patch:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                filters:
                  type: object
                  additionalProperties:
                    nullable: true
                  default: {}
                visibility:
                  type: string
                  enum:
                  - private
                  - organization
                position:
                  type: string
                  minLength: 1
      responses:
        '200':
          description: App view updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      organizationId:
                        type: string
                      createdByMembershipId:
                        type: string
                        nullable: true
                      name:
                        type: string
                      category:
                        type: string
                        enum:
                        - quality_assurance
                        - customers
                        - analytics
                        - agent_monitoring
                      type:
                        type: string
                        enum:
                        - qa_interactions
                        - qa_evaluations
                        - qa_complaints
                        - qa_evaluation_contests
                        - customers
                        - work_items
                        - dashboard_filters
                        - customer_complaints
                        - agent_issues
                        - agent_capabilities
                      visibility:
                        type: string
                        enum:
                        - private
                        - organization
                      filters:
                        type: object
                        additionalProperties:
                          nullable: true
                        default: {}
                      position:
                        type: string
                      seededKey:
                        type: string
                        nullable: true
                      teamId:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                      canEdit:
                        type: boolean
                    required:
                    - id
                    - organizationId
                    - createdByMembershipId
                    - name
                    - category
                    - type
                    - visibility
                    - position
                    - seededKey
                    - teamId
                    - createdAt
                    - updatedAt
                    - canEdit
                required:
                - data
        '400':
          description: Invalid app view
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: App view not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Views
      summary: Update views by id
      x-summary-source: derived
      operationId: patchViewsById
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '204':
          description: App view deleted
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: App view not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Views
      summary: Delete views by id
      x-summary-source: derived
      operationId: deleteViewsById
      x-operation-id-source: derived
  /views/suggest-name:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                  - qa_interactions
                  - qa_evaluations
                  - qa_complaints
                  - qa_evaluation_contests
                  - customers
                  - work_items
                  - dashboard_filters
                  - customer_complaints
                  - agent_issues
                  - agent_capabilities
                filters:
                  type: object
                  additionalProperties:
                    nullable: true
                  default: {}
                filterLabels:
                  type: array
                  items:
                    type: object
                    properties:
                      key:
                        type: string
                      label:
                        type: string
                      values:
                        type: array
                        items:
                          type: string
                    required:
                    - key
                    - label
              required:
              - type
      responses:
        '200':
          description: Suggested name for a stored app view
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                        maxLength: 64
                    required:
                    - name
                required:
                - data
        '400':
          description: Invalid app view filters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Views
      summary: Create views suggest name
      x-summary-source: derived
      operationId: postViewsSuggestName
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key