crate.dossier.label(slug)
label(slug: string, opts?: RequestOptions): Promise<LabelDossierContract>The label-grain dossier by slug (cluster-first). Also reachable as the top-level label.
| Endpoint | GET /api/v2/dossier/label/{slug} |
| Auth | key |
| Returns | LabelDossierContract |
| Retryable | yes |
| Idempotent | yes |
Example
Section titled “Example”const d = await crate.dossier.label('warp-records');