Version 4.0.25.8 (latest)
Fetches a CI Run.
Request
GET
/projects/{project_id}/ci/runs/{run_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
project_id
Project Id
run_id
Run Id
query
Expand HTTP Query definition...
fields
Requested fields
Response
200: CI Run
Datatype
Description
(object)
run
lock
Continuous Integration run results
Expand CIRun definition...
run_id
lock
ID of the CI run
created_at
lock
Time and date that the CI run was initiated
started_at
lock
Time and date that the CI run began executing
finished_at
lock
Time and date that the CI run completed
status_url
lock
Git provider URL where you can view the commit status. This is the status URL that you specify when you create a CI suite
status
lock
Status of the CI run (unknown, failed, passed, skipped, errored, cancelled, queued, running)
git_service
lock
Git service for CI run (e.g. GitHub)
git_state
lock
Git state information for the CI run
Expand CIGitState definition...
branch
lock
Git branch that the CI run validates
repository
lock
Git repository that contains the Git branch being validated
commit_ref
lock
Git commit that the CI run validates
target
lock
For incremental runs, the Git branch that the CI run compares against during validation
result
lock
Results of the CI run
Expand CIRunResult definition...
sql_result
lock
Results of the SQL validation
sql_error
lock
Errors that occurred when attempting SQL validation
assert_result
lock
Results of the assert validation
assert_error
lock
Errors that occurred when attempting assert validation
content_result
lock
Results of the content validation
content_error
lock
Errors that occurred when attempting content validation
lookml_result
lock
Results of the LookML validation
lookml_error
lock
Errors that occurred when attempting LookML validation
generic_error
lock
Errors that occurred when attempting validation
schedule
lock
Schedule for CI run
Expand CIScheduleTrigger definition...
enabled
lock
Whether the CI run schedule is active
day
lock
For scheduled runs, day of the week that the CI run is scheduled
hour
lock
For schedules runs, the hour of the day (24 hour format) that the CI run is scheduled
frequency
lock
For scheduled runs, how often the CI run is scheduled to run (hourly, daily, weekly)
target_branch
lock
Git branch that the CI run compares against during validation, used for incremental runs
title
lock
Name of the CI suite
trigger
lock
Trigger for CI run (unknown, manual, schedule, change_request)
change_request
lock
Details of the change request, if the CI run was triggered by a change request
Expand CIChangeRequest definition...
change_request_number
lock
Numeric identifier of the change request
change_request_url
lock
URL of the change request
change_request_name
lock
Name of the change request
change_request_commits_url
lock
For PR-triggered CI runs, the URL to the change request commit that triggered the run.
suite_id
lock
ID of the CI suite
username
lock
Username of the user who triggered the CI run, if the CI run was manually triggered
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link