Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 3.48 KB

File metadata and controls

39 lines (30 loc) · 3.48 KB

PublishRetrieverRequest

Request to publish a retriever. Either public_name (slug) or display_name (human-readable) is required. If only display_name is provided, a slug is auto-generated from it. If display_config is not provided, the retriever's stored display_config will be used.

Properties

Name Type Description Notes
display_name str Human-readable display name for this retriever (free-form text). Example: 'Peptide Evidence Search'. A URL-safe slug is auto-generated from this if `public_name` is not provided. [optional]
public_name str URL-safe slug (lowercase letters, digits, hyphens only). Must start and end with an alphanumeric character. Example: 'peptide-evidence-search'. Used in the public URL: mxp.co/r/{public_name}. Auto-generated from `display_name` if not provided. [optional]
description str Description of this public retriever. Explains what the retriever does and what it searches. Displayed in public listings and search results. [optional]
icon_base64 str Base64 encoded icon/favicon for this public retriever. Data URI format recommended. Max size: ~200KB encoded. Displayed in public listings and as the retriever's icon. [optional]
display_config DisplayConfigInput Display configuration defining how the public UI should be rendered. Includes input fields, theme, layout, and exposed result fields. If not provided, uses the retriever's stored display_config. [optional]
rate_limit_config RateLimitConfig Rate limiting configuration for public endpoint. Defaults to STANDARD tier (10/min, 100/hour, 1k/day). Use ELEVATED tier for trusted public apps (30/min, 500/hour, 5k/day). Use ENTERPRISE tier for monitored deployments (100/min, 2k/hour, 20k/day). Custom limits override tier defaults. [optional]
password_secret_name str OPTIONAL. Name of organization secret containing password for access protection. If provided, users must send password via X-Retriever-Password header. [optional]
include_metadata bool Whether to capture and store retriever metadata (stages, collections, capabilities). Recommended: True for better developer experience and debugging. Default: True. [optional] [default to True]
tags List[str] Tags for categorizing this retriever. Used for filtering in public listings and gallery views. [optional]
category str Primary category for this retriever. Examples: 'sandbox', 'marketplace', 'demo', 'production'. [optional]

Example

from mixpeek.models.publish_retriever_request import PublishRetrieverRequest

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

# convert the object into a dict
publish_retriever_request_dict = publish_retriever_request_instance.to_dict()
# create an instance of PublishRetrieverRequest from a dict
publish_retriever_request_from_dict = PublishRetrieverRequest.from_dict(publish_retriever_request_dict)

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