Welcome to the new Golem Cloud Docs! 👋
Documentation
Limits

Limits API

The limits API is only available for Golem Cloud.

The limits API allows users to query their current resource limits.

Get resource limits for a given account.

PathMethodProtected
/v2/resource-limitsGETYes

Query Parameters

NameTypeRequiredDescription
account-idstringYesThe Account ID to check resource limits for.

Example Response JSON

{
  "availableFuel": 0,
  "maxMemoryPerWorker": 0
}

Update resource limits for a given account.

PathMethodProtected
/v2/resource-limitsPOSTYes

Example Request JSON

{
  "updates": {
    "property1": 0,
    "property2": 0
  }
}

Example Response JSON

{}

Limits API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"errors":["string"]}
401Unauthorized request{"error":"string"}
500Internal server error{"error":"string"}