Create account project. Requires account.projects.create.
Arguments
inputCreateAccountProjectInput!requiredinput.accountIdUUID!requiredAccount to receive the new project. Project creation and account assignment are atomic. Requires account.projects.create. The caller remains the billing and seat owner. The caller project limit returns 402 when exhausted.
input.nameString!requiredProject display name.
input.slugStringUnique project slug. Omit to generate a slug with a random suffix. An explicit duplicate slug returns 409; creation does not replay an existing project.
input.templateSlugStringOptional template slug. A template project UUID takes precedence. Null means omitted.
input.templateProjectIdUUIDOptional template project UUID. Overrides templateSlug. Null means omitted.
Responses
mutation CreateAccountProject($input: CreateAccountProjectInput!) { createAccountProject(input: $input) { id slug name accountId type isTemplate systemManaged createdAt updatedAt }}{ "data": { "createAccountProject": { "id": "string", "slug": "string", "name": "string", "accountId": "00000000-0000-0000-0000-000000000000", "type": "regular", "isTemplate": false, "systemManaged": false, "createdAt": "string", "updatedAt": "string" } }}The AccountProject! in data.createAccountProject.