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 Name endpoint retrieves all artifacts that exactly match a given name. This is useful for finding specific artifacts when you know their registered name.Endpoint
Path Parameters
Exact name of the artifact to search for. The name is matched after trimming whitespace. Use URL encoding for names containing special characters or slashes
Response
Returns an array of artifact metadata objects. Multiple artifacts may have the same name.Matching Behavior
- Exact match: The name must match exactly after trimming leading/trailing whitespace
- Case-sensitive: Names are matched as-is, with no case normalization
- No wildcards: Unlike the list endpoint, this does not support wildcard matching
- Empty results: Returns an empty array
[]if no artifacts match (200 status, not 404)
Response Format
The endpoint always returns status200 OK, even when no artifacts are found. An empty result set is represented as an empty array.
Examples
Search for Model by Name
Search for Hugging Face Model
For Hugging Face models, use the full model identifier:%2F in some clients:
Search for Dataset
Search with No Matches
Response Example (Single Match)
Response Example (Multiple Matches)
If multiple artifacts share the same name:Use Cases
Verify Artifact Exists
Check if an artifact with a specific name has been registered:Get Artifact ID from Name
Retrieve the ID for a known artifact name:Find All Versions
If you use versioned naming (e.g.,model-v1, model-v2), you’ll need to make separate requests for each version. For broader searches, use the regex endpoint instead.
Comparison with Other Search Endpoints
| Feature | byName | byRegEx | POST /artifacts |
|---|---|---|---|
| Match type | Exact | Pattern | Name + Type filter |
| Wildcards | No | Yes (regex) | Yes ("*") |
| Search model cards | No | Yes | No |
| Pagination | No | No | Yes |
| Type filtering | No | No | Yes |