Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 3.72 KB

File metadata and controls

51 lines (42 loc) · 3.72 KB

MarketplaceListing

A marketplace listing for a retriever. This is the unified model for all public and marketplace retrievers. Replaces the PublishedRetriever system with a simpler, more flexible approach. Free tier = public retriever (anyone can subscribe for free) Paid tiers = monetized marketplace offering

Properties

Name Type Description Notes
listing_id str Unique identifier for the listing [optional]
internal_id str Organization that owns this listing (provider)
namespace_id str Namespace containing the retriever
retriever_id str Retriever being offered in the marketplace
title str Public display title
description str Public description of what this listing provides
public_name str Public URL-safe slug for the listing (e.g., 'video-search'). Used in public URL: mxp.co/m/{public_name}. Must be globally unique.
category str Category for browsing (e.g., 'Content Moderation', 'Search') [optional]
tags List[str] Tags for discovery [optional]
logo_url str URL to listing logo/icon [optional]
icon_base64 str Base64 encoded icon/favicon (data URI format). Max size: ~200KB encoded. Use for small icons. [optional]
available_tiers List[SubscriptionTierConfig] Available subscription tiers (must include at least one tier, typically FREE for public listings)
display_config Dict[str, object] JSON-based UI configuration for the public interface. Follows a component-based schema (inspired by json-render): { 'components': [...], 'theme': {...}, 'layout': {...} }. If not provided, a default UI is generated from retriever input_schema. [optional]
password_secret_name str Optional organization secret name containing password for access protection. If set, users must provide password to subscribe (even for free tier). [optional]
status ListingStatus Publication status [optional]
visibility ListingVisibility Visibility level. 'listed' = shown in marketplace catalog & homepage showcase. 'unlisted' = accessible via direct link only (not in catalog). [optional]
is_active bool DEPRECATED: Use 'status' field instead. Computed from status (True if PUBLISHED, False otherwise). [optional] [default to True]
created_at datetime When the listing was created [optional]
updated_at datetime When the listing was last updated [optional]
published_at datetime When the listing was first published [optional]
total_subscribers int Total number of active subscribers [optional] [default to 0]
total_queries int Total queries executed across all subscribers [optional] [default to 0]

Example

from mixpeek.models.marketplace_listing import MarketplaceListing

# TODO update the JSON string below
json = "{}"
# create an instance of MarketplaceListing from a JSON string
marketplace_listing_instance = MarketplaceListing.from_json(json)
# print the JSON string representation of the object
print(MarketplaceListing.to_json())

# convert the object into a dict
marketplace_listing_dict = marketplace_listing_instance.to_dict()
# create an instance of MarketplaceListing from a dict
marketplace_listing_from_dict = MarketplaceListing.from_dict(marketplace_listing_dict)

[Back to Model list] [Back to API list] [Back to README]