Stack-agnostic materialization hints for desktop/CLI handoff.
GET/ai-builder-api/cli/projects/:projectId/context
Returns what an agent reads before editing an app's code: its stack, the guide to start from, and the kernel bundle. Opens the app's sandbox.
Request
Version stringrequired
The API version.
Available options
v3projectId stringrequired
Project identifier.
Possible values: Value must match regular expression ^prj_[A-Za-z0-9]+$
Resolved stack manifest and kernel bundle hint.
- application/json
- Schema
- Example (auto)
Schema
projectIdstringrequired
The project.
productTargetstringrequired
What the project builds: full_stack (a web portal), mobile or landing_page.
stackTemplatestringrequired
The kernel the project is built on.
templateIdstring
The starter template the project was created from, when it had one.
stackManifestIdstringrequired
The stack manifest the project's sandbox follows.
kernelBundleHintstringrequired
File name of this stack's kernel bundle.
{
"projectId": "prj_5f0c2a3e",
"productTarget": "full_stack",
"stackTemplate": "nuxt_clientportal_app_v1",
"templateId": "learning-community",
"stackManifestId": "nuxt_clientportal_app_v1",
"kernelBundleHint": "kernel-nuxt_clientportal_app_v1.tgz"
}