Skip to main content
GET
/
project
/
{project_id}
curl https://api.ubicloud.com/project/pjkkmx0f2vke4h36nk9cm8v8q0 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": "pjkkmx0f2vke4h36nk9cm8v8q0",
  "name": "my-project",
  "credit": 25.4,
  "discount": 10
}
Returns detailed information about a specific project.

Path Parameters

project_id
string
required
ID of the project to retrieve (format: pj followed by 24 characters)Example: pjkkmx0f2vke4h36nk9cm8v8q0

Response

id
string
required
Unique identifier for the projectExample: pjkkmx0f2vke4h36nk9cm8v8q0
name
string
required
Name of the projectExample: my-project
credit
number
required
Remaining credit for the project in USDExample: 25.4
discount
integer
required
Discount percentage applied to the projectExample: 10
curl https://api.ubicloud.com/project/pjkkmx0f2vke4h36nk9cm8v8q0 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": "pjkkmx0f2vke4h36nk9cm8v8q0",
  "name": "my-project",
  "credit": 25.4,
  "discount": 10
}

Build docs developers (and LLMs) love