Cant create Stack via API Call


im trying to add a new Stack with the API.

Basically i’m using this with the API Editor
POST /v1/projects//environments
name: “My App”,
dockerCompose: “your docker-compose yaml”,

So i choose “environment” in the editor and added some yaml from an existing stack to be sure.

I only see the new stack “initializing” but no services in it.

I’t can’t be so wrong because a new Stack is added but no Services with it.

Any ideas ?