crate.label(key)
label(key: string, opts?: RequestOptions): Promise<LabelDossierContract>Fetch a label dossier in one call (cluster-first) by cluster_id or slug — the label peer of artist, promoted to a first-class resource in v2.
| Endpoint | GET /api/v2/label/{key} |
| Auth | key |
| Returns | LabelDossierContract |
| Retryable | yes |
| Idempotent | yes |
Example
Section titled “Example”const l = await crate.label('warp-records');Throws
Section titled “Throws”empty_key— on an empty/whitespace key.CrateAPIError— on a non-2xx response.