{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/api-reference/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["api-container","api-content","endpoint","api-examples","code-group","tabs","tab"]},"redocly_category":"API Reference","searchWeight":120,"type":"markdown"},"seo":{"title":"Set your own limit","description":"Complete API reference and documentation for Freddy AI-powered backend system by Aitronos","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"set-your-own-limit","__idx":0},"children":["Set your own limit"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sets or clears the monthly limit you hold your own Aitronos servers to. Your own limit can only be lower than what your organization allows you (the limit ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-member-limit"},"children":["set for you"]},", else the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-organization-limits"},"children":["default per person"]},"); the limit you are held to is the smaller of the two. Returns the limits now in force, as ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-limits"},"children":["Get spend limits"]}," does. A refused request stores nothing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your spend is the spend of the Aitronos servers you own. Once one more hour at the quoted price would pass your limit, creating or resuming one of your servers is refused with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["402 FORGE_COMPUTE_SPEND_LIMIT_REACHED"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.reason"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["member_limit_reached"]},"), whose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}," tells you that you can raise or clear your own limit. At 90% of your limit each of your running Aitronos servers carries the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notice"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["member_limit_90"]},"; at 100% they are parked (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["member_limit_parked"]},") or keep running (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["member_limit_100"]},"), as set in the organization's ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-settings"},"children":["compute settings"]},". Every change is recorded in the organization's audit log."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requires a bearer token of a signed-in person who holds the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["use_forge"]}," capability in the acting organization. An organization API key has no person of its own and cannot set a personal limit. It works while Forge cloud compute is switched off."]},{"$$mdtype":"Tag","name":"ApiContainer","attributes":{},"children":[{"$$mdtype":"Tag","name":"ApiContent","attributes":{},"children":[{"$$mdtype":"Tag","name":"Endpoint","attributes":{"method":"PUT","path":"https://api.aitronos.com/v1/forge/compute/limits/me"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameters","__idx":1},"children":["Query Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organization_id"]}]}," string ",{"$$mdtype":"Tag","name":"em","attributes":{"style":{"color":"#9ca3af !important","fontWeight":"500 !important","fontStyle":"normal !important"}},"children":["optional"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The organization to act in. Defaults to your current organization. You must be an active member of it, or the request is refused with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403 ORGANIZATION_ACCESS_DENIED"]},". Your own limit is set per organization."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"headers","__idx":2},"children":["Headers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Organization-Id"]}]}," string ",{"$$mdtype":"Tag","name":"em","attributes":{"style":{"color":"#9ca3af !important","fontWeight":"500 !important","fontStyle":"normal !important"}},"children":["optional"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The same as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organization_id"]},", as a header. When both are sent, the query parameter wins."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"body-parameters","__idx":3},"children":["Body Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["self_limit_chf"]}]}," string, number or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," ",{"$$mdtype":"Tag","name":"em","attributes":{"style":{"color":"#ef4444 !important","fontWeight":"600 !important","fontStyle":"normal !important"}},"children":["required"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your own monthly limit for Aitronos servers, in CHF (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"5.00\""]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5"]},"). Send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," to clear it: the limit your organization set then applies, or no per-person limit when it set none. An amount must be at least CHF 0.01, have at most two decimals and be at most what your organization allows you (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields.self_limit_chf.max"]}," in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-limits"},"children":["Get spend limits"]},"): the organization's monthly spending limit when it set no limit for you. Unknown fields are refused."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"returns","__idx":4},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The limits now in force: the same object as ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-limits#returns"},"children":["Get spend limits"]},", with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["me.self_limit_chf"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["me.effective_limit_chf"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["me.limit_source"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["me.remaining_chf"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["summary"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields.self_limit_chf.value"]}," reflecting the change. The example caller holds neither ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["view_billing"]}," nor ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["manage_billing"]},", so ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["can_view_org_spend"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organization.spent_chf"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["summary"]}," names only the organization's limit."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"currency\": \"CHF\",\n  \"month\": \"2026-10\",\n  \"organization\": {\n    \"limit_chf\": \"40.00\",\n    \"compute_share_limit_chf\": null,\n    \"effective_limit_chf\": \"40.00\",\n    \"monthly_limit_chf\": \"80.00\",\n    \"member_default_chf\": \"12.50\",\n    \"spent_chf\": null\n  },\n  \"me\": {\n    \"user_id\": \"usr_7f3a9c2e1b8d4e6fa0c5b3d9e2f1a4c7\",\n    \"admin_limit_chf\": \"12.50\",\n    \"self_limit_chf\": \"5.00\",\n    \"effective_limit_chf\": \"5.00\",\n    \"limit_source\": \"self\",\n    \"spent_chf\": \"1.66\",\n    \"remaining_chf\": \"3.34\"\n  },\n  \"spend_known\": true,\n  \"can_view_org_spend\": false,\n  \"can_edit_org_limits\": false,\n  \"can_edit_own_limit\": true,\n  \"summary\": \"You have spent CHF 1.66 of your CHF 5.00 monthly limit for Aitronos servers. Your organization's monthly limit for Aitronos servers is CHF 40.00.\",\n  \"fields\": {\n    \"org_limit_chf\": {\n      \"label\": \"Organization limit for Aitronos servers\",\n      \"help\": \"The most your whole organization can spend on Aitronos servers in a calendar month. Leave it empty for no separate limit: the organization's monthly spending limit still applies.\",\n      \"value\": \"40.00\",\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"member_default_chf\": {\n      \"label\": \"Default limit per person\",\n      \"help\": \"The most each person can spend on Aitronos servers in a calendar month, unless you set a different limit for them. Leave it empty for no default.\",\n      \"value\": \"12.50\",\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"member_limit_chf\": {\n      \"label\": \"Limit for this person\",\n      \"help\": \"Replaces the default limit for this person. Leave it empty to use the default.\",\n      \"value\": null,\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"self_limit_chf\": {\n      \"label\": \"My limit\",\n      \"help\": \"Set a lower limit for your own Aitronos servers. It can only be lower than what your organization allows you. Leave it empty to use the limit your organization set.\",\n      \"value\": \"5.00\",\n      \"min\": \"0.01\",\n      \"max\": \"12.50\",\n      \"step\": \"0.01\",\n      \"editable\": true\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"errors","__idx":5},"children":["Errors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A refused amount is answered with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["422 VALIDATION_ERROR"]}," whose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.field"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["self_limit_chf"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.reason"]}," says why; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}," is the sentence to show, for example \"The limit can be at most CHF 12.50.\"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Code"},"children":["Code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"When"},"children":["When"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["401"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AUTHENTICATION_REQUIRED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No valid credential, or a service-account API key."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["403"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API_KEY_PERSON_REQUIRED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An organization API key: it has no person of its own."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["403"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INSUFFICIENT_PERMISSIONS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The caller does not hold ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["use_forge"]}," in the acting organization, or the credential acts for no signed-in person (\"Only a signed-in person can set their own limit.\")."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["403"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ORGANIZATION_ACCESS_DENIED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["organization_id"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Organization-Id"]}," names an organization you are not an active member of."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["422"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VALIDATION_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An amount below CHF 0.01 (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.reason"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["must be at least CHF 0.01"]},"), with more than two decimals (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["can have at most two decimals"]},"), or above what your organization allows you (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["can be at most CHF 12.50"]},", with your own amount)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["422"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VALIDATION_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["self_limit_chf"]}," is missing, is not a number, or the body has an unknown field: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.fields"]}," lists each field with its ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},"."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ApiExamples","attributes":{},"children":[{"$$mdtype":"Tag","name":"CodeGroup","attributes":{"mode":"dropdown"},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","data-title":"cURL","header":{"title":"cURL","controls":{"copy":{}}},"source":"curl -X PUT \"https://api.aitronos.com/v1/forge/compute/limits/me\" \\\n  -H \"Authorization: Bearer $ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"self_limit_chf\": \"5.00\"}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python SDK","header":{"title":"Python SDK","controls":{"copy":{}}},"source":"# pip install aitronos-sdk\n#\n# The Python SDK does not expose a typed `forge_compute` namespace yet, so call\n# the endpoint directly with the signed-in person's bearer token you would pass\n# to `Aitronos(...)`. An organization API key cannot set a personal limit.\nimport httpx\n\nACCESS_TOKEN = \"your-access-token\"\n\nlimits = httpx.put(\n    \"https://api.aitronos.com/v1/forge/compute/limits/me\",\n    headers={\"Authorization\": f\"Bearer {ACCESS_TOKEN}\"},\n    json={\"self_limit_chf\": \"5.00\"},\n).json()\nprint(limits[\"me\"][\"effective_limit_chf\"], limits[\"me\"][\"limit_source\"])\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","data-title":"Python","header":{"title":"Python","controls":{"copy":{}}},"source":"import os\nimport requests\n\ntoken = os.environ[\"AITRONOS_TOKEN\"]\n# Clear your own limit: the limit your organization set applies again.\nresponse = requests.put(\n    \"https://api.aitronos.com/v1/forge/compute/limits/me\",\n    headers={\"Authorization\": f\"Bearer {token}\"},\n    json={\"self_limit_chf\": None},\n)\nprint(response.status_code, response.json())\n","lang":"python"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","data-title":"JavaScript","header":{"title":"JavaScript","controls":{"copy":{}}},"source":"const response = await fetch(\"https://api.aitronos.com/v1/forge/compute/limits/me\", {\n  method: \"PUT\",\n  headers: {\n    Authorization: `Bearer ${process.env.AITRONOS_TOKEN}`,\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({ self_limit_chf: \"5.00\" }),\n});\nconst limits = await response.json();\nif (!response.ok) {\n  console.log(limits.error.message);\n} else {\n  console.log(limits.me.remaining_chf);\n}\n","lang":"javascript"},"children":[]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response:"]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"200 OK","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"currency\": \"CHF\",\n  \"month\": \"2026-10\",\n  \"organization\": {\n    \"limit_chf\": \"40.00\",\n    \"compute_share_limit_chf\": null,\n    \"effective_limit_chf\": \"40.00\",\n    \"monthly_limit_chf\": \"80.00\",\n    \"member_default_chf\": \"12.50\",\n    \"spent_chf\": null\n  },\n  \"me\": {\n    \"user_id\": \"usr_7f3a9c2e1b8d4e6fa0c5b3d9e2f1a4c7\",\n    \"admin_limit_chf\": \"12.50\",\n    \"self_limit_chf\": \"5.00\",\n    \"effective_limit_chf\": \"5.00\",\n    \"limit_source\": \"self\",\n    \"spent_chf\": \"1.66\",\n    \"remaining_chf\": \"3.34\"\n  },\n  \"spend_known\": true,\n  \"can_view_org_spend\": false,\n  \"can_edit_org_limits\": false,\n  \"can_edit_own_limit\": true,\n  \"summary\": \"You have spent CHF 1.66 of your CHF 5.00 monthly limit for Aitronos servers. Your organization's monthly limit for Aitronos servers is CHF 40.00.\",\n  \"fields\": {\n    \"org_limit_chf\": {\n      \"label\": \"Organization limit for Aitronos servers\",\n      \"help\": \"The most your whole organization can spend on Aitronos servers in a calendar month. Leave it empty for no separate limit: the organization's monthly spending limit still applies.\",\n      \"value\": \"40.00\",\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"member_default_chf\": {\n      \"label\": \"Default limit per person\",\n      \"help\": \"The most each person can spend on Aitronos servers in a calendar month, unless you set a different limit for them. Leave it empty for no default.\",\n      \"value\": \"12.50\",\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"member_limit_chf\": {\n      \"label\": \"Limit for this person\",\n      \"help\": \"Replaces the default limit for this person. Leave it empty to use the default.\",\n      \"value\": null,\n      \"min\": \"0.01\",\n      \"max\": \"80.00\",\n      \"step\": \"0.01\",\n      \"editable\": false\n    },\n    \"self_limit_chf\": {\n      \"label\": \"My limit\",\n      \"help\": \"Set a lower limit for your own Aitronos servers. It can only be lower than what your organization allows you. Leave it empty to use the limit your organization set.\",\n      \"value\": \"5.00\",\n      \"min\": \"0.01\",\n      \"max\": \"12.50\",\n      \"step\": \"0.01\",\n      \"editable\": true\n    }\n  }\n}\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"422 Above what you are allowed","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"The limit can be at most CHF 12.50.\",\n    \"system_message\": \"Invalid Forge compute limit self_limit_chf: can be at most CHF 12.50\",\n    \"type\": \"validation_error\",\n    \"status\": 422,\n    \"details\": {\"field\": \"self_limit_chf\", \"reason\": \"can be at most CHF 12.50\", \"value\": \"20.00\"},\n    \"trace_id\": \"3f1c9a52-7d4e-4b8a-9c21-6e0d5f7a8b34\",\n    \"timestamp\": \"2026-10-01T09:00:00Z\"\n  }\n}\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"422 Too many decimals","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"The limit can have at most two decimals.\",\n    \"system_message\": \"Invalid Forge compute limit self_limit_chf: can have at most two decimals\",\n    \"type\": \"validation_error\",\n    \"status\": 422,\n    \"details\": {\"field\": \"self_limit_chf\", \"reason\": \"can have at most two decimals\", \"value\": \"4.995\"},\n    \"trace_id\": \"3f1c9a52-7d4e-4b8a-9c21-6e0d5f7a8b34\",\n    \"timestamp\": \"2026-10-01T09:00:00Z\"\n  }\n}\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"403 API key","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"API_KEY_PERSON_REQUIRED\",\n    \"message\": \"This API key acts as the organization, not as a person, and this operation needs a person.\",\n    \"system_message\": \"This API key acts as the organization, not as a person, and this operation needs a person.\",\n    \"type\": \"authorization_error\",\n    \"status\": 403,\n    \"details\": {\"reason\": \"api_key_person_required\", \"acts_as\": \"organization\", \"hint\": \"Use a key that acts as a person, or a signed-in user's access token.\"},\n    \"trace_id\": \"3f1c9a52-7d4e-4b8a-9c21-6e0d5f7a8b34\",\n    \"timestamp\": \"2026-10-01T09:00:00Z\"\n  }\n}\n","lang":"json"},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-resources","__idx":6},"children":["Related Resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/introduction"},"children":["Forge cloud compute overview"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-billing-organizations"},"children":["List billing organizations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/choose-billing-organization"},"children":["Choose the default billing organization"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-project-groups"},"children":["List project groups"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/put-project-group"},"children":["Register or update a project group"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/delete-project-group"},"children":["Delete a project group"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-offerings"},"children":["List compute offerings"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-offering-options"},"children":["Get offering options"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/resolve-offering-size"},"children":["Resolve a free size"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-credentials"},"children":["List connected accounts"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/put-credential"},"children":["Connect a cloud account"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/delete-credential"},"children":["Disconnect a cloud account"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/create-host"},"children":["Create a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-hosts"},"children":["List servers"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-my-hosts"},"children":["List your servers in every organization"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-host"},"children":["Get a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-host-usage"},"children":["Get a server's daily cost and uptime"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-host-intervals"},"children":["List a server's running intervals"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-host-events"},"children":["List a server's event history"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/report-progress"},"children":["Report a setup step"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/report-host-key"},"children":["Report the server's host key"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/report-ready"},"children":["Mark a server ready"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/report-activity"},"children":["Report activity"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/park-host"},"children":["Park a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/resume-host"},"children":["Resume a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/delete-host"},"children":["Delete a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/revoke-host"},"children":["Revoke a server"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-settings"},"children":["Get compute settings"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-settings"},"children":["Update compute settings"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/get-limits"},"children":["Get spend limits"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-organization-limits"},"children":["Change the organization's limits"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-my-limit"},"children":["Set your own limit"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/list-member-limits"},"children":["List member limits"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/update-member-limit"},"children":["Set a member's limit"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/api-reference/forge-compute/delete-orphan"},"children":["Delete a leftover resource"]}]}]}]},"headings":[{"value":"Set your own limit","id":"set-your-own-limit","depth":1},{"value":"Query Parameters","id":"query-parameters","depth":4},{"value":"Headers","id":"headers","depth":4},{"value":"Body Parameters","id":"body-parameters","depth":4},{"value":"Returns","id":"returns","depth":2},{"value":"Errors","id":"errors","depth":2},{"value":"Related Resources","id":"related-resources","depth":2}],"frontmatter":{"title":"Set your own limit","keywords":["forge","cloud compute","spend limit","monthly limit","personal limit"],"seo":{"title":"Set your own limit"}},"lastModified":"2026-10-26T18:32:31.579Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/api-reference/forge-compute/update-my-limit","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}