Artifacts
An artifact is any document, file, or digital content stored in the lake. When a distributor uploads through a ramp, the result is an artifact that collectors can retrieve through a dock.What Makes an Artifact
Every artifact consists of:| Component | Description | Example |
|---|---|---|
| Content | The actual file data | PDF, image, document |
| Artifact Type | Template used for upload | ”Insurance Declaration” |
| Document Type | Category (system lock) | “declaration_page” |
| Locks | Metadata fields with values | { policy_number: "POL-123" } |
| Weights | Scores for each lock | { policy_number: 20 } |
| Threshold | Minimum score for access | 20 |
| Owner | Distributor who uploaded | Distributor ID |
| ID | Unique artifact identifier | art-abc123 |
| Created At | Upload timestamp | 2026-03-15T10:30:00Z |
Artifact Lifecycle
Status Definitions
| Status | Description | Retrievable? |
|---|---|---|
uploaded | Just uploaded, being processed | ❌ No |
active | Ready for retrieval | ✅ Yes |
revoked | Manually revoked by distributor | ❌ No |
Artifact Metadata
System Locks (Required)
Every artifact must have these:| Lock | Data Type | Description |
|---|---|---|
document_type | string | Category of document |
Custom Locks (From Template)
Defined by the artifact type template:| Lock | Data Type | Example Value |
|---|---|---|
policy_number | string | ”POL-12345678” |
effective_date | date | ”2026-03-15” |
mortgagee_name | string | ”FirstCity Bank” |
Weights
Each lock has an associated weight:Uploading Artifacts
Process Flow
- Select Template: Choose an artifact type template
- Provide Values: Fill in lock values for the artifact
- Set Access: Optionally adjust weights and threshold
- Upload Content: Send the file data
- Receive Confirmation: Get artifact ID
Example Upload
Response
Retrieving Artifacts
Process Flow
- Search: Find artifacts matching criteria
- Select: Choose the artifact to retrieve
- Present Keys: Provide keys you have access to
- Get Result: Receive file if score ≥ threshold
Example Retrieval
Successful Response
Denied Response
Batch Operations
Batch Upload
Upload multiple artifacts at once:Batch Retrieval
Retrieve multiple artifacts in one request:Artifact Search
Collectors can search the lake:Search Response
Revoking Artifacts
Distributors can revoke artifacts:Next Steps
- Learn about Ramps & Docks
- Understand Lock-Key-Weight
- See the API Reference