Returns your organization's Forge cloud compute settings: what happens to running Aitronos servers at the spending limit, after how many idle hours servers are parked automatically (Aitronos servers always are, after 1 hour unless you choose otherwise), and after how many idle hours the idle reminder shows. The defaults apply until an admin changes them.
Requires a bearer token (or API key) whose principal holds the use_forge capability in the acting organization. It works while Forge cloud compute is switched off.
This endpoint takes no parameters.
organization_id string optional
The organization to act in. Defaults to your current organization. You must be an active member of it, or the request is refused with 403 ORGANIZATION_ACCESS_DENIED.
X-Organization-Id string optional
The same as organization_id, as a header. When both are sent, the query parameter wins.
at_cap_behaviorstring — what happens to running Aitronos servers when the organization reaches its spending limit:park(default: the work is saved and compute charges stop) orkeep_running. At 90% of the limit every running Aitronos server carries anoticeeither way. Servers in your own accounts are not affected: the provider bills them.auto_park_idle_hoursinteger ornull— your organization's choice: park anyreadyserver automatically after this many hours without reported activity, 1 to 168.null(default) means no choice: bring-your-own servers are then never parked automatically, and Aitronos servers use the platform default. Servers whose offering cannot park are left running.aitronos_auto_park_idle_hoursinteger — read-only: the hours without activity after which an Aitronos server is actually parked.auto_park_idle_hourswhen set, otherwise1. Automatic parking cannot be switched off for Aitronos servers: they run on Aitronos' own account.idle_reminder_hoursinteger — show theidle_reminderon areadyserver after this many hours without activity, 1 to 168. Default8.
{
"at_cap_behavior": "park",
"auto_park_idle_hours": null,
"aitronos_auto_park_idle_hours": 1,
"idle_reminder_hours": 8
}| Status | Code | When |
|---|---|---|
| 401 | AUTHENTICATION_REQUIRED | No valid credential. |
| 403 | ORGANIZATION_ACCESS_DENIED | organization_id or X-Organization-Id names an organization you are not an active member of. |
| 403 | INSUFFICIENT_PERMISSIONS | The caller does not hold use_forge in the acting organization. |
- Bash
- Python
- Python
- JavaScript
curl "https://api.aitronos.com/v1/forge/compute/settings" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response:
{
"at_cap_behavior": "park",
"auto_park_idle_hours": null,
"aitronos_auto_park_idle_hours": 1,
"idle_reminder_hours": 8
}- Forge cloud compute overview
- List billing organizations
- Choose the default billing organization
- List project groups
- Register or update a project group
- Delete a project group
- List compute offerings
- Get offering options
- Resolve a free size
- List connected accounts
- Connect a cloud account
- Disconnect a cloud account
- Create a server
- List servers
- List your servers in every organization
- Get a server
- Get a server's daily cost and uptime
- List a server's running intervals
- List a server's event history
- Report a setup step
- Report the server's host key
- Mark a server ready
- Report activity
- Park a server
- Resume a server
- Delete a server
- Revoke a server
- Get compute settings
- Update compute settings
- Get spend limits
- Change the organization's limits
- Set your own limit
- List member limits
- Set a member's limit
- Delete a leftover resource