SDK artifacts
ArtifactManager for downloading job outputs from presigned S3 URLs as blob, text, or JSON
The ArtifactManager — reached through ivy.artifacts — lets you download the file-based outputs a completed job produces, such as PDB structures, SDF molecules, CSV reports, and JSON results. Reach for it after a job finishes, when the inline result isn't enough and you need the actual output file as a blob, text string, or parsed JSON. It works from the presigned S3 URLs the Jobs reference surfaces on a completed job, and pairs with the Client you construct first.
SDK Artifacts Reference
Planned specification. @ivybiosciences/sdk is not released, and there is no package to install. This page describes the SDK's planned interface. To call the platform today, use the REST API, the ivybloom CLI, or the MCP server.
The ArtifactManager handles downloading file-based job outputs from time-limited presigned S3 URLs. Supports binary, text, and JSON formats.
Access via ivy.artifacts.
Overview
Completed jobs may produce downloadable artifacts stored in AWS S3:
- PDB files — Protein structures from ESMFold, DiffDock
- SDF files — Molecular structures from docking, fragment growing
- CSV reports — Tabular analysis results
- JSON files — Structured prediction outputs
Artifacts are accessed via time-limited presigned URLs that typically expire after 1 hour.
artifacts.getDownloadUrl(jobId)
Get the presigned download URL for a completed job's artifacts.
Parameters:
| Parameter | Type | Description |
|---|---|---|
jobId | string | The job identifier |
Returns: The presigned S3 URL, or null if the job has no downloadable artifacts (results are inline JSON only).
Throws: IvyApiError with isNotFound if the job doesn't exist.
Examples
Note: If the URL has expired (403 on download), call this method again for a fresh URL.
artifacts.download(presignedUrl)
Download artifact content as a Blob. Best for binary files or creating client-side download links.
Throws: IvyApiError if the download fails (e.g., URL expired — status 403).
Examples
artifacts.downloadText(presignedUrl)
Download artifact as a UTF-8 text string. Suitable for PDB, SDF, CSV, FASTA formats.
Throws: IvyApiError if the download fails.
Examples
Parsing JSON artifacts
The SDK has no JSON helper. Download the file as text and parse it:
Workflow Example
S3 Key Format
Artifacts are stored with the following S3 key structure:
Example:
You don't need to know the key — the presigned URL handles access.
Was this page helpful?