crate.dossier.manifest()
manifest(opts?: RequestOptions): Promise<DossierManifest>A table of contents for the dossier system — which grains exist, which are available, and the contract version you’re coding against. In v2, master is demoted (it surfaces honestly under unavailable_grains).
| Endpoint | GET /api/v2/dossier/manifest |
| Auth | key |
| Returns | DossierManifest |
| Retryable | yes |
| Idempotent | yes |
Example
Section titled “Example”const m = await crate.dossier.manifest();console.log(m.contract_version, m.grains, m.unavailable_grains);