Skip to content

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).

EndpointGET /api/v2/dossier/manifest
Authkey
ReturnsDossierManifest
Retryableyes
Idempotentyes
const m = await crate.dossier.manifest();
console.log(m.contract_version, m.grains, m.unavailable_grains);