Rulebase Compliance Criterion Groups API

The Compliance Criterion Groups API from Rulebase — 2 operation(s) for compliance criterion groups.

Operations 6

GET /compliance_criterion_groups Get compliance criterion groups #
POST /compliance_criterion_groups Create compliance criterion groups #
GET /compliance_criterion_groups/{id} Get compliance criterion groups by id #
PATCH /compliance_criterion_groups/{id} Update compliance criterion groups by id #
PUT /compliance_criterion_groups/{id} Replace compliance criterion groups by id #
DELETE /compliance_criterion_groups/{id} Delete compliance criterion groups by id #

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-compliance-criterion-groups-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-compliance-criterion-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Compliance Criterion Groups API
  version: 0.0.1
tags:
- name: Compliance Criterion Groups
paths:
  /compliance_criterion_groups:
    get:
      parameters:
      - schema:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        required: false
        name: page[page]
        in: query
      - schema:
          type: integer
          description: Values above 100 are clamped to 100
          minimum: 1
        required: false
        name: page[limit]
        in: query
      responses:
        '200':
          description: Organization compliance criterion groups
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        created_at:
                          type: string
                        updated_at:
                          type: string
                        criteria:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              description:
                                type: string
                              created_at:
                                type: string
                              updated_at:
                                type: string
                              compliance_criterion_group_id:
                                type: string
                                nullable: true
                            required:
                            - id
                            - description
                            - created_at
                            - updated_at
                            - compliance_criterion_group_id
                      required:
                      - id
                      - name
                      - created_at
                      - updated_at
                      - criteria
                  meta:
                    type: object
                    properties:
                      page:
                        type: object
                        properties:
                          next:
                            type: number
                            nullable: true
                          limit:
                            type: number
                          total:
                            type: number
                        required:
                        - next
                        - limit
                        - total
                    required:
                    - page
                required:
                - data
                - meta
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Get compliance criterion groups
      x-summary-source: derived
      operationId: getComplianceCriterionGroups
      x-operation-id-source: derived
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                compliance_criterion_group:
                  type: object
                  properties:
                    name:
                      type: string
                    criteria:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            nullable: true
                          description:
                            type: string
                            nullable: true
                          _destroy:
                            anyOf:
                            - type: boolean
                            - type: string
                            - type: number
                            - nullable: true
              required:
              - compliance_criterion_group
      responses:
        '201':
          description: Criterion group created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                            compliance_criterion_group_id:
                              type: string
                              nullable: true
                          required:
                          - id
                          - description
                          - created_at
                          - updated_at
                          - compliance_criterion_group_id
                    required:
                    - id
                    - name
                    - created_at
                    - updated_at
                    - criteria
                required:
                - data
        '400':
          description: Validation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '403':
          description: Forbidden
          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
        '503':
          description: Organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Create compliance criterion groups
      x-summary-source: derived
      operationId: postComplianceCriterionGroups
      x-operation-id-source: derived
  /compliance_criterion_groups/{id}:
    get:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: A compliance criterion group
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                            compliance_criterion_group_id:
                              type: string
                              nullable: true
                          required:
                          - id
                          - description
                          - created_at
                          - updated_at
                          - compliance_criterion_group_id
                    required:
                    - id
                    - name
                    - created_at
                    - updated_at
                    - criteria
                required:
                - data
        '404':
          description: Compliance criterion group not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Get compliance criterion groups by id
      x-summary-source: derived
      operationId: getComplianceCriterionGroupsById
      x-operation-id-source: derived
    patch:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                compliance_criterion_group:
                  type: object
                  properties:
                    name:
                      type: string
                    criteria:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            nullable: true
                          description:
                            type: string
                            nullable: true
                          _destroy:
                            anyOf:
                            - type: boolean
                            - type: string
                            - type: number
                            - nullable: true
              required:
              - compliance_criterion_group
      responses:
        '200':
          description: Criterion group updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                            compliance_criterion_group_id:
                              type: string
                              nullable: true
                          required:
                          - id
                          - description
                          - created_at
                          - updated_at
                          - compliance_criterion_group_id
                    required:
                    - id
                    - name
                    - created_at
                    - updated_at
                    - criteria
                required:
                - data
        '400':
          description: Validation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '403':
          description: Forbidden
          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
        '503':
          description: Organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Update compliance criterion groups by id
      x-summary-source: derived
      operationId: patchComplianceCriterionGroupsById
      x-operation-id-source: derived
    put:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                compliance_criterion_group:
                  type: object
                  properties:
                    name:
                      type: string
                    criteria:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            nullable: true
                          description:
                            type: string
                            nullable: true
                          _destroy:
                            anyOf:
                            - type: boolean
                            - type: string
                            - type: number
                            - nullable: true
              required:
              - compliance_criterion_group
      responses:
        '200':
          description: Criterion group updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      criteria:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                            compliance_criterion_group_id:
                              type: string
                              nullable: true
                          required:
                          - id
                          - description
                          - created_at
                          - updated_at
                          - compliance_criterion_group_id
                    required:
                    - id
                    - name
                    - created_at
                    - updated_at
                    - criteria
                required:
                - data
        '400':
          description: Validation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '403':
          description: Forbidden
          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
        '503':
          description: Organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Replace compliance criterion groups by id
      x-summary-source: derived
      operationId: putComplianceCriterionGroupsById
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Criterion group discarded
        '403':
          description: Forbidden
          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
        '503':
          description: Organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Compliance Criterion Groups
      summary: Delete compliance criterion groups by id
      x-summary-source: derived
      operationId: deleteComplianceCriterionGroupsById
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key