Organization Projects REST API
List organization projects
โ ๏ธ Breaking Changes: The Bencher API is in beta and under active development. We may introduce breaking changes in future releases. We will announce any breaking changes in the release notes.
List projects for an organization. The user must have `view` permissions for the organization. By default, the projects are sorted in alphabetical order by name. The HTTP response header `X-Total-Count` contains the total number of organization projects.
Headers
Content-Type
string
Set to application/json
.
Authorization
string
Set to Bearer BENCHER_API_TOKEN
, where BENCHER_API_TOKEN
is a vaild Bencher API token.
Path Parameters
organization
string
The slug or UUID for an organization.
Query Parameters
direction
string
The direction to sort by. If not specified, the default sort direction is used.
Default: asc
One of: asc
, desc
page
integer
The page number to return. If not specified, the first page is returned.
Default: 1
per_page
integer
The number of items to return per page. If not specified, the default number of items per page (8) is used.
Default: 8
sort
string
The field to sort by. If not specified, the default sort field is used.
Default: name
One of: name
name
string
Filter by project name, exact match.
search
string
Search by project name, slug, or UUID.
/v0/organizations/{organization}/projects
Bencher Cloud | https://api.bencher.dev |
Bencher Self-Hosted | http://localhost:61016 |
Bencher CLI
bencher project list ORGANIZATION
View OpenAPI Spec
Create a project for an organization
โ ๏ธ Breaking Changes: The Bencher API is in beta and under active development. We may introduce breaking changes in future releases. We will announce any breaking changes in the release notes.
Create a new project for an organization. The user must have `create` permissions for the organization. The new project will have a `main` branch, a `localhost` testbed, `latency` and `throughput` measures, and a threshold for both measures. โ Bencher Plus: The project visibility must be `public` unless the organization has a valid Bencher Plus subscription.
Headers
Content-Type
string
Set to application/json
.
Authorization
string
Set to Bearer BENCHER_API_TOKEN
, where BENCHER_API_TOKEN
is a vaild Bencher API token.
Path Parameters
organization
string
The slug or UUID for an organization.
Body Parameters
name
string
The name of the project. Maximum length is 64 characters.
slug
string
The preferred slug for the project. If not provided, the slug will be generated from the name. If the provided or generated slug is already in use, a unique slug will be generated. Maximum length is 64 characters.
url
string
The URL for the project. If the project is public, the URL will be accessible listed on its Perf Page.
visibility
string
โ Bencher Plus: Set the visibility of the project. Creating a `private` project requires a valid Bencher Plus subscription.
Default: public
One of: public
, private
/v0/organizations/{organization}/projects
Bencher Cloud | https://api.bencher.dev |
Bencher Self-Hosted | http://localhost:61016 |
Bencher CLI
bencher project create ORGANIZATION
View OpenAPI Spec