Spacelift
communityInfrastructure-as-code management platform for Terraform, OpenTofu, Pulumi, and CloudFormation.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{account}.app.spacelift.io/graphqlList stacks
Parameters
query{ stacks { id name state branch repository projectRoot currentRun { id state createdAt } } } (stringrequiredReturns
stacks[] with id, name, state, branch, repository, projectRoot, currentRunPOST
https://{account}.app.spacelift.io/graphqlGet stack details
Parameters
query{ stack(id: "{stackId}") { id name state runs { id state createdAt finishedAt changes { added changed deleted } } } } (stringrequiredReturns
stack with id, name, state, runs[] with changes summaryPOST
https://{account}.app.spacelift.io/graphqlTrigger a run
Parameters
querymutation { runTrigger(stack: "{stackId}") { id state } } (stringrequiredReturns
run with id, state