Create a Continuous Integration run
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.0.25.6
Creates a CI Run.
Request
POST
/projects/{project_id}/ci/run
Expand HTTP Path definition...
project_id
string
Project Id
Expand HTTP Body definition...
body
Options for creating a CI run
Expand CreateCIRunRequest definition...
branch
string
The branch to test. Omit to test production.
commit
string
The commit to test. Omit to test production.
Expand HTTP Query definition...
fields
string
Requested fields
Response
200: CI Run
run_id
lock
string
Run ID
status
lock
string
Run status
400: Bad Request
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
message
lock
string
Error details
documentation_url
lock
string
Documentation link
409: Resource Already Exists
message
lock
string
Error details
documentation_url
lock
string
Documentation link
422: Validation Error
message
lock
string
Error details
Expand ValidationErrorDetail definition...
field
lock
string
Field with error
code
lock
string
Error code
message
lock
string
Error info message
documentation_url
lock
string
Documentation link
documentation_url
lock
string
Documentation link
429: Too Many Requests
message
lock
string
Error details
documentation_url
lock
string
Documentation link
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-08 UTC."],[],[],null,["# Create a Continuous Integration run\n\nVersion 4.0.25.6\n| **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.25.14](/looker/docs/reference/looker-api/latest).\n\n### Creates a CI Run.\n\nRequest\n-------\n\nPOST /projects/{project_id}/ci/run \nDatatype \nDescription \nRequest \nHTTP Request \npath \nHTTP Path \nExpand HTTP Path definition... \nproject_id \nstring \nProject Id \nbody \nHTTP Body \nExpand HTTP Body definition... \nbody \n[CreateCIRunRequest](/looker/docs/reference/looker-api/4.0/25.6/types/CreateCIRunRequest) \nOptions for creating a CI run\nExpand CreateCIRunRequest definition... \nsuite_id \nstring \nRun ID \nbranch \nstring \nThe branch to test. Omit to test production. \ntarget \nstring \nSuite name \ncommit \nstring \nThe commit to test. Omit to test production. \nuser_attributes \nstring\\[\\] \nwebhooks \nstring\\[\\] \nquery \nHTTP Query \nExpand HTTP Query definition... \nfields \nstring \nRequested fields\n\nResponse\n--------\n\n### 200: CI Run\n\nDatatype \nDescription \n(object) \n[CreateCIRunResponse](/looker/docs/reference/looker-api/4.0/25.6/types/CreateCIRunResponse) \nrun_id \n*lock* \nstring \nRun ID \nstatus \n*lock* \nstring \nRun status\n\n### 400: Bad Request\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/4.0/25.6/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 404: Not Found\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/4.0/25.6/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 409: Resource Already Exists\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/4.0/25.6/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 422: Validation Error\n\nDatatype \nDescription \n(object) \n[ValidationError](/looker/docs/reference/looker-api/4.0/25.6/types/ValidationError) \nmessage \n*lock* \nstring \nError details \nerrors \n[ValidationErrorDetail](/looker/docs/reference/looker-api/4.0/25.6/types/ValidationErrorDetail)\\[\\] \nExpand ValidationErrorDetail definition... \nfield \n*lock* \nstring \nField with error \ncode \n*lock* \nstring \nError code \nmessage \n*lock* \nstring \nError info message \ndocumentation_url \n*lock* \nstring \nDocumentation link \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 429: Too Many Requests\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/4.0/25.6/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link"]]