@nosana/api 2.15.0 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -182,6 +182,18 @@ await vault.topup({ NOS: 100 });
182
182
  | `getTemplatePerformance` | `nodeId: string` | `Promise<Record<string, unknown>>` |
183
183
  | `getBenchmarkSummary` | `request?: BenchmarkSummaryRequest` | `Promise<Record<string, unknown>>` |
184
184
 
185
+ ### `api.reservations` — GPU Models & Requirement Lookups
186
+
187
+ Read-only and unauthenticated. A requirement set maps a metric key to a value:
188
+ a number is a minimum, a string or boolean must match exactly, and the GPU
189
+ model is the `name` key.
190
+
191
+ | Method | Parameters | Returns |
192
+ |--------|-----------|---------|
193
+ | `listGpus` | — | `Promise<NosanaGpuModels>` |
194
+ | `getRequirementOptions` | `request?: NosanaRequirementOptionsRequest` | `Promise<NosanaRequirementOptions>` |
195
+ | `findAvailable` | `request?: NosanaAvailableNodesRequest` | `Promise<NosanaAvailableNodes>` |
196
+
185
197
  ### `api.node` / `api.jobs.get(job)` — Node access
186
198
 
187
199
  A node verifies the job owner's signature, and the client manager signs on the