Retrieves everything needed to render a content item, including its compiled code, assets, and all resolved package dependencies. This is the format used by client SDKs to render content.
const resolved = await metabind.getResolvedContent('cont123');// Execute content code with package contextconst componentCode = resolved.content;const packageComponents = resolved.package.components;// Render with all dependencies availableconst renderer = new BindJSRenderer(packageComponents, resolved.dependencies);renderer.render(componentCode);
When accessed with API keys, returns the latest published version. For optimization scenarios where packages are cached locally, use the standard /content/{id} endpoint to fetch just the content with the compiled field.