# Create and Run Builds https://api-docs.lumar.io/docs/protect/builds/create-builds The following mutation create and runs a build for a given test suite: ```graphql mutation CreateAndRunBuild($testSuiteId: ObjectID!, $ciBuildId: String) { createAndRunBuild(input: { testSuiteId: $testSuiteId, ciBuildId: $ciBuildId }) { build { id createdAt status } } } ``` :::caution - `$testSuiteId` is the only required field. `$ciBuildId` is an optional string that you can set to identify your CI build. - Build status may be still `Queued` immediately after running the mutation. It will change to `Running` after Lumar starts crawling your website. :::