Ramps & Docks
The lake has two types of access points:- Ramps: Where artifacts enter the lake (for distributors)
- Docks: Where artifacts leave the lake (for collectors)
Ramps
A ramp is an authenticated connection that allows distributors to upload artifacts into the lake.What Distributors Do at Ramps
- Authenticate using API credentials
- Select Artifact Type template
- Provide Lock Values (metadata for the document)
- Set Weights & Threshold for access control
- Upload Content (the actual file)
Ramp Example
A distributor uploads an insurance declaration:Key Ramp Concepts
| Concept | Description |
|---|---|
| Ramp ID | Unique identifier for each ramp |
| Distributor ID | Who owns this ramp |
| API Keys | Authentication credentials |
| Rate Limits | Upload throttling |
Docks
A dock is an authenticated connection that allows collectors to retrieve artifacts from the lake.What Collectors Do at Docks
- Authenticate using API credentials
- Search for artifacts by lock type values
- Present Keys for lock types they have access to
- Retrieve artifacts if score ≥ threshold
Dock Example
A collector searches for insurance declarations:Key Dock Concepts
| Concept | Description |
|---|---|
| Dock ID | Unique identifier for each dock |
| Collector ID | Who owns this dock |
| API Keys | Authentication credentials |
| Lock Permissions | Which lock types they can use |
Distributor vs. Collector Flow
Key Differences
| Aspect | Ramp | Dock |
|---|---|---|
| Purpose | Upload artifacts | Retrieve artifacts |
| Action | Push into lake | Fish from lake |
| Required Info | Template, locks, weights, content | Search criteria, keys |
| Result | Artifact stored in lake | Artifact returned |
| Authentication | Distributor credentials | Collector credentials |
Authentication
Both ramps and docks use API key authentication:Rate Limits
| Endpoint Type | Default Limit | Notes |
|---|---|---|
| Ramp (Upload) | 100 requests/minute | For artifact uploads |
| Dock (Search) | 300 requests/minute | For searches |
| Dock (Retrieve) | 100 requests/minute | For retrievals |
Next Steps
- Learn about Artifact Types
- Understand the Lock-Key-Weight Model
- See Distributors for upload workflow
- See Collectors for retrieval workflow