Rulebase Program Controls API

The Program Controls API from Rulebase — 2 operation(s) for program controls.

Operations 3

DELETE /program_controls/{id} Delete program controls by id #
GET /program_controls/{program_control_id}/program_test_questions Get program controls by program control id program test questions #
POST /program_controls/{program_control_id}/program_test_questions Create program controls by program control id program test questions #

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-program-controls-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-program-controls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Program Controls API
  version: 0.0.1
tags:
- name: Program Controls
paths:
  /program_controls/{id}:
    delete:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Program control deleted
        '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
      tags:
      - Program Controls
      summary: Delete program controls by id
      x-summary-source: derived
      operationId: deleteProgramControlsById
      x-operation-id-source: derived
  /program_controls/{program_control_id}/program_test_questions:
    get:
      parameters:
      - schema:
          type: string
        required: true
        name: program_control_id
        in: path
      - 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: Program test questions
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        question:
                          type: string
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                      - id
                      - question
                      - created_at
                      - updated_at
                  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
        '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
      tags:
      - Program Controls
      summary: Get program controls by program control id program test questions
      x-summary-source: derived
      operationId: getProgramControlsByProgramControlIdProgramTestQuestions
      x-operation-id-source: derived
    post:
      parameters:
      - schema:
          type: string
        required: true
        name: program_control_id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                program_test_question:
                  type: object
                  properties:
                    question:
                      type: string
                      nullable: true
              required:
              - program_test_question
      responses:
        '201':
          description: Program test question created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      question:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - question
                    - created_at
                    - updated_at
                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
      tags:
      - Program Controls
      summary: Create program controls by program control id program test questions
      x-summary-source: derived
      operationId: postProgramControlsByProgramControlIdProgramTestQuestions
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key