NVIDIA Run:ai Projects API

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 [Projects](https://run-ai-docs.nvidia.com/saas/platform-management/aiinitiatives/organization/projects) for more information.

OpenAPI Specification

runai-projects-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  version: latest
  description: '# Introduction


    The NVIDIA Run:ai Control-Plane API reference is a guide that provides an easy-to-use programming interface for adding various tasks to your application, including workload submission, resource management, and administrative operations.


    NVIDIA Run:ai APIs are accessed using *bearer tokens*. To obtain a token, you need to create a **Service account** through the NVIDIA Run:ai user interface.

    To create a service account, in your UI, go to Access → Service Accounts (for organization-level service accounts) or User settings → Access Keys (for user access keys), and create a new one.


    After you have created a new service account, you will need to assign it access rules.

    To assign access rules to the service account, see [Create access rules](https://run-ai-docs.nvidia.com/saas/infrastructure-setup/authentication/accessrules#create-or-delete-rules).

    Make sure you assign the correct rules to your service account. Use the [Roles](https://run-ai-docs.nvidia.com/saas/infrastructure-setup/authentication/roles) to assign the correct access rules.


    To get your access token, follow the instructions in [Request a token](https://run-ai-docs.nvidia.com/saas/reference/api/rest-auth/#request-an-api-token).

    '
  title: NVIDIA Run:ai Access Keys Projects API
  x-logo:
    url: https://api.redocly.com/registry/raw/runai-xq8/saas/latest/public/runai-logo-api.png
    altText: NVIDIA Run:ai
    href: https://run.ai
  license:
    name: NVIDIA Run:ai
    url: https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-software-license-agreement/
servers:
- url: https://app.run.ai
security:
- bearerAuth: []
tags:
- name: Projects
  description: "Projects implement resource allocation policies and create segregation between \ndifferent initiatives. It can represent a team, an individual, or an initiative that \nshares resources or has a specific resources budget (quota). \nSee [Projects](https://run-ai-docs.nvidia.com/saas/platform-management/aiinitiatives/organization/projects) \nfor more information.\n"
paths:
  /api/v1/org-unit/projects:
    post:
      summary: Create project
      operationId: create_project
      description: Create a project
      tags:
      - Projects
      requestBody:
        description: Project to create.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectCreationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '409':
          $ref: '#/components/responses/409Conflict'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
    get:
      summary: Get projects
      operationId: get_projects
      description: List projects
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectsFilterBy'
      - $ref: '#/components/parameters/ProjectsSortBy'
      - $ref: '#/components/parameters/SortOrder'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Search'
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                required:
                - projects
                properties:
                  projects:
                    type: array
                    items:
                      $ref: '#/components/schemas/Project'
                  next:
                    type: integer
                    example: 1
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /api/v1/org-unit/projects/{projectId}:
    put:
      summary: Update project
      operationId: update_project
      description: Update project by Id
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      requestBody:
        description: Project to update.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdateRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
    get:
      summary: Get project
      operationId: get_project
      description: Get a project by id
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
    delete:
      summary: Delete project
      operationId: delete_project
      description: Delete a project
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      responses:
        '202':
          description: Accepted
        '204':
          description: Deleted
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalServerError'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /api/v1/org-unit/projects/{projectId}/resources:
    put:
      summary: Update project resources
      operationId: update_project_resources
      description: Update projects resources
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      requestBody:
        description: Project resources to update.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourcesUpdateRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Resources'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
    patch:
      summary: Patch project resources
      operationId: patch_project_resources
      description: 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.
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      requestBody:
        description: Project resources to patch.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourcesUpdateRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Resources'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /api/v1/org-unit/projects/{projectId}/metrics:
    get:
      summary: Get project metrics data.
      operationId: get_project_metrics
      description: Retrieves project data metrics from the metrics database. Use in reporting and analysis tools.
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectId'
      - $ref: '#/components/parameters/OrgUnitMetricTypes'
      - $ref: '#/components/parameters/StartRequired'
      - $ref: '#/components/parameters/EndRequired'
      - $ref: '#/components/parameters/NumberOfSamples'
      - $ref: '#/components/parameters/FilterByNodepoolName'
      responses:
        '200':
          description: Executed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsResponse'
            text/csv: {}
        '207':
          description: Partial success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsResponse'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalServerError'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /api/v1/org-unit/projects/telemetry:
    get:
      summary: Get projects telemetry
      operationId: get_projects_telemetry
      description: Get projects telemetry data by the given query parameters
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/FilterByCluster'
      - $ref: '#/components/parameters/FilterByNodepoolId'
      - $ref: '#/components/parameters/FilterByDepartment'
      - $ref: '#/components/parameters/TelemetryGroupByProject'
      - $ref: '#/components/parameters/TelemetryType1'
      responses:
        '200':
          description: Executed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TelemetryResponse'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /api/v1/org-unit/projects/count:
    get:
      summary: Count projects
      operationId: count_projects
      description: count projects
      tags:
      - Projects
      parameters:
      - $ref: '#/components/parameters/ProjectsFilterBy'
      - $ref: '#/components/parameters/Search'
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountResponse'
        '400':
          $ref: '#/components/responses/400BadRequest'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /v1/k8s/clusters/{clusterUuid}/projects/metrics:
    get:
      tags:
      - Projects
      deprecated: true
      summary: Get metrics data for all projects.
      operationId: getProjectsMetrics
      description: 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.
      parameters:
      - $ref: '#/components/parameters/ClusterUuid'
      - $ref: '#/components/parameters/Start'
      - $ref: '#/components/parameters/End'
      - $ref: '#/components/parameters/NumberOfSamples'
      - $ref: '#/components/parameters/NodepoolName'
      responses:
        '200':
          description: Successfully retrieved metrics for all projects.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/projects'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalServerError'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /v1/k8s/clusters/{clusterUuid}/projects/{projectId}/metrics:
    get:
      tags:
      - Projects
      deprecated: true
      summary: Get metrics data for a specific project.
      operationId: getProjectMetrics
      description: 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.
      parameters:
      - $ref: '#/components/parameters/ClusterUuid'
      - $ref: '#/components/parameters/ProjectId1'
      - $ref: '#/components/parameters/Start'
      - $ref: '#/components/parameters/End'
      - $ref: '#/components/parameters/NumberOfSamples'
      - $ref: '#/components/parameters/NodepoolName'
      responses:
        '200':
          description: Successfully retrieved metrics for the project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/project'
        '401':
          $ref: '#/components/responses/401Unauthorized'
        '403':
          $ref: '#/components/responses/403Forbidden'
        '404':
          $ref: '#/components/responses/404NotFound'
        '500':
          $ref: '#/components/responses/500InternalServerError'
        '503':
          $ref: '#/components/responses/503ServiceUnavailable'
  /v1/k8s/clusters/{clusterId}/projects:
    post:
      tags:
      - Projects
      deprecated: true
      operationId: createProject
      summary: Create a new project.
      description: Creates a new project in a specific cluster. Deprecated - use `/api/v1/org-unit/projects` instead.
      parameters:
      - in: path
        name: clusterId
        schema:
          type: string
        required: true
        description: The Universally Unique Identifier (UUID) of the cluster.
        example: 9f55255e-11ed-47c7-acef-fc4054768dbc
      - in: query
        name: excludePermissions
        schema:
          type: boolean
        required: false
        description: '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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectCreateRequest'
      responses:
        '200':
          description: Project created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project2'
        '400':
          description: Bad Project request.
        '409':
          description: Project creation failed.
    get:
      tags:
      - Projects
      deprecated: true
      summary: List all projects and their details.
      operationId: getProjects
      description: 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.
      parameters:
      - in: path
        name: clusterId
        schema:
          type: string
        required: true
        description: The Universally Unique Identifier (UUID) of the cluster.
        example: 9f55255e-11ed-47c7-acef-fc4054768dbc
      - in: query
        name: excludePermissions
        schema:
          type: boolean
        required: false
        description: 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
      - in: query
        name: memoryUnitMb
        schema:
          type: boolean
        required: false
        description: Memory returned in MB. When set to `false` (default) memory will be returned in MiB.
        example: true
      responses:
        '200':
          description: Successfully retrieved a list of all the projects.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Project2'
  /v1/k8s/clusters/{clusterId}/projects/{id}:
    put:
      tags:
      - Projects
      deprecated: true
      summary: Update a project.
      operationId: updateProject
      description: 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.
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The unique project-id.
      - in: path
        name: clusterId
        schema:
          type: string
        required: true
        description: The Universally Unique Identifier (UUID) of the cluster.
        example: 9f55255e-11ed-47c7-acef-fc4054768dbc
      - in: query
        name: excludePermissions
        schema:
          type: boolean
        required: false
        description: '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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdateRequest1'
      responses:
        '200':
          description: An updated project details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project2'
        '400':
          description: Bad project request.
        '404':
          description: Project not found.
        '409':
          description: Could not update the project.
    delete:
      tags:
      - Projects
      deprecated: true
      summary: Delete a project.
      operationId: deleteProject
      description: Deletes a project from a specific cluster. Deprecated - use `/api/v1/org-unit/projects/{projectId}` instead.
      parameters:
      - in: path
        name: clusterId
        schema:
          type: string
        required: true
        description: The Universally Unique Identifier (UUID) of the cluster.
        example: 9f55255e-11ed-47c7-acef-fc4054768dbc
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The unique id of the project.
        example: 2
      responses:
        '200':
          description: Project deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project2'
        '404':
          description: Project not found.
    get:
      tags:
      - Projects
      deprecated: true
      summary: List details of a specific project.
      operationId: getProject
      description: 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.
      parameters:
      - in: path
        name: clusterId
        schema:
          type: string
        required: true
        description: The Universally Unique Identifier (UUID) of the cluster.
        example: 9f55255e-11ed-47c7-acef-fc4054768dbc
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The unique project-id identifying the project.
      - in: query
        name: excludePermissions
        schema:
          type: boolean
        required: false
        description: 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:
        '200':
          description: Successfully retrieved project details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project2'
        '404':
          description: Project not found.
components:
  schemas:
    ProjectEffective:
      properties:
        schedulingRules:
          $ref: '#/components/schemas/SchedulingRules'
        defaultNodePools:
          description: default order of node pools for workloads. will be enforced if no list is defined in workload policy
          type: array
          nullable: true
          items:
            type: string
        nodeTypes:
          description: default node types configuration for workloads. will be enforced if no node type is configured in workload policy
          nullable: true
          $ref: '#/components/schemas/NodeTypesPerWorkload'
    NodePoolsQuotaStatuses:
      type: array
      items:
        $ref: '#/components/schemas/NodePoolQuotaStatus'
      description: The current quota status for each node pool. Supported only for cluster versions 2.15+ or higher.
    Resource:
      properties:
        deserved:
          type: number
          format: double
          description: The project resource allocation that it is deserved to get in case the cluster has those resources
          nullable: true
          example: 1000
        limit:
          type: number
          format: double
          description: Maximum amount of resources the project can get
          nullable: true
          example: 0
        overQuotaWeight:
          type: number
          format: double
          description: The priority the project gets for over quota resources
          nullable: true
          example: 2
    Error:
      required:
      - code
      - message
      properties:
        code:
          type: integer
          minimum: 100
          maximum: 599
        message:
          type: string
        details:
          type: string
      example:
        code: 400
        message: Bad request - Resource should have a name
    units:
      type: string
      enum:
      - Mib
      - MB
      - GB
    ProjectName1:
      type: string
      example: project-a
    project:
      type: object
      required:
      - metadata
      - current
      properties:
        metadata:
          type: object
          required:
          - projectId
          - projectName
          - departmentId
          - departmentName
          - clusterId
          - clusterName
          properties:
            projectId:
              $ref: '#/components/schemas/ProjectId1'
            projectName:
              $ref: '#/components/schemas/ProjectName1'
            departmentId:
              $ref: '#/components/schemas/DepartmentId'
            departmentName:
              $ref: '#/components/schemas/DepartmentName'
            clusterId:
              $ref: '#/components/schemas/ClusterId'
            clusterName:
              $ref: '#/components/schemas/ClusterName'
        current:
          type: object
          required:
          - resources
          - nodepoolResources
          description: Current reported metrics data. resources holds data that is summed up to the project level and projectResources explains the division of it to nodepools
          properties:
            resources:
              type: array
              items:
                allOf:
                - $ref: '#/components/schemas/ResourcesData'
                - type: object
                  required:
                  - nodepoolName
                  properties:
                    nodepoolName:
                      $ref: '#/components/schemas/NodepoolName'
        timeRange:
          $ref: '#/components/schemas/TimeRange'
    TelemetryResponse:
      type: object
      required:
      - type
      - timestamp
      - values
      properties:
        type:
          type: string
          description: specifies what data returned
          example: ALLOCATION_RATIO
        timestamp:
          type: string
          format: date-time
          example: '2023-06-06 12:09:18.211'
        values:
          type: array
          items:
            type: object
            required:
            - value
            properties:
              value:
                type: string
                example: '85'
              groups:
                type: array
                description: columns the data is grouped by
                maxItems: 2
                items:
                  type: object
                  required:
                  - key
                  - value
                  properties:
                    key:
                      type: string
                      example: department
                    value:
                      type: string
                      example: '1'
                    name:
                      type: string
                      example: department-A
    ClusterId:
      description: The id of the cluster.
      type: string
      format: uuid
      example: 71f69d83-ba66-4822-adf5-55ce55efd210
    Project2:
      allOf:
      - properties:
          name:
            type: string
            description: Project name.
            example: team-a
          nodePoolsResources:
            type: array
            items:
              $ref: '#/components/schemas/NodePoolAssignedResources'
            description: Resources assigned to this Project per Node Pool.
          namespace:
            type: string
            description: The name of an existing namespace to use for the project in the cluster. Supported only for cluster versions 2.12 or higher.
            example: ns-proj1
          id:
            type: integer
            format: int32
            description: Project id.
            readOnly: true
            example: 5
          departmentId:
            type: integer
            format: int32
            description: ID of the department that owns the project.
            example: 2
          tenantId:
            type: integer
            format: int32
            description: ID of the tenant where the project is located.
            example: 2
          clusterUuid:
            type: string
            format: uuid
            description: ID of the cluster where the project is located.
            example: 71f69d83-ba66-4822-adf5-55ce55efd210
          departmentName:
            type: string
            description: Name of the department where the project is located.
            example: department-a
          interactiveNodeAffinity:
            type: string
            example: none
          trainNodeAffinity:
            type: string
            example: none
          createdAt:
            type: string
            description: Creation date of the project.
            format: date-time
            example: '2021-12-14T16:04:15.099Z'
          status:
            $ref: '#/components/schemas/ProjectStatus1'
          phase:
            type: string
            description: project's phase
            example: Ready
      - $ref: '#/components/schemas/ProjectCommonFields'
    ResourcesDataOvertime:
      allOf:
      - $ref: '#/components/schemas/ResourcesData'
      - type: object
        required:
        - timestamp
        properties:
          timestamp:
            type: string
            format: date-time
            example: '2023-06-06T12:09:18.211Z'
    NodePoolAssignedResourcesCreate:
      required:
      - nodePool
      properties:
        nodePool:
          allOf:
          - $ref: '#/components/schemas/NodePoolResources'
          description: The node pool which the assigned resources refer to.
        gpu:
          allOf:
          - $ref: '#/components/schemas/Resource1'
          description: Number of GPUs assigned in the node pool.
        cpu:
          allOf:
          - $ref: '#/components/schemas/Resource1'
          description: Number of CPU Millicores assigned in the node pool. Supported only if the 'CPU Resources Quota' feature flag is enabled.
        memory:
          allOf:
          - $ref: '#/components/schemas/Resource1'
          description: Amount of CPU Memory Mib assigned in the node pool. Supported only if the 'CPU Resources Quota' feature flag is enabled.
    MeasurementResponse:
      type: object
      required:
      - type
      - values
      properties:
        type:
          type: string
          description: specifies what data returned
          example: ALLOCATED_GPU
        labels:
          type: object
          nullable: true
          description: labels of the metric measurement
          example: '{''gpu'': ''3''}'
          additionalProperties:
            type: string
        values:
          type: array
          nullable: true
          items:
            type: object
            required:
            - value
            - timestamp
            properties:
              value:
                type: string
                example: '85'
              timestamp:
                type: string
                format: date-time
                nullable: true
                example: '2023-06-06 12:09:18.211'
    ProjectStatus:
      type: object
      properties:
        namespace:
          type: string
          description: the project's namespace
          nullable: true
          example: runai-proj1
        phase:
          $ref: '#/components/schemas/ProjectPhase'
          description: the project's phase
        phaseMessage:
          type: string
          description: the project's phase message
          nullable: true
          example: Project is ready
        lastUpdatedTime:
          type: string
          format: date-time
          nullable: true
        nodePoolQuotaStatuses:
          type: array
          items:
            $ref: '#/components/schemas/QuotaStatusNodePool'
        quotaStatus:
          $ref: '#/components/schemas/QuotaStatus'
        additionalStatusData:
          nullable: true
          type: object
          additionalProperties: true
    OvertimeRangeData:
      type: object
      description: Average data for the specified time range, or for the lifetime of the project/department if it exists for less than the time range.
      properties:
        averageGpuAllocation:
          type: number
          format: double
          example: 10
          description: The average gpu devices allocation of the project/department.
        averageGpuUtilization:
          type: number
          format: double
          example: 95
          description: The average gpu utilization percentage of the project/department.
        averageGpuMemoryUtilization:
          type: number
          format: double
          example: 95
          description: The average gpu memory utilization percentage of the project/department. Only available for cluster versions >= 2.22.
          nullable: true
        updatedAt:
          type: string
          format: date-time
          example: '2021-08-01T00:00:00Z'
    ProjectPhase:
      type: string
      enum:
      - Creating
      

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/runai/refs/heads/main/openapi/runai-projects-api-openapi.yml