Market Brew Usage Metrics API

Aggregate Market Brew usage metrics for customers, Flight Engineers, and admins.

GitHub OpenAPI

Operations 9

GET /api/v1/crawls/metrics Get crawl activity metrics #
GET /api/v1/crew/count Count Crew accounts visible to the API key #
GET /api/v1/flight-plans/metrics Get Flight Plan aggregate usage metrics #
GET /api/v1/knowledge-base/count Count Knowledge Bases visible to the API key #
GET /api/v1/ranking-sensors/metrics Get Ranking Sensor aggregate usage metrics #
GET /api/v1/search/metrics Get Search API configuration usage metrics #
GET /api/v1/tasks/metrics Get task workload and completion metrics #
GET /api/v1/usage/history Get usage metric history; optional scale=daily or scale=monthly returns only… #
GET /api/v1/usage/metrics Get aggregate system usage metrics #

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-usage-metrics-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-usage-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Market Brew API Documentation Usage Metrics API
  description: REST API reference for Market Brew platform data, content intelligence, and customer workspace endpoints.
  version: '1.0'
servers:
- url: /
tags:
- name: Usage Metrics
  description: Aggregate Market Brew usage metrics for customers, Flight Engineers, and admins.
paths:
  /api/v1/crawls/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get crawl activity metrics
      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/CrawlMetrics'
      security:
      - API-Key: []
      operationId: getApiV1CrawlsMetrics
      x-operation-id-source: derived
  /api/v1/crew/count:
    get:
      tags:
      - Usage Metrics
      summary: Count Crew accounts 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: getApiV1CrewCount
      x-operation-id-source: derived
  /api/v1/flight-plans/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get Flight Plan aggregate usage metrics
      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/FlightPlanMetrics'
      security:
      - API-Key: []
      operationId: getApiV1FlightPlansMetrics
      x-operation-id-source: derived
  /api/v1/knowledge-base/count:
    get:
      tags:
      - Usage Metrics
      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/ranking-sensors/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get Ranking Sensor aggregate usage metrics
      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/RankingSensorMetrics'
      security:
      - API-Key: []
      operationId: getApiV1RankingSensorsMetrics
      x-operation-id-source: derived
  /api/v1/search/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get Search API configuration usage metrics
      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/SearchMetrics'
      security:
      - API-Key: []
      operationId: getApiV1SearchMetrics
      x-operation-id-source: derived
  /api/v1/tasks/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get task workload and completion metrics
      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/TaskMetrics'
      security:
      - API-Key: []
      operationId: getApiV1TasksMetrics
      x-operation-id-source: derived
  /api/v1/usage/history:
    get:
      tags:
      - Usage Metrics
      summary: Get usage metric history; optional scale=daily or scale=monthly returns only…
      parameters:
      - name: crewIds
        in: query
        schema:
          type: string
      - name: endDate
        in: query
        schema:
          type: string
      - name: metricKeys
        in: query
        schema:
          type: string
      - name: scale
        in: query
        schema:
          type: string
      - name: startDate
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageMetricHistoryResponse'
      security:
      - API-Key: []
      operationId: getApiV1UsageHistory
      x-operation-id-source: derived
  /api/v1/usage/metrics:
    get:
      tags:
      - Usage Metrics
      summary: Get aggregate system usage metrics
      description: Returns metric snapshots for the visible crew scope, including contentFitScore and contentDriftScore when website embedding drift data is available.
      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:
                type: array
                items:
                  $ref: '#/components/schemas/UsageMetricSnapshot'
      security:
      - API-Key: []
      operationId: getApiV1UsageMetrics
      x-operation-id-source: derived
components:
  schemas:
    TaskMetrics:
      type: object
      properties:
        openTasks:
          format: int64
          type: integer
        completedTasks:
          format: int64
          type: integer
        totalTasks:
          format: int64
          type: integer
        completionPercentage:
          type: number
    FlightPlanMetrics:
      type: object
      properties:
        total:
          format: int64
          type: integer
        newLast30Days:
          format: int64
          type: integer
    UsageMetricHistorySeries:
      type: object
      properties:
        metricKey:
          type: string
        metricLabel:
          type: string
        total:
          type: number
        daily:
          type: array
          items:
            $ref: '#/components/schemas/UsageMetricHistoryPoint'
        monthly:
          type: array
          items:
            $ref: '#/components/schemas/UsageMetricHistoryPoint'
    UsageMetricSnapshot:
      type: object
      properties:
        metricKey:
          type: string
        metricLabel:
          type: string
        value:
          type: number
    CrawlMetrics:
      type: object
      properties:
        totalCrawls:
          format: int64
          type: integer
        recent30Days:
          format: int64
          type: integer
    UsageMetricHistoryResponse:
      type: object
      properties:
        scopeType:
          type: string
        scopeCustomerId:
          format: int32
          type: integer
        crewIds:
          type: array
          items:
            format: int32
            type: integer
        series:
          type: array
          items:
            $ref: '#/components/schemas/UsageMetricHistorySeries'
    RankingSensorMetrics:
      type: object
      properties:
        total:
          format: int64
          type: integer
        newLast30Days:
          format: int64
          type: integer
    SearchMetrics:
      type: object
      properties:
        widgets:
          format: int64
          type: integer
    UsageMetricHistoryPoint:
      type: object
      properties:
        date:
          type: string
        value:
          type: number
    CountDTO:
      type: object
      properties:
        count:
          format: int64
          type: integer
  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