Market Brew License Definitions API

Reusable customer-license definitions

GitHub OpenAPI

Operations 3

GET /api/v1/license-definitions List top-level license definitions #
GET /api/v1/license-definitions/{licenseDefinitionSummary} Get a license definition #
GET /api/v1/license-definitions/{licenseDefinitionSummary}/form-fields Get license-definition form fields #

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-license-definitions-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-license-definitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Market Brew API Documentation License Definitions API
  description: REST API reference for Market Brew platform data, content intelligence, and customer workspace endpoints.
  version: '1.0'
servers:
- url: /
tags:
- name: License Definitions
  description: Reusable customer-license definitions
paths:
  /api/v1/license-definitions:
    get:
      tags:
      - License Definitions
      summary: List top-level license definitions
      responses:
        '200':
          description: Top-level license-definition trees
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LicenseDefinitionDTO'
      security:
      - API-Key: []
      operationId: getApiV1LicenseDefinitions
      x-operation-id-source: derived
  /api/v1/license-definitions/{licenseDefinitionSummary}:
    get:
      tags:
      - License Definitions
      summary: Get a license definition
      parameters:
      - name: licenseDefinitionSummary
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/LicenseDefinitionSummary'
      responses:
        '200':
          description: License definition tree
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseDefinitionDTO'
        '404':
          description: License definition not found
      security:
      - API-Key: []
      operationId: getApiV1LicenseDefinitionsByLicenseDefinitionSummary
      x-operation-id-source: derived
  /api/v1/license-definitions/{licenseDefinitionSummary}/form-fields:
    get:
      tags:
      - License Definitions
      summary: Get license-definition form fields
      parameters:
      - name: licenseDefinitionSummary
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/LicenseDefinitionSummary'
      responses:
        '200':
          description: License-definition form fields
          content:
            application/json:
              schema:
                uniqueItems: true
                type: array
                items:
                  $ref: '#/components/schemas/FormValueDefinition'
        '404':
          description: License definition not found
      security:
      - API-Key: []
      operationId: getApiV1LicenseDefinitionsByLicenseDefinitionSummaryFormFields
      x-operation-id-source: derived
components:
  schemas:
    LicenseDefinitionSummary:
      type: object
      properties:
        id:
          format: int64
          type: integer
        name:
          type: string
    CardinalityType:
      enum:
      - SOFT
      - HARD
      - UNLIMITED
      - INFERRED
      - NONE
      type: string
    AccessChannel:
      enum:
      - UI
      - API
      - DOODAD
      - SYSTEM
      - SCHEDULE
      type: string
    LicenseType:
      enum:
      - PERFORMANCE_PLAN
      - ENTERPRISE_PLAN
      - LICENSE_PACKAGE
      - FEATURE_PLAN
      type: string
    CardinalityDefinitionDTO:
      type: object
      properties:
        mode:
          $ref: '#/components/schemas/OptionalFieldDefinitionMode'
        value:
          $ref: '#/components/schemas/CardinalityDTO'
    AccessChannelEntitlementLimitDefinitionDTO:
      type: object
      properties:
        forAccessChannel:
          $ref: '#/components/schemas/AccessChannel'
        entitlementLimit:
          $ref: '#/components/schemas/CardinalityDefinitionDTO'
    OptionalFieldDefinitionMode:
      enum:
      - USE_GIVEN_VALUE_INPUT_DISABLED
      - GIVEN_VALUE_AS_DEFAULT_INPUT_ENABLED
      - INPUT_REQUIRED
      - VALUE_IS_NULL_INPUT_DISABLED
      type: string
    WebsiteSummary:
      type: object
      properties:
        websiteId:
          format: int64
          type: integer
        serverHost:
          type: string
    LicenseDefinitionDTO:
      type: object
      properties:
        id:
          format: int64
          type: integer
        name:
          type: string
        showAtTopLevel:
          type: boolean
        published:
          type: boolean
        parents:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/LicenseDefinitionSummary'
        children:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/LicenseDefinitionDTO'
        websites:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/WebsiteSummary'
        activationDate:
          format: date
          type: string
          example: 2022-03-10
        deactivationDate:
          format: date
          type: string
          example: 2022-03-10
        websiteCardinality:
          $ref: '#/components/schemas/CardinalityDefinitionDTO'
        feature:
          type: string
        licenseType:
          $ref: '#/components/schemas/LicenseType'
        baseEntitlementLimit:
          $ref: '#/components/schemas/EntitlementLimitDefinitionDTO'
        accessChannelEntitlementLimitsSetPromptEdit:
          type: boolean
        accessChannelEntitlementLimits:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/AccessChannelEntitlementLimitDefinitionDTO'
    FormValueType:
      enum:
      - CARDINALITY
      - ENTITLEMENT_LIMIT
      - WEBSITE_SET
      - ISO_8601_DATE
      type: string
    EntitlementLimitDTO:
      required:
      - cardinality
      type: object
      properties:
        months:
          format: int32
          type: integer
        cardinality:
          $ref: '#/components/schemas/CardinalityDTO'
    FormValueDefinition:
      type: object
      properties:
        path:
          type: string
        type:
          $ref: '#/components/schemas/FormValueType'
        required:
          type: boolean
    EntitlementLimitDefinitionDTO:
      type: object
      properties:
        mode:
          $ref: '#/components/schemas/OptionalFieldDefinitionMode'
        value:
          $ref: '#/components/schemas/EntitlementLimitDTO'
    CardinalityDTO:
      required:
      - type
      type: object
      properties:
        type:
          $ref: '#/components/schemas/CardinalityType'
        limit:
          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