Rulebase Agents API

The Agents API from Rulebase — 2 operation(s) for agents.

Operations 4

GET /agents Get agents #
POST /agents Create agents #
GET /agents/{id} Get agents by id #
PATCH /agents/{id} Update agents 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-agents-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-agents-api-openapi.yml Raw ↑
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