Skip to main content
Use the addProject mutation to create a project owned by a team. The example on this page creates a SQL project for a Prophecy In Memory fabric, with Simple Git on a Prophecy-managed repository. Everyone works on one dev branch, and publishing a release merges it into main.
After you create the project, add pipelines and build them in Prophecy before you release the project.

Arguments

string
required
Name of the project, for example sales_reporting. The deploy project API needs this name.
string
required
ID (not the name) of the team that will own the project, as returned in data.addTeam._id when you create the team.
string
required
Name of the main branch, for example main.
string
required
Provider type. Use ProphecyManaged for Prophecy In Memory.
The example also sets these arguments inline in the mutation: language: sql, forkMode: Single, versionControlMode: Simple, defaultTransformationEntity: Pipeline, dependencyProjectUIDs: [], and isImport: false.

Response

string
ID of the project. Pipeline, commit, publish, list releases, and trigger calls need this ID.
string
Name of the project.