Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
128 lines (128 loc) · 3.31 KB
/
Copy pathconfig.example.json
File metadata and controls
128 lines (128 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"proxy": {
"port": 3456,
"apiKey": "tc-change-me-to-a-secret",
"clientKeys": [
{ "name": "laptop", "key": "tc-laptop-own-secret" },
{ "name": "build-box", "key": "tc-build-box-own-secret" },
{ "name": "sandboxed-agent", "key": "tc-sandboxed-agent-own-secret", "scope": "inference", "weeklyUsd": 200 }
],
"usageDimensions": [
{ "name": "project", "header": "x-teamclaude-project" },
{ "name": "ref", "header": "x-teamclaude-ref" }
],
"sessionDetail": false,
"mcp": "off",
"drainTimeoutSeconds": 0,
"cliproxyApi": "off",
"controlPlane": "client",
"usageHistory": false
},
"upstream": "https://api.anthropic.com",
"switchThreshold": 0.98,
"stripOverageHeaders": false,
"synthesizeQuotaHeaders": false,
"poolQuotaHeaders": false,
"distributeSessions": false,
"compactBeforeSwitch": false,
"persistSessionAffinity": false,
"switchOnSessionReset": true,
"adaptiveDistribution": {
"scoring": "burndown"
},
"advisorEligibility": "strict",
"quotaProbeSeconds": 0,
"quotaBarStretch": true,
"autoUpdate": true,
"autoRedeemResets": false,
"autoRedeemMinDaysToReset": 0,
"autoRedeemMaxShare": 1,
"autoRedeemMaxPerDay": 0,
"expiryRouting": {
"enabled": false,
"tolerance": 1.5,
"preempt": true,
"reclaimHours": 0,
"reclaimAcrossOrganizations": false
},
"sessionAdvice": {
"enabled": false,
"maxContextTokens": 150000,
"cooldownMinutes": 60,
"ask": false
},
"accounts": [
{
"name": "primary-max",
"type": "oauth",
"importFrom": "~/.claude/.credentials.json"
},
{
"name": "user@example.com (Acme)",
"type": "oauth",
"accountUuid": "optional-account-uuid",
"orgUuid": "optional-organization-uuid",
"orgName": "Acme",
"priority": 0,
"accessToken": "sk-ant-oat01-your-access-token",
"refreshToken": "sk-ant-ort01-your-refresh-token"
},
{
"name": "waffles@waffle.com",
"type": "oauth",
"accessToken": "sk-ant-oat01-your-access-token",
"refreshToken": "sk-ant-ort01-your-refresh-token",
"routing": "socks5h://alice:s3cret@proxy.example.com:1080"
},
{
"name": "year-token",
"type": "oauth",
"longLived": true,
"accessToken": "sk-ant-oat01-your-year-long-access-token",
"expiresAt": 1826000000000
},
{
"name": "codex@example.com",
"type": "oauth",
"provider": "codex",
"priority": 0
},
{
"name": "api-fallback",
"type": "apikey",
"priority": 10,
"disabled": false,
"cordoned": false,
"apiKey": "sk-ant-api03-your-api-key"
},
{
"name": "api-credit",
"type": "apikey",
"priority": 100,
"disabled": true,
"apiKey": "sk-ant-api03-your-credit-org-api-key",
"credit": {
"amount": 200,
"currency": "USD",
"cycleStart": "2026-11-02",
"adminKey": "sk-ant-admin01-your-admin-key",
"refreshMinutes": 15
}
}
],
"routes": [
{
"name": "fable",
"match": ["*fable*"],
"accounts": ["primary-max"],
"color": "magenta"
}
],
"upstreamProxy": "http://proxy.corp.example:3128",
"egress": {
"pin": "auto",
"checkUrl": "https://api.ipify.org",
"ttlSeconds": 30,
"holdSeconds": 120
}
}