Declare product stack
Replace what one source declares the product is built on (frameworks, vector databases, upstream services, versions). The Overview shows declared items beside the ones detected from the product’s own configuration. The actor is the caller’s credential: a named API key reads as its name, anyone else by first name.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Request
This endpoint expects an object.
items
Everything this source says the product is built on. Replaces the previous declaration from the same source whole; an empty list clears it. Keys follow the detected ones (model:<id>, data:<engine>, runtime:<name>, integration:<id>) so a declared item and a detected one show once, else custom:<slug>.
source
Where the declaration comes from: the Runtype MCP server, the CLI, or the API
Allowed values:
Response
Declaration stored
declaration
productId
source
Allowed values:
stack
The Overview's stack. The legacy techStack buckets are separate and unchanged.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error