Rulebase Groups API
The Groups API from Rulebase — 3 operation(s) for groups.
The Groups API from Rulebase — 3 operation(s) for groups.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/rulebase:rulebase-groups-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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: 3.2.0
info:
title: Rulebase API2 Groups API
version: 0.0.1
tags:
- name: Groups
paths:
/groups/import:
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
groups:
type: array
items:
type: object
properties:
name:
type: string
child_groups:
type: array
items:
type: object
properties:
name:
type: string
required:
- name
required:
- name
minItems: 1
required:
- groups
responses:
'201':
description: Groups created
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
child_groups:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- id
- name
- child_groups
required:
- data
'403':
description: Missing groups:manage
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'422':
description: Invalid group names; nothing was created
content:
application/json:
schema:
type: object
properties:
error:
type: string
errors:
type: array
items:
type: string
required:
- error
- errors
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Groups
summary: Create groups import
x-summary-source: derived
operationId: postGroupsImport
x-operation-id-source: derived
/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
- schema:
type: string
required: false
name: filter
in: query
responses:
'200':
description: Agent teams in the organization
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
full_name:
type: string
created_at:
type: string
updated_at:
type: string
group_memberships_count:
type: integer
employees_count:
type: integer
parent_group_id:
type: string
nullable: true
parent_group_name:
type: string
nullable: true
connection_name:
type: string
nullable: true
required:
- id
- name
- full_name
- created_at
- updated_at
- group_memberships_count
- employees_count
- parent_group_id
- parent_group_name
- connection_name
meta:
type: object
properties:
page:
type: object
properties:
next:
type: string
nullable: true
limit:
type: integer
total:
type: integer
required:
- next
- limit
- total
required:
- page
required:
- data
- meta
'400':
description: Malformed filter
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
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Groups
summary: Get groups
x-summary-source: derived
operationId: getGroups
x-operation-id-source: derived
/groups/{id}:
get:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'200':
description: An agent team
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
name:
type: string
full_name:
type: string
created_at:
type: string
updated_at:
type: string
group_memberships_count:
type: integer
employees_count:
type: integer
parent_group_id:
type: string
nullable: true
parent_group_name:
type: string
nullable: true
connection_name:
type: string
nullable: true
required:
- id
- name
- full_name
- created_at
- updated_at
- group_memberships_count
- employees_count
- parent_group_id
- parent_group_name
- connection_name
required:
- data
'404':
description: 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:
- Groups
summary: Get groups by id
x-summary-source: derived
operationId: getGroupsById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key