Skip to main content
GET
/
projects
/
{slug}
/
computes
/
{cuSlug}
Get Compute Resource Details
curl --request GET \
  --url https://relytone.data.cloud/api/v1/projects/{slug}/computes/{cuSlug} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "status": "READY",
  "cloudProvider": "aws",
  "instanceType": "<string>",
  "host": "<string>",
  "poolerHost": "<string>",
  "bizId": 123,
  "taskId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "branchId": "<string>",
  "createUser": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Project identifier

cuSlug
string
required

Compute resource identifier

Response

Successfully retrieved compute resource details

id
string

Compute resource unique identifier

slug
string

Compute resource identifier

name
string

Compute resource name

status
enum<string>

Compute resource status

Available options:
READY,
FROZEN,
CREATING,
PROVISIONING,
ERROR
cloudProvider
enum<string>

Cloud service provider

Available options:
aws,
gcp,
azure,
aliyun
instanceType
string

Instance type

host
string

Host address

poolerHost
string

Connection pool host address

bizId
integer

Business ID

taskId
string

Task ID

createdAt
string<date-time>

Creation time

updatedAt
string<date-time>

Update time

branchId
string

Parent branch ID

createUser
object
I