Skip to main content

Create and Run Builds

The following mutation create and runs a build for a given test suite:

mutation CreateAndRunBuild($testSuiteId: ObjectID!, $ciBuildId: String) {
createAndRunBuild(input: {
testSuiteId: $testSuiteId,
ciBuildId: $ciBuildId
}) {
build {
id
createdAt
status
}
}
}
Show cURL example Try in explorer
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 Deepcrawl starts crawling your website.