Rulebase Agents API
The Agents API from Rulebase — 2 operation(s) for agents.
The Agents API from Rulebase — 2 operation(s) for agents.
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-agents-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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 Agents API
version: 0.0.1
tags:
- name: Agents
paths:
/agents:
get:
responses:
'200':
description: List agents
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
organizationId:
type: string
name:
type: string
description:
type: string
role:
type: string
enum:
- onboarding
createdByMembershipId:
type: string
nullable: true
createdAt:
type: string
updatedAt:
type: string
required:
- id
- organizationId
- name
- description
- role
- createdByMembershipId
- createdAt
- updatedAt
required:
- data
tags:
- Agents
summary: Get agents
x-summary-source: derived
operationId: getAgents
x-operation-id-source: derived
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
description:
type: string
minLength: 1
role:
type: string
enum:
- onboarding
required:
- name
- description
- role
additionalProperties: false
responses:
'201':
description: Agent created
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
organizationId:
type: string
name:
type: string
description:
type: string
role:
type: string
enum:
- onboarding
createdByMembershipId:
type: string
nullable: true
createdAt:
type: string
updatedAt:
type: string
required:
- id
- organizationId
- name
- description
- role
- createdByMembershipId
- createdAt
- updatedAt
required:
- data
'400':
description: Invalid agent
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Agents
summary: Create agents
x-summary-source: derived
operationId: postAgents
x-operation-id-source: derived
/agents/{id}:
get:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'200':
description: Agent
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
organizationId:
type: string
name:
type: string
description:
type: string
role:
type: string
enum:
- onboarding
createdByMembershipId:
type: string
nullable: true
createdAt:
type: string
updatedAt:
type: string
required:
- id
- organizationId
- name
- description
- role
- createdByMembershipId
- createdAt
- updatedAt
required:
- data
'404':
description: Agent not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Agents
summary: Get agents by id
x-summary-source: derived
operationId: getAgentsById
x-operation-id-source: derived
patch:
parameters:
- schema:
type: string
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
description:
type: string
minLength: 1
additionalProperties: false
responses:
'200':
description: Agent updated
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
organizationId:
type: string
name:
type: string
description:
type: string
role:
type: string
enum:
- onboarding
createdByMembershipId:
type: string
nullable: true
createdAt:
type: string
updatedAt:
type: string
required:
- id
- organizationId
- name
- description
- role
- createdByMembershipId
- createdAt
- updatedAt
required:
- data
'400':
description: Invalid agent
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: Agent not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Agents
summary: Update agents by id
x-summary-source: derived
operationId: patchAgentsById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key