Raw schema
{
"type": "object",
"properties": {
"api_key": {
"description": "Bearer credential for this workspace: either the owner_key returned once by aanet_create_workspace/aanet_create_trial_workspace, or a sub-key returned by aanet_mint_subkey. Sent under the hood as `Authorization: Bearer <api_key>`. Owner-only tools reject a sub-key with a 403.",
"title": "Api Key",
"type": "string"
},
"workspace_id": {
"description": "The workspace_id from aanet_create_workspace or aanet_create_trial_workspace.",
"title": "Workspace Id",
"type": "string"
},
"label": {
"description": "Display name for this sub-key, e.g. the sub-agent's role or id.",
"title": "Label",
"type": "string"
},
"path_scope_prefix": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict this sub-key to file paths and lock names under this prefix only (least-privilege). Leave unset for unrestricted access to the whole workspace.",
"title": "Path Scope Prefix"
},
"budget_cap": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Cap this sub-key's own cumulative spend, in the same integer units as the workspace balance ($0.00001 each), even if the workspace has more left. Leave unset for no per-key cap beyond the shared workspace balance.",
"title": "Budget Cap"
},
"spend_limit_per_hour": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Safety limit: most units this key may spend in any rolling hour. Over it, charged calls get 402 INSUFFICIENT_KEY_WINDOW_BUDGET until the window frees up. Unset = no limit.",
"title": "Spend Limit Per Hour"
},
"spend_limit_per_day": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Safety limit: most units this key may spend in any rolling 24 hours (same error as the hourly one). Unset = no limit.",
"title": "Spend Limit Per Day"
},
"rate_limit_per_minute": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Safety limit: most requests (of any kind, free ones included) this key may make per rolling minute; over it, 429 with Retry-After. Unset = no limit.",
"title": "Rate Limit Per Minute"
}
},
"required": [
"api_key",
"workspace_id",
"label"
],
"title": "aanet_mint_subkeyArguments"
}