> ## Documentation Index
> Fetch the complete documentation index at: https://docs-relytone.data.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Project Compute Resources List

> Get all compute resources for a project



## OpenAPI

````yaml api/openapi.yaml get /projects/{id}/computes
openapi: 3.0.3
info:
  title: Relyt Console API
  description: >
    Relyt Console API provides organization management, project management,
    compute resource management, database management and other features.

    This is a modern API service based on Next.js, supporting OAuth2
    authentication and JWT tokens.
  version: 1.0.0
  contact:
    name: Relyt Team
    email: support@relyt.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://relytone.data.cloud/api/v1
    description: Production Environment
security:
  - OAuth2: []
  - BearerAuth: []
paths:
  /projects/{id}/computes:
    get:
      tags:
        - Project Resources
      summary: Get Project Compute Resources List
      description: Get all compute resources for a project
      parameters:
        - name: id
          in: path
          required: true
          description: Project identifier
          schema:
            type: string
        - name: compute
          in: query
          required: false
          description: >-
            Compute resource identifier (optional, for getting specific compute
            resource)
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved compute resources list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Compute'
        '401':
          description: Unauthorized access
        '404':
          description: Project not found
      security:
        - BearerAuth: []
components:
  schemas:
    Compute:
      type: object
      properties:
        id:
          type: string
          description: Compute resource identifier
        name:
          type: string
          description: Compute resource name
        status:
          type: string
          enum:
            - READY
            - FROZEN
            - CREATING
            - PROVISIONING
            - ERROR
          description: Compute resource status
        computeType:
          type: string
          enum:
            - primary
            - replica
          description: Compute resource type
        host:
          type: string
          description: Host address
        poolerHost:
          type: string
          description: Connection pool host address
        createdAt:
          type: string
          format: date-time
          description: Creation time
        updatedAt:
          type: string
          format: date-time
          description: Update time
        createUser:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://relytone.data.cloud/api/auth/signin
          tokenUrl: https://relytone.data.cloud/api/auth/callback
          scopes:
            read: Read permissions
            write: Write permissions
            admin: Admin permissions
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````