Generate Install
POST /repos/{repo_id}/install
POST
/repos/{repo_id}/install
Generate a patch set describing the changes needed to install the GTM spine.
Server-side only: returns a PatchSetResponse whose patches array
describes the file changes (new files, modifications, snippets to add).
The caller is responsible for applying them to the local filesystem —
typically the g8 CLI, but any MCP client can consume the patch array
directly. Follow up with POST /install/apply once patches are on disk.
Authorizations
Parameters
Path Parameters
repo_id
required
Repository ID
string
Repository ID
Header Parameters
Responses
200
Successful Response
object
data
required
object
id
required
string format: uuid
patches
required
repo_id
required
string format: uuid
status
required
string
pagination
Any of:
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string