Platform API
The platform exposes a REST surface over the same operations the web interface performs. It is what the MCP write tools call, and it is what your own automation would call.
The API reference — endpoints, payload shapes, semantics and credentials — is provided directly to customers under their agreement, not published here. This page describes what the surface does so you can plan around it.
What it covers
| Area | What you can do |
|---|---|
| Systems | Read a system's current graph, change it, and trigger a build or a push |
| Attributes | Read and update component, sub-component and link attributes, individually or in batches |
| Topology | Add and remove components and links |
| Catalog | Define attributes, and bind them to component types with their options and defaults |
| Tests | Define validation tests against a system, scoped by component or by topology |
| Knowledge | List the rationale papers, and attach the why of a component, sub-component or link to a system without touching anything else in it |
Every call is made as a platform account — the account you sign in to the web interface with — and carries that account's role on the system. A user of your stack's own identity provider is a different identity and is never accepted here. Writes are refused, with the reason, while the diagram is invalid against the catalog or while a catalog change is waiting to be synchronised.
The shape of a safe write
The same discipline the MCP enforces applies to any client:
Never write against an assumed value.
Some write operations merge and others replace wholesale. Knowing which is which is the difference between adding a sub-component and silently removing the others.
A write that returns success is not a write that did what you meant. Read it back.
A build regenerates the stack repository.
Why most people never call it directly
Because the MCP tools already do — with the current value read first, the blast radius computed, the options enumerated from the catalog, and a confirmation step before anything is written or built.
Direct API use makes sense for integrating Stacktic into an existing internal workflow. For everything else, the conversation is the interface.