Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GingerlyData247/SOTeam4-P2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Search by Regex endpoint allows you to find artifacts by matching a regular expression pattern against artifact names and model card content. This provides powerful search capabilities for discovering related artifacts.Endpoint
Request Body
Regular expression pattern to search for. The pattern is compiled with multiline flags and matched against:
- Artifact name
- Model card text
- Card metadata
Response
Returns an array of artifact metadata objects matching the pattern, sorted by artifact ID.Search Behavior
The regex pattern is matched against a combined text blob for each artifact containing:- Artifact name - The registered name of the artifact
- Model card - The card field from metadata
- Card text - Additional card text content
Regular Expression Syntax
The endpoint supports standard Python regex syntax:.- Match any character*- Zero or more repetitions+- One or more repetitions^- Start of line$- End of line[abc]- Character class(pattern)- Grouping|- Alternation
re.MULTILINE flag enabled.
Error Handling
Invalid regular expression syntax
No artifacts match the provided regex pattern
Examples
Search by Name Prefix
Search for Language Models
Case-Insensitive Search
Search for Specific Versions
Search Model Card Content
Response Example
Tips
- Escape special regex characters in your patterns (e.g., use
\\.to match a literal period) - Use anchors (
^and$) to match at specific positions - The search is performed on the server, so complex patterns are fully supported
- Results are always sorted by artifact ID for consistency