<commit_before>---
layout: docs
title: Projects and builds API
---

# Projects

* [Get projects](#get-projects)
* [Get project last build](#get-project-last-build)
* [Get project last branch build](#get-project-last-branch-build)
* [Get project build by version](#get-project-build-by-version)
* [Get project history](#get-project-history)
* [Get project deployments](#get-project-deployments)
* [Get project settings](#get-project-settings)
* [Get project settings in YAML](#get-project-settings-in-yaml)
* [Get project environment variables](#get-project-environment-variables)
* [Add project](#add-project)
* [Update project](#update-project)
* [Update project settings in YAML](#update-project-settings-in-yaml)
* [Update project environment variables](#update-project-environment-variables)
* [Update project build number](#update-project-build-number)
* [Delete project build cache](#delete-project-build-cache)
* [Delete project](#delete-project)

# Builds

* [Start build of branch most recent commit](#start-build-of-branch-most-recent-commit)
* [Start build of specific branch commit](#start-build-of-specific-branch-commit)
* [Start build of Pull Request (GitHub only)](#start-build-of-pull-request-github-only)
* [Cancel build](#cancel-build)
* [Delete build](#delete-build)

# Build Jobs

* [Download build log](#download-build-log)

## Get projects<commit_msg>Re-run build to index (#565)<commit_after>---
layout: docs
title: Projects and builds API
---

# Projects

* [Get projects](#get-projects)
* [Get project last build](#get-project-last-build)
* [Get project last branch build](#get-project-last-branch-build)
* [Get project build by version](#get-project-build-by-version)
* [Get project history](#get-project-history)
* [Get project deployments](#get-project-deployments)
* [Get project settings](#get-project-settings)
* [Get project settings in YAML](#get-project-settings-in-yaml)
* [Get project environment variables](#get-project-environment-variables)
* [Add project](#add-project)
* [Update project](#update-project)
* [Update project settings in YAML](#update-project-settings-in-yaml)
* [Update project environment variables](#update-project-environment-variables)
* [Update project build number](#update-project-build-number)
* [Delete project build cache](#delete-project-build-cache)
* [Delete project](#delete-project)

# Builds

* [Start build of branch most recent commit](#start-build-of-branch-most-recent-commit)
* [Start build of specific branch commit](#start-build-of-specific-branch-commit)
* [Re-run build](#re-run-build)
* [Start build of Pull Request (GitHub only)](#start-build-of-pull-request-github-only)
* [Cancel build](#cancel-build)
* [Delete build](#delete-build)

# Build Jobs

* [Download build log](#download-build-log)

## Get projects
{'fraction_non_alphanumeric': 0.156350626118068, 'fraction_numerical': 0.001073345259391771, 'mean_word_length': 5.819512195121951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5085799', 'n_tokens_mistral': 871, 'n_tokens_neox': 801, 'n_words': 201}