Skip to content
URL:
https://<root>/machines/machine>/gpulimitinfo
Methods:
GET
Operations:
Edit, Run Limit Check
Version Introduced:
12.0

Description

The gpulimitinfo resource outputs the results of the GPU Limit Check tool. This tool is first run at the time of site creation. After site creation, the tool can be accessed using the HTML version of this resource.

Request parameters

ParameterDetails

f

(Required)

The output format for this operation. The default value is html.

Values: html | json | pjson

token

(Required)

Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation.

Response properties

PropertyDetails

limit

The number of GPUs detected by the GPU Limit Check tool.

Note that the Edit operation available via the HTML version of this page allows for manual setting of this property. Additionally, the Run Limit Check Tool operation can also be run manually via the HTML version of this page.

lastExecuted

Outputs a Unix timestamp of when the tool was last run.

Example usage

The following is a sample request URL used to access the gpulimitinfo resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/machines/MACHINE.EXAMPLE.COM/gpulimitinfo?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": <integer>,
    "lastExecuted": <Unix timestamp>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": 1,
    "lastExecuted": 1764774003
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.