Projects

Projects implement resource allocation policies and create segregation between different initiatives. It can represent a team, an individual, or an initiative that shares resources or has a specific resources budget (quota). See Projectsarrow-up-right for more information.

Get projects

get

List projects

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["name!=some-name"]
sortBystring · enumOptional

Sort results by a parameters.

Possible values:
sortOrderstring · enumOptional

Sort results in descending or ascending order.

Default: ascPossible values:
offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

ok

application/json
get
/api/v1/org-unit/projects

Create project

post

Create a project

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
Responses
post
/api/v1/org-unit/projects

Get project

get

Get a project by id

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Responses
chevron-right
200

ok

application/json
get
/api/v1/org-unit/projects/{projectId}

Update project

put

Update project by Id

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Body
Responses
chevron-right
200

Updated

application/json
put
/api/v1/org-unit/projects/{projectId}

Delete project

delete

Delete a project

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Responses
delete
/api/v1/org-unit/projects/{projectId}

No content

Update project resources

put

Update projects resources

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Bodyobject[]

Resources assigned to this Project per Node Pool

rankstring · nullableOptional

The scheduling rank of this org-unit within the node pool. Determines the scheduling order of workloads between org-units. Workloads in higher-ranked org-units are scheduled before workloads in lower-ranked org-units. For example, all workloads in rank "High" will be scheduled before all workloads in rank "Medium".

Default: MediumLowExample: High
prioritystring · nullableOptionalDeprecated

Deprecated. Use rank instead. The scheduling priority for workloads in this node pool.

Example: Normal
Responses
chevron-right
200

Updated

application/json
put
/api/v1/org-unit/projects/{projectId}/resources

Patch project resources

patch

Partial updates to specific items in the list. Should be used for update one or more attributes of an item without modifying the entire resource.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Bodyobject[]

Resources assigned to this Project per Node Pool

rankstring · nullableOptional

The scheduling rank of this org-unit within the node pool. Determines the scheduling order of workloads between org-units. Workloads in higher-ranked org-units are scheduled before workloads in lower-ranked org-units. For example, all workloads in rank "High" will be scheduled before all workloads in rank "Medium".

Default: MediumLowExample: High
prioritystring · nullableOptionalDeprecated

Deprecated. Use rank instead. The scheduling priority for workloads in this node pool.

Example: Normal
Responses
chevron-right
200

Updated

application/json
patch
/api/v1/org-unit/projects/{projectId}/resources

Get project metrics data.

get

Retrieves project data metrics from the metrics database. Use in reporting and analysis tools.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
projectIdstringRequired

The project id

Example: 575c19e8-c7c3-45b0-8290-2f47397a8383
Query parameters
startstring · date-timeRequired

Start date of time range to fetch data in ISO 8601 timestamp format.

Example: 2023-06-06T12:09:18.211Z
endstring · date-timeRequired

End date of time range to fetch data in ISO 8601 timestamp format.

Example: 2023-06-07T12:09:18.211Z
numberOfSamplesinteger · max: 1000Optional

The number of samples to take in the specified time range.

Default: 20Example: 20
nodepoolNamestringOptional

Filter using the nodepool.

Example: default
Responses
chevron-right
200

Executed successfully.

get
/api/v1/org-unit/projects/{projectId}/metrics

Get projects telemetry

get

Get projects telemetry data by the given query parameters

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
clusterIdstring · uuidOptional

Filter using the Universally Unique Identifier (UUID) of the cluster.

Example: d73a738f-fab3-430a-8fa3-5241493d7128
nodepoolIdstringOptional

Filter using the nodepool.

Example: 1
departmentIdstringOptional

Filter using the department id.

Example: 1
telemetryTypestring · enumRequired

Select a telemetry type.

Possible values:
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/org-unit/projects/telemetry

Count projects

get

count projects

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["name!=some-name"]
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

ok

application/json
get
/api/v1/org-unit/projects/count

Get projects node pool resources

get

List projects node pool resources

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["nodePoolName!=some-name"]
sortBystring · enumOptional

Sort results by a parameters.

Possible values:
sortOrderstring · enumOptional

Sort results in descending or ascending order.

Default: ascPossible values:
offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

ok

application/json
get
/api/v1/org-unit/projects/node-pool-resources

Count projects node pool resources

get

Count projects node pool resources

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
filterBystring[]Optional

Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["nodePoolName!=some-name"]
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

ok

application/json
get
/api/v1/org-unit/projects/node-pool-resources/count

Patch multiple projects node pool resources in batch.

post

Partially updates node pool resource quotas for multiple projects in a single request.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body

Batch of node pool resources patch requests.

Responses
chevron-right
200

Batch patch processed. Returns succeeded and failed items with totals and a batch id.

application/json
post
/api/v1/org-unit/projects/node-pool-resources/batch-patch
Deprecated

Get metrics data for all projects.

get

Retrieves data from the metrics database. \n Use in reporting and analysis tools. \n Use a time range to return historical data (optional). If you use a start date, an end date is required.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterUuidstring · uuid · min: 1Required

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
Query parameters
startstring · date-timeOptional

Start of time range to fetch data from in UTC format.

Example: 2023-06-06 12:09:18.211
endstring · date-timeOptional

End of time range to fetch data from in UTC format.

Example: 2023-06-07 12:09:18.211
numberOfSamplesinteger · max: 1000Optional

The number of samples to take in the specified time range.

Default: 20Example: 20
nodepoolNamestringOptional

Filter by unique nodepool name.

Example: default
Responses
chevron-right
200

Successfully retrieved metrics for all projects.

application/json
get
/v1/k8s/clusters/{clusterUuid}/projects/metrics
Deprecated

Get metrics data for a specific project.

get

Retrieves data from the metrics database. \n Use in reporting and analysis tools. \n Use a time range to return historical data (optional). If you use a start date, an end date is required.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterUuidstring · uuid · min: 1Required

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
projectIdstringRequired

The unique project-id of the project.

Query parameters
startstring · date-timeOptional

Start of time range to fetch data from in UTC format.

Example: 2023-06-06 12:09:18.211
endstring · date-timeOptional

End of time range to fetch data from in UTC format.

Example: 2023-06-07 12:09:18.211
numberOfSamplesinteger · max: 1000Optional

The number of samples to take in the specified time range.

Default: 20Example: 20
nodepoolNamestringOptional

Filter by unique nodepool name.

Example: default
Responses
chevron-right
200

Successfully retrieved metrics for the project.

application/json
get
/v1/k8s/clusters/{clusterUuid}/projects/{projectId}/metrics
Deprecated

List all projects and their details.

get

Retrieves a list of all projects and details from a specific cluster. Use in reporting and analysis tools. Deprecated - use /api/v1/org-unit/projects instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterIdstringRequired

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
Query parameters
excludePermissionsbooleanOptional

Backward compatibility of the 'permissions' field. If 'true', the 'permissions' field in the returned projects is not set. If 'false', the 'permissions' field is set in the returned projects.

Example: true
memoryUnitMbbooleanOptional

Memory returned in MB. When set to false (default) memory will be returned in MiB.

Example: true
Responses
chevron-right
200

Successfully retrieved a list of all the projects.

application/json
get
/v1/k8s/clusters/{clusterId}/projects
200

Successfully retrieved a list of all the projects.

Deprecated

Create a new project.

post

Creates a new project in a specific cluster. Deprecated - use /api/v1/org-unit/projects instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterIdstringRequired

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
Query parameters
excludePermissionsbooleanOptional

Backward compatibility of the permissions field. If true, the permissions field in the request body is ignored. If false, relevant access rules for the permissions field are created in the project scope.

Example: true
Body
and
Responses
chevron-right
200

Project created successfully.

application/json
post
/v1/k8s/clusters/{clusterId}/projects
Deprecated

List details of a specific project.

get

Retrieves the details of a specific project from a specific cluster. Use for project analysis. Requires view permissions to the queried project. Deprecated - use /api/v1/org-unit/projects/{projectId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterIdstringRequired

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
idstringRequired

The unique project-id identifying the project.

Query parameters
excludePermissionsbooleanOptional

Backward compatibility of the 'permissions' field. If 'true', the 'permissions' field in the returned projects is not set. If 'false', the 'permissions' field is set in the returned projects.

Example: true
Responses
chevron-right
200

Successfully retrieved project details.

application/json
get
/v1/k8s/clusters/{clusterId}/projects/{id}
Deprecated

Update a project.

put

Updates a project's details in a specific cluster. For example, node pool resources, and others. Deprecated - use /api/v1/org-unit/projects/{projectId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
idstringRequired

The unique project-id.

clusterIdstringRequired

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
Query parameters
excludePermissionsbooleanOptional

Backward compatibility of the permissions field. If true, the permissions field in the returned projects is not set. If false, the permissions field is set in the returned projects.

Example: true
Body
and
Responses
chevron-right
200

An updated project details.

application/json
put
/v1/k8s/clusters/{clusterId}/projects/{id}
Deprecated

Delete a project.

delete

Deletes a project from a specific cluster. Deprecated - use /api/v1/org-unit/projects/{projectId} instead.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
clusterIdstringRequired

The Universally Unique Identifier (UUID) of the cluster.

Example: 9f55255e-11ed-47c7-acef-fc4054768dbc
idintegerRequired

The unique id of the project.

Example: 2
Responses
chevron-right
200

Project deleted successfully.

application/json
delete
/v1/k8s/clusters/{clusterId}/projects/{id}

Last updated