Get Draft Package
Draft Packages
Get Draft Package
Preview what would be included in a new package
GET
Get Draft Package
The draft package endpoint returns a preview of what components and dependencies would be included if you created a new package right now. This is useful for understanding the current state before committing to a new version.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Organization ID
Project ID
Query Parameters
Set to
true to include resolved dependencies in the responseResponse
Returns the draft package in the same format as the resolved package endpoint.Always “draft” for the draft package
Always “draft” for the draft package
Map of component names to compiled JavaScript code
Always empty for draft packages
Map of dependency identifiers to their resolved content (only present if
includeDependencies=true)Example Response
The draft endpoint is read-only. It does not create or modify any data. It returns the same format as the resolved package endpoint, making it easy to switch between draft and published packages in client code.