Methods
apply_tags
apply_tags
get
get
delete
delete
list
list
List artifact versions with optional filtering by tag, FQN, artifact ID, ML Repo, name, version, run IDs, or run steps.
Parameters
Tag to filter artifact versions by
Fully qualified name to filter artifact versions by (format: ’://’ or ’://:’)
ID of the artifact to filter versions by
ID of the ML Repo to filter artifact versions by
Name of the artifact to filter versions by
Version number (positive integer) or ‘latest’ to filter by specific version
List of run IDs to filter artifact versions by
List of run step numbers to filter artifact versions by
Number of artifact versions to skip for pagination
Maximum number of artifact versions to return
Whether to include internal metadata in the response
Returns
SyncPager[ArtifactVersion, ListArtifactVersionsResponse]
SyncPager[ArtifactVersion, ListArtifactVersionsResponse]
🔗 ListArtifactVersionsResponseList of artifact versions matching the query with pagination information
Usage
get_signed_urls
get_signed_urls
Get pre-signed URLs for reading or writing files in an artifact version.
Parameters
ID of the artifact version to get signed URLs for
List of relative file paths within the artifact version to get signed URLs for
🔗 OperationOperation type for the signed URL (e.g., ‘READ’ or ‘WRITE’)
Returns
🔗 GetSignedUrLsResponseList of signed URLs for the requested file paths
Usage
create_multi_part_upload
create_multi_part_upload
Create a multipart upload for large files in an artifact version.
Parameters
ID of the artifact version to upload files to
Relative path within the artifact version where the file should be uploaded
Number of parts to split the upload into for multipart upload
Returns
🔗 MultiPartUploadResponseMultipart upload information including signed URLs for each part
Usage
stage
stage
Stage an artifact version for upload, returning storage location and version ID.
Parameters
🔗 StageArtifactRequestManifestManifest containing metadata for the artifact to be staged (model or generic artifact)
Returns
🔗 StageArtifactResponseStaging information including version ID, storage root, and artifact ID
Usage
list_files
list_files
List files and directories in an artifact version.
Parameters
ID of the artifact version to list files from
Relative path within the artifact version to list files from (defaults to root)
Maximum number of files/directories to return
Token to retrieve the next page of results
Returns
🔗 ListFilesResponseList of files and directories with pagination information
Usage
mark_stage_failure
mark_stage_failure