Market Brew Knowledge Base API

Knowledge Base management endpoints

GitHub OpenAPI

Operations 3

GET /api/v1/knowledge-base List knowledge bases for the authenticated customer #
GET /api/v1/knowledge-base/count Count Knowledge Bases visible to the API key #
GET /api/v1/knowledge-base/{id} Get a single knowledge base with its sources #

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/marketbrew-ai:marketbrew-ai-knowledge-base-api"
All apis
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.

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. 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 Specification

marketbrew-ai-knowledge-base-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Market Brew API Documentation Knowledge Base API
  description: REST API reference for Market Brew platform data, content intelligence, and customer workspace endpoints.
  version: '1.0'
servers:
- url: /
tags:
- name: Knowledge Base
  description: Knowledge Base management endpoints
paths:
  /api/v1/knowledge-base:
    get:
      tags:
      - Knowledge Base
      summary: List knowledge bases for the authenticated customer
      parameters:
      - name: name
        in: query
        description: Filter by name (partial match)
        schema:
          type: string
      - name: offset
        in: query
        description: Result offset for pagination (default 0)
        schema:
          format: int32
          type: integer
      - name: pageSize
        in: query
        description: Maximum results to return (default 50)
        schema:
          format: int32
          type: integer
      responses:
        '200':
          description: List of knowledge base summaries
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KnowledgeBaseSummary'
      security:
      - API-Key: []
      operationId: getApiV1KnowledgeBase
      x-operation-id-source: derived
  /api/v1/knowledge-base/count:
    get:
      tags:
      - Knowledge Base
      summary: Count Knowledge Bases visible to the API key
      parameters:
      - name: crewIds
        in: query
        schema:
          type: string
      - name: customerId
        in: query
        schema:
          format: int32
          type: integer
      - name: endDate
        in: query
        schema:
          type: string
      - name: serverHost
        in: query
        schema:
          type: string
      - name: startDate
        in: query
        schema:
          type: string
      - name: websiteId
        in: query
        schema:
          format: int64
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountDTO'
      security:
      - API-Key: []
      operationId: getApiV1KnowledgeBaseCount
      x-operation-id-source: derived
  /api/v1/knowledge-base/{id}:
    get:
      tags:
      - Knowledge Base
      summary: Get a single knowledge base with its sources
      parameters:
      - name: id
        in: path
        description: Knowledge base ID
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '200':
          description: Knowledge base detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KnowledgeBaseDTO'
        '404':
          description: Knowledge base not found
      security:
      - API-Key: []
      operationId: getApiV1KnowledgeBaseById
      x-operation-id-source: derived
components:
  schemas:
    CountDTO:
      type: object
      properties:
        count:
          format: int64
          type: integer
    KnowledgeBaseSourceSummary:
      type: object
      properties:
        id:
          format: int64
          type: integer
        serverHost:
          type: string
        entireSite:
          type: boolean
        scopeMode:
          type: string
    KnowledgeBaseDTO:
      type: object
      properties:
        id:
          format: int64
          type: integer
        name:
          type: string
        description:
          type: string
        sourceCount:
          format: int32
          type: integer
        createdDate:
          format: date-time
          type: string
          example: 2022-03-10 12:15:50
        sources:
          type: array
          items:
            $ref: '#/components/schemas/KnowledgeBaseSourceSummary'
        referencedKnowledgeBaseIds:
          type: array
          items:
            format: int64
            type: integer
    KnowledgeBaseSummary:
      type: object
      properties:
        id:
          format: int64
          type: integer
        name:
          type: string
        description:
          type: string
        sourceCount:
          format: int32
          type: integer
        createdDate:
          format: date-time
          type: string
          example: 2022-03-10 12:15:50
  securitySchemes:
    API-Key:
      type: apiKey
      description: Market Brew API key. Send this value in the API-Key request header.
      name: API-Key
      in: header
    OAuth2-Bearer:
      type: http
      description: Short-lived Market Brew OAuth access token for the ChatGPT MCP resource.
      scheme: bearer
      bearerFormat: JWT