@1claw/openapi-spec 0.49.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +1158 -82
- package/openapi.yaml +708 -4
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "1Claw API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "0.51.0",
|
|
6
6
|
"description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging. Automations (workflow_spec,\nwebhook tokens, event triggers, Assist), cloud runtimes with\ninteractive shell sessions, agent memory, and discovery.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.xyz"
|
|
@@ -190,6 +190,10 @@
|
|
|
190
190
|
{
|
|
191
191
|
"name": "Portfolio",
|
|
192
192
|
"description": "Unified balance aggregator"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "Environment Variables",
|
|
196
|
+
"description": "Per-vault and org-shared environment variable management"
|
|
193
197
|
}
|
|
194
198
|
],
|
|
195
199
|
"paths": {
|
|
@@ -921,7 +925,19 @@
|
|
|
921
925
|
"Authentication"
|
|
922
926
|
],
|
|
923
927
|
"summary": "Complete passkey registration",
|
|
928
|
+
"description": "When the account already has a password, passkey, or TOTP,\n`X-Auth-Confirm` is required (purpose `security.passkey.register`).\n",
|
|
924
929
|
"operationId": "passkeyRegisterComplete",
|
|
930
|
+
"parameters": [
|
|
931
|
+
{
|
|
932
|
+
"name": "X-Auth-Confirm",
|
|
933
|
+
"in": "header",
|
|
934
|
+
"required": false,
|
|
935
|
+
"description": "Re-auth token (`rat_`) or account password",
|
|
936
|
+
"schema": {
|
|
937
|
+
"type": "string"
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
],
|
|
925
941
|
"requestBody": {
|
|
926
942
|
"required": true,
|
|
927
943
|
"content": {
|
|
@@ -1154,6 +1170,7 @@
|
|
|
1154
1170
|
"Authentication"
|
|
1155
1171
|
],
|
|
1156
1172
|
"summary": "Delete a passkey",
|
|
1173
|
+
"description": "Removes a registered passkey. Requires recent re-authentication\n(`X-Auth-Confirm` with a `rat_` token from `POST /v1/auth/reauth`\nusing purpose `security.passkey.delete`). Passkey or TOTP is\nrequired when either is enrolled. Deleting the last passkey is\nrefused while vault passkey unlock is enabled.\n",
|
|
1157
1174
|
"operationId": "deletePasskey",
|
|
1158
1175
|
"parameters": [
|
|
1159
1176
|
{
|
|
@@ -1164,11 +1181,23 @@
|
|
|
1164
1181
|
"type": "string",
|
|
1165
1182
|
"format": "uuid"
|
|
1166
1183
|
}
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "X-Auth-Confirm",
|
|
1187
|
+
"in": "header",
|
|
1188
|
+
"required": true,
|
|
1189
|
+
"description": "Re-auth token (`rat_`) or account password",
|
|
1190
|
+
"schema": {
|
|
1191
|
+
"type": "string"
|
|
1192
|
+
}
|
|
1167
1193
|
}
|
|
1168
1194
|
],
|
|
1169
1195
|
"responses": {
|
|
1170
1196
|
"200": {
|
|
1171
1197
|
"description": "Passkey deleted"
|
|
1198
|
+
},
|
|
1199
|
+
"403": {
|
|
1200
|
+
"$ref": "#/components/responses/Forbidden"
|
|
1172
1201
|
}
|
|
1173
1202
|
}
|
|
1174
1203
|
}
|
|
@@ -1305,6 +1334,17 @@
|
|
|
1305
1334
|
],
|
|
1306
1335
|
"summary": "Delete current user account",
|
|
1307
1336
|
"operationId": "deleteMe",
|
|
1337
|
+
"parameters": [
|
|
1338
|
+
{
|
|
1339
|
+
"name": "X-Auth-Confirm",
|
|
1340
|
+
"in": "header",
|
|
1341
|
+
"required": true,
|
|
1342
|
+
"description": "Re-auth token (`rat_`, purpose `account.delete`) or password",
|
|
1343
|
+
"schema": {
|
|
1344
|
+
"type": "string"
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
],
|
|
1308
1348
|
"requestBody": {
|
|
1309
1349
|
"required": true,
|
|
1310
1350
|
"content": {
|
|
@@ -1334,6 +1374,76 @@
|
|
|
1334
1374
|
}
|
|
1335
1375
|
}
|
|
1336
1376
|
},
|
|
1377
|
+
"/v1/auth/settings": {
|
|
1378
|
+
"get": {
|
|
1379
|
+
"tags": [
|
|
1380
|
+
"Authentication"
|
|
1381
|
+
],
|
|
1382
|
+
"summary": "Get user security settings",
|
|
1383
|
+
"operationId": "getSecuritySettings",
|
|
1384
|
+
"responses": {
|
|
1385
|
+
"200": {
|
|
1386
|
+
"description": "Security settings",
|
|
1387
|
+
"content": {
|
|
1388
|
+
"application/json": {
|
|
1389
|
+
"schema": {
|
|
1390
|
+
"type": "object",
|
|
1391
|
+
"properties": {
|
|
1392
|
+
"require_passkey_for_vaults": {
|
|
1393
|
+
"type": "boolean"
|
|
1394
|
+
},
|
|
1395
|
+
"passkey_count": {
|
|
1396
|
+
"type": "integer"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
"patch": {
|
|
1406
|
+
"tags": [
|
|
1407
|
+
"Authentication"
|
|
1408
|
+
],
|
|
1409
|
+
"summary": "Update user security settings",
|
|
1410
|
+
"description": "Disabling `require_passkey_for_vaults` requires `X-Auth-Confirm`\n(purpose `security.vault_passkey.disable`) with a passkey or TOTP\nwhen either is enrolled.\n",
|
|
1411
|
+
"operationId": "updateSecuritySettings",
|
|
1412
|
+
"parameters": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "X-Auth-Confirm",
|
|
1415
|
+
"in": "header",
|
|
1416
|
+
"required": false,
|
|
1417
|
+
"schema": {
|
|
1418
|
+
"type": "string"
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
],
|
|
1422
|
+
"requestBody": {
|
|
1423
|
+
"required": true,
|
|
1424
|
+
"content": {
|
|
1425
|
+
"application/json": {
|
|
1426
|
+
"schema": {
|
|
1427
|
+
"type": "object",
|
|
1428
|
+
"properties": {
|
|
1429
|
+
"require_passkey_for_vaults": {
|
|
1430
|
+
"type": "boolean"
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
"responses": {
|
|
1438
|
+
"200": {
|
|
1439
|
+
"description": "Updated settings"
|
|
1440
|
+
},
|
|
1441
|
+
"403": {
|
|
1442
|
+
"$ref": "#/components/responses/Forbidden"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1337
1447
|
"/v1/auth/mfa/status": {
|
|
1338
1448
|
"get": {
|
|
1339
1449
|
"tags": [
|
|
@@ -1451,7 +1561,19 @@
|
|
|
1451
1561
|
"Authentication"
|
|
1452
1562
|
],
|
|
1453
1563
|
"summary": "Disable MFA",
|
|
1564
|
+
"description": "Requires a valid TOTP or recovery code in the body, or a passkey\nre-auth token in `X-Auth-Confirm` (purpose `security.mfa.disable`).\nAccount password alone is not accepted while TOTP is enabled.\n",
|
|
1454
1565
|
"operationId": "mfaDisable",
|
|
1566
|
+
"parameters": [
|
|
1567
|
+
{
|
|
1568
|
+
"name": "X-Auth-Confirm",
|
|
1569
|
+
"in": "header",
|
|
1570
|
+
"required": false,
|
|
1571
|
+
"description": "Passkey or TOTP re-auth token (`rat_`)",
|
|
1572
|
+
"schema": {
|
|
1573
|
+
"type": "string"
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1455
1577
|
"requestBody": {
|
|
1456
1578
|
"required": true,
|
|
1457
1579
|
"content": {
|
|
@@ -1699,8 +1821,18 @@
|
|
|
1699
1821
|
"Authentication"
|
|
1700
1822
|
],
|
|
1701
1823
|
"summary": "Export user data (GDPR)",
|
|
1702
|
-
"description": "Returns a full export of the authenticated user's data including\nprofile, vaults, agents, secrets metadata, and policies. Intended\nfor GDPR data-portability requests. Only available to human users\n(not agents).\n",
|
|
1824
|
+
"description": "Returns a full export of the authenticated user's data including\nprofile, vaults, agents, secrets metadata, and policies. Intended\nfor GDPR data-portability requests. Only available to human users\n(not agents). Requires `X-Auth-Confirm` (purpose `account.export`);\npasskey or TOTP when either is enrolled.\n",
|
|
1703
1825
|
"operationId": "exportUserData",
|
|
1826
|
+
"parameters": [
|
|
1827
|
+
{
|
|
1828
|
+
"name": "X-Auth-Confirm",
|
|
1829
|
+
"in": "header",
|
|
1830
|
+
"required": true,
|
|
1831
|
+
"schema": {
|
|
1832
|
+
"type": "string"
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
],
|
|
1704
1836
|
"responses": {
|
|
1705
1837
|
"200": {
|
|
1706
1838
|
"description": "User data export",
|
|
@@ -2889,65 +3021,76 @@
|
|
|
2889
3021
|
}
|
|
2890
3022
|
}
|
|
2891
3023
|
},
|
|
2892
|
-
"/v1/
|
|
2893
|
-
"
|
|
3024
|
+
"/v1/vaults/{vault_id}/env-vars": {
|
|
3025
|
+
"get": {
|
|
2894
3026
|
"tags": [
|
|
2895
|
-
"
|
|
3027
|
+
"Environment Variables"
|
|
2896
3028
|
],
|
|
2897
|
-
"summary": "
|
|
2898
|
-
"
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
3029
|
+
"summary": "List environment variables",
|
|
3030
|
+
"description": "List all environment variables for a vault, optionally filtered by environment.",
|
|
3031
|
+
"operationId": "listEnvVars",
|
|
3032
|
+
"parameters": [
|
|
3033
|
+
{
|
|
3034
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "environment",
|
|
3038
|
+
"in": "query",
|
|
3039
|
+
"schema": {
|
|
3040
|
+
"type": "string"
|
|
3041
|
+
},
|
|
3042
|
+
"description": "Filter by environment (production, preview, development, or custom)"
|
|
2908
3043
|
}
|
|
2909
|
-
|
|
3044
|
+
],
|
|
2910
3045
|
"responses": {
|
|
2911
|
-
"
|
|
2912
|
-
"description": "
|
|
3046
|
+
"200": {
|
|
3047
|
+
"description": "Environment variable list",
|
|
2913
3048
|
"content": {
|
|
2914
3049
|
"application/json": {
|
|
2915
3050
|
"schema": {
|
|
2916
|
-
"
|
|
3051
|
+
"type": "object",
|
|
3052
|
+
"properties": {
|
|
3053
|
+
"env_vars": {
|
|
3054
|
+
"type": "array",
|
|
3055
|
+
"items": {
|
|
3056
|
+
"$ref": "#/components/schemas/EnvVar"
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
2917
3060
|
}
|
|
2918
3061
|
}
|
|
2919
3062
|
}
|
|
2920
|
-
},
|
|
2921
|
-
"429": {
|
|
2922
|
-
"description": "Rate limit exceeded"
|
|
2923
3063
|
}
|
|
2924
3064
|
}
|
|
2925
|
-
}
|
|
2926
|
-
},
|
|
2927
|
-
"/v1/agents": {
|
|
3065
|
+
},
|
|
2928
3066
|
"post": {
|
|
2929
3067
|
"tags": [
|
|
2930
|
-
"
|
|
3068
|
+
"Environment Variables"
|
|
3069
|
+
],
|
|
3070
|
+
"summary": "Create environment variable",
|
|
3071
|
+
"operationId": "createEnvVar",
|
|
3072
|
+
"parameters": [
|
|
3073
|
+
{
|
|
3074
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3075
|
+
}
|
|
2931
3076
|
],
|
|
2932
|
-
"summary": "Register a new agent",
|
|
2933
|
-
"operationId": "createAgent",
|
|
2934
3077
|
"requestBody": {
|
|
2935
3078
|
"required": true,
|
|
2936
3079
|
"content": {
|
|
2937
3080
|
"application/json": {
|
|
2938
3081
|
"schema": {
|
|
2939
|
-
"$ref": "#/components/schemas/
|
|
3082
|
+
"$ref": "#/components/schemas/CreateEnvVarRequest"
|
|
2940
3083
|
}
|
|
2941
3084
|
}
|
|
2942
3085
|
}
|
|
2943
3086
|
},
|
|
2944
3087
|
"responses": {
|
|
2945
3088
|
"201": {
|
|
2946
|
-
"description": "
|
|
3089
|
+
"description": "Environment variable created",
|
|
2947
3090
|
"content": {
|
|
2948
3091
|
"application/json": {
|
|
2949
3092
|
"schema": {
|
|
2950
|
-
"$ref": "#/components/schemas/
|
|
3093
|
+
"$ref": "#/components/schemas/EnvVar"
|
|
2951
3094
|
}
|
|
2952
3095
|
}
|
|
2953
3096
|
}
|
|
@@ -2956,70 +3099,84 @@
|
|
|
2956
3099
|
"$ref": "#/components/responses/BadRequest"
|
|
2957
3100
|
}
|
|
2958
3101
|
}
|
|
2959
|
-
}
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
"/v1/vaults/{vault_id}/env-vars/resolve": {
|
|
2960
3105
|
"get": {
|
|
2961
3106
|
"tags": [
|
|
2962
|
-
"
|
|
3107
|
+
"Environment Variables"
|
|
2963
3108
|
],
|
|
2964
|
-
"summary": "
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
"
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
3109
|
+
"summary": "Resolve environment variables",
|
|
3110
|
+
"description": "Resolve the final KEY=VALUE set for an environment with full precedence (shared < vault < branch override).",
|
|
3111
|
+
"operationId": "resolveEnvVars",
|
|
3112
|
+
"parameters": [
|
|
3113
|
+
{
|
|
3114
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "environment",
|
|
3118
|
+
"in": "query",
|
|
3119
|
+
"required": true,
|
|
3120
|
+
"schema": {
|
|
3121
|
+
"type": "string"
|
|
3122
|
+
}
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"name": "git_branch",
|
|
3126
|
+
"in": "query",
|
|
3127
|
+
"schema": {
|
|
3128
|
+
"type": "string"
|
|
2975
3129
|
}
|
|
2976
3130
|
}
|
|
2977
|
-
}
|
|
2978
|
-
}
|
|
2979
|
-
},
|
|
2980
|
-
"/v1/agents/me": {
|
|
2981
|
-
"get": {
|
|
2982
|
-
"tags": [
|
|
2983
|
-
"Agents"
|
|
2984
3131
|
],
|
|
2985
|
-
"summary": "Get the calling agent's own profile",
|
|
2986
|
-
"operationId": "getAgentSelf",
|
|
2987
3132
|
"responses": {
|
|
2988
3133
|
"200": {
|
|
2989
|
-
"description": "
|
|
3134
|
+
"description": "Resolved environment variables",
|
|
2990
3135
|
"content": {
|
|
2991
3136
|
"application/json": {
|
|
2992
3137
|
"schema": {
|
|
2993
|
-
"$ref": "#/components/schemas/
|
|
3138
|
+
"$ref": "#/components/schemas/ResolveEnvVarsResponse"
|
|
2994
3139
|
}
|
|
2995
3140
|
}
|
|
2996
3141
|
}
|
|
2997
|
-
},
|
|
2998
|
-
"403": {
|
|
2999
|
-
"$ref": "#/components/responses/Forbidden"
|
|
3000
3142
|
}
|
|
3001
3143
|
}
|
|
3002
3144
|
}
|
|
3003
3145
|
},
|
|
3004
|
-
"/v1/
|
|
3146
|
+
"/v1/vaults/{vault_id}/env-vars/{key}": {
|
|
3005
3147
|
"get": {
|
|
3006
3148
|
"tags": [
|
|
3007
|
-
"
|
|
3149
|
+
"Environment Variables"
|
|
3008
3150
|
],
|
|
3009
|
-
"summary": "Get
|
|
3010
|
-
"operationId": "
|
|
3151
|
+
"summary": "Get environment variable",
|
|
3152
|
+
"operationId": "getEnvVar",
|
|
3011
3153
|
"parameters": [
|
|
3012
3154
|
{
|
|
3013
|
-
"$ref": "#/components/parameters/
|
|
3155
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "key",
|
|
3159
|
+
"in": "path",
|
|
3160
|
+
"required": true,
|
|
3161
|
+
"schema": {
|
|
3162
|
+
"type": "string"
|
|
3163
|
+
}
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"name": "environment",
|
|
3167
|
+
"in": "query",
|
|
3168
|
+
"schema": {
|
|
3169
|
+
"type": "string"
|
|
3170
|
+
}
|
|
3014
3171
|
}
|
|
3015
3172
|
],
|
|
3016
3173
|
"responses": {
|
|
3017
3174
|
"200": {
|
|
3018
|
-
"description": "
|
|
3175
|
+
"description": "Environment variable",
|
|
3019
3176
|
"content": {
|
|
3020
3177
|
"application/json": {
|
|
3021
3178
|
"schema": {
|
|
3022
|
-
"$ref": "#/components/schemas/
|
|
3179
|
+
"$ref": "#/components/schemas/EnvVar"
|
|
3023
3180
|
}
|
|
3024
3181
|
}
|
|
3025
3182
|
}
|
|
@@ -3031,32 +3188,354 @@
|
|
|
3031
3188
|
},
|
|
3032
3189
|
"patch": {
|
|
3033
3190
|
"tags": [
|
|
3034
|
-
"
|
|
3191
|
+
"Environment Variables"
|
|
3035
3192
|
],
|
|
3036
|
-
"summary": "Update
|
|
3037
|
-
"operationId": "
|
|
3193
|
+
"summary": "Update environment variable",
|
|
3194
|
+
"operationId": "updateEnvVar",
|
|
3038
3195
|
"parameters": [
|
|
3039
3196
|
{
|
|
3040
|
-
"$ref": "#/components/parameters/
|
|
3197
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"name": "key",
|
|
3201
|
+
"in": "path",
|
|
3202
|
+
"required": true,
|
|
3203
|
+
"schema": {
|
|
3204
|
+
"type": "string"
|
|
3205
|
+
}
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"name": "environment",
|
|
3209
|
+
"in": "query",
|
|
3210
|
+
"schema": {
|
|
3211
|
+
"type": "string"
|
|
3212
|
+
}
|
|
3041
3213
|
}
|
|
3042
3214
|
],
|
|
3043
3215
|
"requestBody": {
|
|
3044
|
-
"required": true,
|
|
3045
3216
|
"content": {
|
|
3046
3217
|
"application/json": {
|
|
3047
3218
|
"schema": {
|
|
3048
|
-
"$ref": "#/components/schemas/
|
|
3219
|
+
"$ref": "#/components/schemas/UpdateEnvVarRequest"
|
|
3049
3220
|
}
|
|
3050
3221
|
}
|
|
3051
3222
|
}
|
|
3052
3223
|
},
|
|
3053
3224
|
"responses": {
|
|
3054
3225
|
"200": {
|
|
3055
|
-
"description": "
|
|
3226
|
+
"description": "Environment variable updated",
|
|
3056
3227
|
"content": {
|
|
3057
3228
|
"application/json": {
|
|
3058
3229
|
"schema": {
|
|
3059
|
-
"$ref": "#/components/schemas/
|
|
3230
|
+
"$ref": "#/components/schemas/EnvVar"
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
},
|
|
3235
|
+
"404": {
|
|
3236
|
+
"$ref": "#/components/responses/NotFound"
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
"delete": {
|
|
3241
|
+
"tags": [
|
|
3242
|
+
"Environment Variables"
|
|
3243
|
+
],
|
|
3244
|
+
"summary": "Delete environment variable",
|
|
3245
|
+
"operationId": "deleteEnvVar",
|
|
3246
|
+
"parameters": [
|
|
3247
|
+
{
|
|
3248
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"name": "key",
|
|
3252
|
+
"in": "path",
|
|
3253
|
+
"required": true,
|
|
3254
|
+
"schema": {
|
|
3255
|
+
"type": "string"
|
|
3256
|
+
}
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"name": "environment",
|
|
3260
|
+
"in": "query",
|
|
3261
|
+
"schema": {
|
|
3262
|
+
"type": "string"
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
],
|
|
3266
|
+
"responses": {
|
|
3267
|
+
"204": {
|
|
3268
|
+
"description": "Deleted"
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
"/v1/vaults/{vault_id}/environments": {
|
|
3274
|
+
"get": {
|
|
3275
|
+
"tags": [
|
|
3276
|
+
"Environment Variables"
|
|
3277
|
+
],
|
|
3278
|
+
"summary": "List vault environments",
|
|
3279
|
+
"operationId": "listVaultEnvironments",
|
|
3280
|
+
"parameters": [
|
|
3281
|
+
{
|
|
3282
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3283
|
+
}
|
|
3284
|
+
],
|
|
3285
|
+
"responses": {
|
|
3286
|
+
"200": {
|
|
3287
|
+
"description": "Vault environment list",
|
|
3288
|
+
"content": {
|
|
3289
|
+
"application/json": {
|
|
3290
|
+
"schema": {
|
|
3291
|
+
"type": "object",
|
|
3292
|
+
"properties": {
|
|
3293
|
+
"environments": {
|
|
3294
|
+
"type": "array",
|
|
3295
|
+
"items": {
|
|
3296
|
+
"$ref": "#/components/schemas/VaultEnvironment"
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
"post": {
|
|
3307
|
+
"tags": [
|
|
3308
|
+
"Environment Variables"
|
|
3309
|
+
],
|
|
3310
|
+
"summary": "Create custom environment",
|
|
3311
|
+
"operationId": "createVaultEnvironment",
|
|
3312
|
+
"parameters": [
|
|
3313
|
+
{
|
|
3314
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3315
|
+
}
|
|
3316
|
+
],
|
|
3317
|
+
"requestBody": {
|
|
3318
|
+
"required": true,
|
|
3319
|
+
"content": {
|
|
3320
|
+
"application/json": {
|
|
3321
|
+
"schema": {
|
|
3322
|
+
"$ref": "#/components/schemas/CreateEnvironmentRequest"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
},
|
|
3327
|
+
"responses": {
|
|
3328
|
+
"201": {
|
|
3329
|
+
"description": "Environment created",
|
|
3330
|
+
"content": {
|
|
3331
|
+
"application/json": {
|
|
3332
|
+
"schema": {
|
|
3333
|
+
"$ref": "#/components/schemas/VaultEnvironment"
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
},
|
|
3338
|
+
"400": {
|
|
3339
|
+
"$ref": "#/components/responses/BadRequest"
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"/v1/vaults/{vault_id}/environments/{slug}": {
|
|
3345
|
+
"delete": {
|
|
3346
|
+
"tags": [
|
|
3347
|
+
"Environment Variables"
|
|
3348
|
+
],
|
|
3349
|
+
"summary": "Delete custom environment",
|
|
3350
|
+
"operationId": "deleteVaultEnvironment",
|
|
3351
|
+
"parameters": [
|
|
3352
|
+
{
|
|
3353
|
+
"$ref": "#/components/parameters/VaultId"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"name": "slug",
|
|
3357
|
+
"in": "path",
|
|
3358
|
+
"required": true,
|
|
3359
|
+
"schema": {
|
|
3360
|
+
"type": "string"
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
],
|
|
3364
|
+
"responses": {
|
|
3365
|
+
"204": {
|
|
3366
|
+
"description": "Deleted"
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
},
|
|
3371
|
+
"/v1/agents/enroll": {
|
|
3372
|
+
"post": {
|
|
3373
|
+
"tags": [
|
|
3374
|
+
"Agents"
|
|
3375
|
+
],
|
|
3376
|
+
"summary": "Self-enroll an agent",
|
|
3377
|
+
"operationId": "enrollAgent",
|
|
3378
|
+
"description": "Public endpoint (no auth required).\n\n**With `human_email`:** Creates a pending enrollment for that account's org,\nemails Allow/Deny links, and returns `approval_url` in the JSON body (use if email\nis delayed). The API key is NOT returned until the human approves.\n\n**Name only (omit `human_email`):** Creates a link-only pending enrollment.\nThe response includes `approval_url`; the human opens it while signed in to\napprove the agent into their org.\n\nAnti-spam: IP rate limiting, per-email cooldown, caps on pending rows.\n",
|
|
3379
|
+
"requestBody": {
|
|
3380
|
+
"required": true,
|
|
3381
|
+
"content": {
|
|
3382
|
+
"application/json": {
|
|
3383
|
+
"schema": {
|
|
3384
|
+
"$ref": "#/components/schemas/EnrollAgentRequest"
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
}
|
|
3388
|
+
},
|
|
3389
|
+
"responses": {
|
|
3390
|
+
"201": {
|
|
3391
|
+
"description": "Enrollment processed (uniform response to prevent email enumeration)",
|
|
3392
|
+
"content": {
|
|
3393
|
+
"application/json": {
|
|
3394
|
+
"schema": {
|
|
3395
|
+
"$ref": "#/components/schemas/EnrollAgentResponse"
|
|
3396
|
+
}
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
"429": {
|
|
3401
|
+
"description": "Rate limit exceeded"
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
},
|
|
3406
|
+
"/v1/agents": {
|
|
3407
|
+
"post": {
|
|
3408
|
+
"tags": [
|
|
3409
|
+
"Agents"
|
|
3410
|
+
],
|
|
3411
|
+
"summary": "Register a new agent",
|
|
3412
|
+
"operationId": "createAgent",
|
|
3413
|
+
"requestBody": {
|
|
3414
|
+
"required": true,
|
|
3415
|
+
"content": {
|
|
3416
|
+
"application/json": {
|
|
3417
|
+
"schema": {
|
|
3418
|
+
"$ref": "#/components/schemas/CreateAgentRequest"
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
"responses": {
|
|
3424
|
+
"201": {
|
|
3425
|
+
"description": "Agent created with one-time API key",
|
|
3426
|
+
"content": {
|
|
3427
|
+
"application/json": {
|
|
3428
|
+
"schema": {
|
|
3429
|
+
"$ref": "#/components/schemas/AgentCreatedResponse"
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"400": {
|
|
3435
|
+
"$ref": "#/components/responses/BadRequest"
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
},
|
|
3439
|
+
"get": {
|
|
3440
|
+
"tags": [
|
|
3441
|
+
"Agents"
|
|
3442
|
+
],
|
|
3443
|
+
"summary": "List agents",
|
|
3444
|
+
"operationId": "listAgents",
|
|
3445
|
+
"responses": {
|
|
3446
|
+
"200": {
|
|
3447
|
+
"description": "Agent list",
|
|
3448
|
+
"content": {
|
|
3449
|
+
"application/json": {
|
|
3450
|
+
"schema": {
|
|
3451
|
+
"$ref": "#/components/schemas/AgentListResponse"
|
|
3452
|
+
}
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
"/v1/agents/me": {
|
|
3460
|
+
"get": {
|
|
3461
|
+
"tags": [
|
|
3462
|
+
"Agents"
|
|
3463
|
+
],
|
|
3464
|
+
"summary": "Get the calling agent's own profile",
|
|
3465
|
+
"operationId": "getAgentSelf",
|
|
3466
|
+
"responses": {
|
|
3467
|
+
"200": {
|
|
3468
|
+
"description": "Agent self profile",
|
|
3469
|
+
"content": {
|
|
3470
|
+
"application/json": {
|
|
3471
|
+
"schema": {
|
|
3472
|
+
"$ref": "#/components/schemas/AgentSelfResponse"
|
|
3473
|
+
}
|
|
3474
|
+
}
|
|
3475
|
+
}
|
|
3476
|
+
},
|
|
3477
|
+
"403": {
|
|
3478
|
+
"$ref": "#/components/responses/Forbidden"
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
"/v1/agents/{agent_id}": {
|
|
3484
|
+
"get": {
|
|
3485
|
+
"tags": [
|
|
3486
|
+
"Agents"
|
|
3487
|
+
],
|
|
3488
|
+
"summary": "Get agent details",
|
|
3489
|
+
"operationId": "getAgent",
|
|
3490
|
+
"parameters": [
|
|
3491
|
+
{
|
|
3492
|
+
"$ref": "#/components/parameters/AgentId"
|
|
3493
|
+
}
|
|
3494
|
+
],
|
|
3495
|
+
"responses": {
|
|
3496
|
+
"200": {
|
|
3497
|
+
"description": "Agent details",
|
|
3498
|
+
"content": {
|
|
3499
|
+
"application/json": {
|
|
3500
|
+
"schema": {
|
|
3501
|
+
"$ref": "#/components/schemas/AgentResponse"
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
"404": {
|
|
3507
|
+
"$ref": "#/components/responses/NotFound"
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
},
|
|
3511
|
+
"patch": {
|
|
3512
|
+
"tags": [
|
|
3513
|
+
"Agents"
|
|
3514
|
+
],
|
|
3515
|
+
"summary": "Update an agent",
|
|
3516
|
+
"operationId": "updateAgent",
|
|
3517
|
+
"parameters": [
|
|
3518
|
+
{
|
|
3519
|
+
"$ref": "#/components/parameters/AgentId"
|
|
3520
|
+
}
|
|
3521
|
+
],
|
|
3522
|
+
"requestBody": {
|
|
3523
|
+
"required": true,
|
|
3524
|
+
"content": {
|
|
3525
|
+
"application/json": {
|
|
3526
|
+
"schema": {
|
|
3527
|
+
"$ref": "#/components/schemas/UpdateAgentRequest"
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"responses": {
|
|
3533
|
+
"200": {
|
|
3534
|
+
"description": "Agent updated",
|
|
3535
|
+
"content": {
|
|
3536
|
+
"application/json": {
|
|
3537
|
+
"schema": {
|
|
3538
|
+
"$ref": "#/components/schemas/AgentResponse"
|
|
3060
3539
|
}
|
|
3061
3540
|
}
|
|
3062
3541
|
}
|
|
@@ -5228,6 +5707,213 @@
|
|
|
5228
5707
|
}
|
|
5229
5708
|
}
|
|
5230
5709
|
},
|
|
5710
|
+
"/v1/org/env-vars": {
|
|
5711
|
+
"get": {
|
|
5712
|
+
"tags": [
|
|
5713
|
+
"Organization"
|
|
5714
|
+
],
|
|
5715
|
+
"summary": "List org shared environment variables",
|
|
5716
|
+
"operationId": "listOrgEnvVars",
|
|
5717
|
+
"responses": {
|
|
5718
|
+
"200": {
|
|
5719
|
+
"description": "Org shared environment variable list",
|
|
5720
|
+
"content": {
|
|
5721
|
+
"application/json": {
|
|
5722
|
+
"schema": {
|
|
5723
|
+
"type": "object",
|
|
5724
|
+
"properties": {
|
|
5725
|
+
"env_vars": {
|
|
5726
|
+
"type": "array",
|
|
5727
|
+
"items": {
|
|
5728
|
+
"$ref": "#/components/schemas/OrgEnvVar"
|
|
5729
|
+
}
|
|
5730
|
+
}
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
}
|
|
5734
|
+
}
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
},
|
|
5738
|
+
"post": {
|
|
5739
|
+
"tags": [
|
|
5740
|
+
"Organization"
|
|
5741
|
+
],
|
|
5742
|
+
"summary": "Create org shared environment variable",
|
|
5743
|
+
"operationId": "createOrgEnvVar",
|
|
5744
|
+
"requestBody": {
|
|
5745
|
+
"required": true,
|
|
5746
|
+
"content": {
|
|
5747
|
+
"application/json": {
|
|
5748
|
+
"schema": {
|
|
5749
|
+
"$ref": "#/components/schemas/CreateOrgEnvVarRequest"
|
|
5750
|
+
}
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
},
|
|
5754
|
+
"responses": {
|
|
5755
|
+
"201": {
|
|
5756
|
+
"description": "Org shared env var created",
|
|
5757
|
+
"content": {
|
|
5758
|
+
"application/json": {
|
|
5759
|
+
"schema": {
|
|
5760
|
+
"$ref": "#/components/schemas/OrgEnvVar"
|
|
5761
|
+
}
|
|
5762
|
+
}
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5765
|
+
"400": {
|
|
5766
|
+
"$ref": "#/components/responses/BadRequest"
|
|
5767
|
+
}
|
|
5768
|
+
}
|
|
5769
|
+
}
|
|
5770
|
+
},
|
|
5771
|
+
"/v1/org/env-vars/{key}": {
|
|
5772
|
+
"patch": {
|
|
5773
|
+
"tags": [
|
|
5774
|
+
"Organization"
|
|
5775
|
+
],
|
|
5776
|
+
"summary": "Update org shared environment variable",
|
|
5777
|
+
"operationId": "updateOrgEnvVar",
|
|
5778
|
+
"parameters": [
|
|
5779
|
+
{
|
|
5780
|
+
"name": "key",
|
|
5781
|
+
"in": "path",
|
|
5782
|
+
"required": true,
|
|
5783
|
+
"schema": {
|
|
5784
|
+
"type": "string"
|
|
5785
|
+
}
|
|
5786
|
+
}
|
|
5787
|
+
],
|
|
5788
|
+
"requestBody": {
|
|
5789
|
+
"content": {
|
|
5790
|
+
"application/json": {
|
|
5791
|
+
"schema": {
|
|
5792
|
+
"$ref": "#/components/schemas/UpdateOrgEnvVarRequest"
|
|
5793
|
+
}
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
},
|
|
5797
|
+
"responses": {
|
|
5798
|
+
"200": {
|
|
5799
|
+
"description": "Org shared env var updated",
|
|
5800
|
+
"content": {
|
|
5801
|
+
"application/json": {
|
|
5802
|
+
"schema": {
|
|
5803
|
+
"$ref": "#/components/schemas/OrgEnvVar"
|
|
5804
|
+
}
|
|
5805
|
+
}
|
|
5806
|
+
}
|
|
5807
|
+
},
|
|
5808
|
+
"404": {
|
|
5809
|
+
"$ref": "#/components/responses/NotFound"
|
|
5810
|
+
}
|
|
5811
|
+
}
|
|
5812
|
+
}
|
|
5813
|
+
},
|
|
5814
|
+
"/v1/org/env-vars/{id}": {
|
|
5815
|
+
"delete": {
|
|
5816
|
+
"tags": [
|
|
5817
|
+
"Organization"
|
|
5818
|
+
],
|
|
5819
|
+
"summary": "Delete org shared environment variable",
|
|
5820
|
+
"operationId": "deleteOrgEnvVar",
|
|
5821
|
+
"parameters": [
|
|
5822
|
+
{
|
|
5823
|
+
"name": "id",
|
|
5824
|
+
"in": "path",
|
|
5825
|
+
"required": true,
|
|
5826
|
+
"schema": {
|
|
5827
|
+
"type": "string",
|
|
5828
|
+
"format": "uuid"
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5831
|
+
],
|
|
5832
|
+
"responses": {
|
|
5833
|
+
"204": {
|
|
5834
|
+
"description": "Deleted"
|
|
5835
|
+
}
|
|
5836
|
+
}
|
|
5837
|
+
}
|
|
5838
|
+
},
|
|
5839
|
+
"/v1/org/env-vars/{id}/link": {
|
|
5840
|
+
"post": {
|
|
5841
|
+
"tags": [
|
|
5842
|
+
"Organization"
|
|
5843
|
+
],
|
|
5844
|
+
"summary": "Link org shared env var to a vault",
|
|
5845
|
+
"operationId": "linkOrgEnvVar",
|
|
5846
|
+
"parameters": [
|
|
5847
|
+
{
|
|
5848
|
+
"name": "id",
|
|
5849
|
+
"in": "path",
|
|
5850
|
+
"required": true,
|
|
5851
|
+
"schema": {
|
|
5852
|
+
"type": "string",
|
|
5853
|
+
"format": "uuid"
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
],
|
|
5857
|
+
"requestBody": {
|
|
5858
|
+
"required": true,
|
|
5859
|
+
"content": {
|
|
5860
|
+
"application/json": {
|
|
5861
|
+
"schema": {
|
|
5862
|
+
"type": "object",
|
|
5863
|
+
"required": [
|
|
5864
|
+
"vault_id"
|
|
5865
|
+
],
|
|
5866
|
+
"properties": {
|
|
5867
|
+
"vault_id": {
|
|
5868
|
+
"type": "string",
|
|
5869
|
+
"format": "uuid"
|
|
5870
|
+
}
|
|
5871
|
+
}
|
|
5872
|
+
}
|
|
5873
|
+
}
|
|
5874
|
+
}
|
|
5875
|
+
},
|
|
5876
|
+
"responses": {
|
|
5877
|
+
"201": {
|
|
5878
|
+
"description": "Linked"
|
|
5879
|
+
}
|
|
5880
|
+
}
|
|
5881
|
+
}
|
|
5882
|
+
},
|
|
5883
|
+
"/v1/org/env-vars/{id}/links/{vault_id}": {
|
|
5884
|
+
"delete": {
|
|
5885
|
+
"tags": [
|
|
5886
|
+
"Organization"
|
|
5887
|
+
],
|
|
5888
|
+
"summary": "Unlink org shared env var from a vault",
|
|
5889
|
+
"operationId": "unlinkOrgEnvVar",
|
|
5890
|
+
"parameters": [
|
|
5891
|
+
{
|
|
5892
|
+
"name": "id",
|
|
5893
|
+
"in": "path",
|
|
5894
|
+
"required": true,
|
|
5895
|
+
"schema": {
|
|
5896
|
+
"type": "string",
|
|
5897
|
+
"format": "uuid"
|
|
5898
|
+
}
|
|
5899
|
+
},
|
|
5900
|
+
{
|
|
5901
|
+
"name": "vault_id",
|
|
5902
|
+
"in": "path",
|
|
5903
|
+
"required": true,
|
|
5904
|
+
"schema": {
|
|
5905
|
+
"type": "string",
|
|
5906
|
+
"format": "uuid"
|
|
5907
|
+
}
|
|
5908
|
+
}
|
|
5909
|
+
],
|
|
5910
|
+
"responses": {
|
|
5911
|
+
"204": {
|
|
5912
|
+
"description": "Unlinked"
|
|
5913
|
+
}
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
},
|
|
5231
5917
|
"/v1/billing/usage": {
|
|
5232
5918
|
"get": {
|
|
5233
5919
|
"tags": [
|
|
@@ -16066,10 +16752,13 @@
|
|
|
16066
16752
|
"type": "object",
|
|
16067
16753
|
"properties": {
|
|
16068
16754
|
"code": {
|
|
16069
|
-
"type": "string"
|
|
16755
|
+
"type": "string",
|
|
16756
|
+
"description": "TOTP or recovery code"
|
|
16070
16757
|
},
|
|
16071
16758
|
"password": {
|
|
16072
|
-
"type": "string"
|
|
16759
|
+
"type": "string",
|
|
16760
|
+
"description": "Deprecated. Password is no longer sufficient to disable MFA.",
|
|
16761
|
+
"deprecated": true
|
|
16073
16762
|
}
|
|
16074
16763
|
}
|
|
16075
16764
|
},
|
|
@@ -24097,6 +24786,10 @@
|
|
|
24097
24786
|
"image": {
|
|
24098
24787
|
"type": "string"
|
|
24099
24788
|
},
|
|
24789
|
+
"environment": {
|
|
24790
|
+
"type": "string",
|
|
24791
|
+
"description": "Vault environment to resolve env vars from (e.g. production, preview, development)"
|
|
24792
|
+
},
|
|
24100
24793
|
"env_public": {
|
|
24101
24794
|
"type": "object",
|
|
24102
24795
|
"additionalProperties": {
|
|
@@ -24152,6 +24845,10 @@
|
|
|
24152
24845
|
"image": {
|
|
24153
24846
|
"type": "string"
|
|
24154
24847
|
},
|
|
24848
|
+
"environment": {
|
|
24849
|
+
"type": "string",
|
|
24850
|
+
"description": "Vault environment to resolve env vars from"
|
|
24851
|
+
},
|
|
24155
24852
|
"env_public": {
|
|
24156
24853
|
"type": "object",
|
|
24157
24854
|
"additionalProperties": {
|
|
@@ -24238,6 +24935,11 @@
|
|
|
24238
24935
|
"type": "string",
|
|
24239
24936
|
"nullable": true
|
|
24240
24937
|
},
|
|
24938
|
+
"environment": {
|
|
24939
|
+
"type": "string",
|
|
24940
|
+
"nullable": true,
|
|
24941
|
+
"description": "Vault environment for env var resolution"
|
|
24942
|
+
},
|
|
24241
24943
|
"env_public": {
|
|
24242
24944
|
"type": "object",
|
|
24243
24945
|
"additionalProperties": {
|
|
@@ -25967,7 +26669,43 @@
|
|
|
25967
26669
|
},
|
|
25968
26670
|
"value_above": {
|
|
25969
26671
|
"type": "string",
|
|
25970
|
-
"description": "Native value threshold in
|
|
26672
|
+
"description": "Native value threshold in wei (arbitrary-precision string)"
|
|
26673
|
+
},
|
|
26674
|
+
"eip712_primary_type_in": {
|
|
26675
|
+
"type": "array",
|
|
26676
|
+
"items": {
|
|
26677
|
+
"type": "string"
|
|
26678
|
+
},
|
|
26679
|
+
"description": "Match EIP-712 typed_data primaryType (case-sensitive)"
|
|
26680
|
+
},
|
|
26681
|
+
"eip712_verifying_contract_in": {
|
|
26682
|
+
"type": "array",
|
|
26683
|
+
"items": {
|
|
26684
|
+
"type": "string"
|
|
26685
|
+
},
|
|
26686
|
+
"description": "Match EIP-712 domain.verifyingContract (case-insensitive)"
|
|
26687
|
+
},
|
|
26688
|
+
"eip712_domain_name_in": {
|
|
26689
|
+
"type": "array",
|
|
26690
|
+
"items": {
|
|
26691
|
+
"type": "string"
|
|
26692
|
+
},
|
|
26693
|
+
"description": "Match EIP-712 domain.name"
|
|
26694
|
+
},
|
|
26695
|
+
"eip712_domain_chain_id_in": {
|
|
26696
|
+
"type": "array",
|
|
26697
|
+
"items": {
|
|
26698
|
+
"type": "integer",
|
|
26699
|
+
"format": "int64"
|
|
26700
|
+
},
|
|
26701
|
+
"description": "Match EIP-712 domain.chainId"
|
|
26702
|
+
},
|
|
26703
|
+
"eip7702_authorized_addresses_in": {
|
|
26704
|
+
"type": "array",
|
|
26705
|
+
"items": {
|
|
26706
|
+
"type": "string"
|
|
26707
|
+
},
|
|
26708
|
+
"description": "Match EIP-7702 authorization_list delegate addresses (case-insensitive)"
|
|
25971
26709
|
},
|
|
25972
26710
|
"to_address_in": {
|
|
25973
26711
|
"type": "array",
|
|
@@ -26130,8 +26868,7 @@
|
|
|
26130
26868
|
{
|
|
26131
26869
|
"type": "object",
|
|
26132
26870
|
"required": [
|
|
26133
|
-
"type"
|
|
26134
|
-
"threshold_gwei"
|
|
26871
|
+
"type"
|
|
26135
26872
|
],
|
|
26136
26873
|
"properties": {
|
|
26137
26874
|
"type": {
|
|
@@ -26140,9 +26877,15 @@
|
|
|
26140
26877
|
"value_above"
|
|
26141
26878
|
]
|
|
26142
26879
|
},
|
|
26880
|
+
"threshold_wei": {
|
|
26881
|
+
"type": "string",
|
|
26882
|
+
"description": "Value threshold in wei (arbitrary-precision string). Preferred over threshold_gwei."
|
|
26883
|
+
},
|
|
26143
26884
|
"threshold_gwei": {
|
|
26144
26885
|
"type": "integer",
|
|
26145
|
-
"format": "int64"
|
|
26886
|
+
"format": "int64",
|
|
26887
|
+
"deprecated": true,
|
|
26888
|
+
"description": "Deprecated — use threshold_wei for arbitrary precision"
|
|
26146
26889
|
}
|
|
26147
26890
|
}
|
|
26148
26891
|
},
|
|
@@ -26251,14 +26994,36 @@
|
|
|
26251
26994
|
{
|
|
26252
26995
|
"type": "object",
|
|
26253
26996
|
"required": [
|
|
26254
|
-
"type"
|
|
26997
|
+
"type"
|
|
26998
|
+
],
|
|
26999
|
+
"properties": {
|
|
27000
|
+
"type": {
|
|
27001
|
+
"type": "string",
|
|
27002
|
+
"enum": [
|
|
27003
|
+
"always"
|
|
27004
|
+
]
|
|
27005
|
+
}
|
|
27006
|
+
}
|
|
27007
|
+
},
|
|
27008
|
+
{
|
|
27009
|
+
"type": "object",
|
|
27010
|
+
"required": [
|
|
27011
|
+
"type",
|
|
27012
|
+
"actions"
|
|
26255
27013
|
],
|
|
26256
27014
|
"properties": {
|
|
26257
27015
|
"type": {
|
|
26258
27016
|
"type": "string",
|
|
26259
27017
|
"enum": [
|
|
26260
|
-
"
|
|
27018
|
+
"action_in"
|
|
26261
27019
|
]
|
|
27020
|
+
},
|
|
27021
|
+
"actions": {
|
|
27022
|
+
"type": "array",
|
|
27023
|
+
"items": {
|
|
27024
|
+
"type": "string"
|
|
27025
|
+
},
|
|
27026
|
+
"description": "Control-plane actions to match, e.g. policy.create, policy.update,\npolicy.delete, signing_key.export, member.role_change, member.remove\n"
|
|
26262
27027
|
}
|
|
26263
27028
|
}
|
|
26264
27029
|
}
|
|
@@ -26284,6 +27049,20 @@
|
|
|
26284
27049
|
"additionalProperties": {
|
|
26285
27050
|
"type": "integer"
|
|
26286
27051
|
}
|
|
27052
|
+
},
|
|
27053
|
+
"require_credential_types": {
|
|
27054
|
+
"type": "array",
|
|
27055
|
+
"items": {
|
|
27056
|
+
"type": "string",
|
|
27057
|
+
"enum": [
|
|
27058
|
+
"password",
|
|
27059
|
+
"passkey",
|
|
27060
|
+
"totp",
|
|
27061
|
+
"biometric",
|
|
27062
|
+
"api_key"
|
|
27063
|
+
]
|
|
27064
|
+
},
|
|
27065
|
+
"description": "At least one approval must use one of these credential types"
|
|
26287
27066
|
}
|
|
26288
27067
|
}
|
|
26289
27068
|
},
|
|
@@ -26351,6 +27130,17 @@
|
|
|
26351
27130
|
},
|
|
26352
27131
|
"reason": {
|
|
26353
27132
|
"type": "string"
|
|
27133
|
+
},
|
|
27134
|
+
"credential_type": {
|
|
27135
|
+
"type": "string",
|
|
27136
|
+
"enum": [
|
|
27137
|
+
"password",
|
|
27138
|
+
"passkey",
|
|
27139
|
+
"totp",
|
|
27140
|
+
"biometric",
|
|
27141
|
+
"api_key"
|
|
27142
|
+
],
|
|
27143
|
+
"description": "Authentication method used for this approval vote"
|
|
26354
27144
|
}
|
|
26355
27145
|
}
|
|
26356
27146
|
},
|
|
@@ -26718,6 +27508,292 @@
|
|
|
26718
27508
|
"format": "date-time"
|
|
26719
27509
|
}
|
|
26720
27510
|
}
|
|
27511
|
+
},
|
|
27512
|
+
"EnvVar": {
|
|
27513
|
+
"type": "object",
|
|
27514
|
+
"properties": {
|
|
27515
|
+
"id": {
|
|
27516
|
+
"type": "string",
|
|
27517
|
+
"format": "uuid"
|
|
27518
|
+
},
|
|
27519
|
+
"key": {
|
|
27520
|
+
"type": "string"
|
|
27521
|
+
},
|
|
27522
|
+
"environments": {
|
|
27523
|
+
"type": "array",
|
|
27524
|
+
"items": {
|
|
27525
|
+
"type": "string"
|
|
27526
|
+
}
|
|
27527
|
+
},
|
|
27528
|
+
"git_branch": {
|
|
27529
|
+
"type": "string",
|
|
27530
|
+
"nullable": true
|
|
27531
|
+
},
|
|
27532
|
+
"sensitive": {
|
|
27533
|
+
"type": "boolean"
|
|
27534
|
+
},
|
|
27535
|
+
"comment": {
|
|
27536
|
+
"type": "string",
|
|
27537
|
+
"nullable": true
|
|
27538
|
+
},
|
|
27539
|
+
"value": {
|
|
27540
|
+
"type": "string",
|
|
27541
|
+
"nullable": true,
|
|
27542
|
+
"description": "Null for sensitive vars in list responses"
|
|
27543
|
+
},
|
|
27544
|
+
"version": {
|
|
27545
|
+
"type": "integer"
|
|
27546
|
+
},
|
|
27547
|
+
"created_by": {
|
|
27548
|
+
"type": "string",
|
|
27549
|
+
"nullable": true
|
|
27550
|
+
},
|
|
27551
|
+
"created_at": {
|
|
27552
|
+
"type": "string",
|
|
27553
|
+
"format": "date-time"
|
|
27554
|
+
},
|
|
27555
|
+
"updated_at": {
|
|
27556
|
+
"type": "string",
|
|
27557
|
+
"format": "date-time"
|
|
27558
|
+
}
|
|
27559
|
+
}
|
|
27560
|
+
},
|
|
27561
|
+
"CreateEnvVarRequest": {
|
|
27562
|
+
"type": "object",
|
|
27563
|
+
"required": [
|
|
27564
|
+
"key",
|
|
27565
|
+
"value"
|
|
27566
|
+
],
|
|
27567
|
+
"properties": {
|
|
27568
|
+
"key": {
|
|
27569
|
+
"type": "string",
|
|
27570
|
+
"description": "Uppercase alphanumeric + underscore, 1-256 chars"
|
|
27571
|
+
},
|
|
27572
|
+
"value": {
|
|
27573
|
+
"type": "string"
|
|
27574
|
+
},
|
|
27575
|
+
"environments": {
|
|
27576
|
+
"type": "array",
|
|
27577
|
+
"items": {
|
|
27578
|
+
"type": "string"
|
|
27579
|
+
},
|
|
27580
|
+
"default": [
|
|
27581
|
+
"production",
|
|
27582
|
+
"preview",
|
|
27583
|
+
"development"
|
|
27584
|
+
]
|
|
27585
|
+
},
|
|
27586
|
+
"git_branch": {
|
|
27587
|
+
"type": "string",
|
|
27588
|
+
"description": "Branch override (preview only)"
|
|
27589
|
+
},
|
|
27590
|
+
"sensitive": {
|
|
27591
|
+
"type": "boolean",
|
|
27592
|
+
"default": false
|
|
27593
|
+
},
|
|
27594
|
+
"comment": {
|
|
27595
|
+
"type": "string"
|
|
27596
|
+
}
|
|
27597
|
+
}
|
|
27598
|
+
},
|
|
27599
|
+
"UpdateEnvVarRequest": {
|
|
27600
|
+
"type": "object",
|
|
27601
|
+
"properties": {
|
|
27602
|
+
"value": {
|
|
27603
|
+
"type": "string"
|
|
27604
|
+
},
|
|
27605
|
+
"environments": {
|
|
27606
|
+
"type": "array",
|
|
27607
|
+
"items": {
|
|
27608
|
+
"type": "string"
|
|
27609
|
+
}
|
|
27610
|
+
},
|
|
27611
|
+
"sensitive": {
|
|
27612
|
+
"type": "boolean"
|
|
27613
|
+
},
|
|
27614
|
+
"comment": {
|
|
27615
|
+
"type": "string"
|
|
27616
|
+
}
|
|
27617
|
+
}
|
|
27618
|
+
},
|
|
27619
|
+
"ResolveEnvVarsResponse": {
|
|
27620
|
+
"type": "object",
|
|
27621
|
+
"properties": {
|
|
27622
|
+
"vars": {
|
|
27623
|
+
"type": "object",
|
|
27624
|
+
"additionalProperties": {
|
|
27625
|
+
"type": "string"
|
|
27626
|
+
}
|
|
27627
|
+
},
|
|
27628
|
+
"sources": {
|
|
27629
|
+
"type": "object",
|
|
27630
|
+
"additionalProperties": {
|
|
27631
|
+
"type": "string",
|
|
27632
|
+
"enum": [
|
|
27633
|
+
"shared",
|
|
27634
|
+
"vault",
|
|
27635
|
+
"branch_override"
|
|
27636
|
+
]
|
|
27637
|
+
}
|
|
27638
|
+
},
|
|
27639
|
+
"environment": {
|
|
27640
|
+
"type": "string"
|
|
27641
|
+
},
|
|
27642
|
+
"git_branch": {
|
|
27643
|
+
"type": "string",
|
|
27644
|
+
"nullable": true
|
|
27645
|
+
},
|
|
27646
|
+
"resolved_at": {
|
|
27647
|
+
"type": "string",
|
|
27648
|
+
"format": "date-time"
|
|
27649
|
+
}
|
|
27650
|
+
}
|
|
27651
|
+
},
|
|
27652
|
+
"VaultEnvironment": {
|
|
27653
|
+
"type": "object",
|
|
27654
|
+
"properties": {
|
|
27655
|
+
"id": {
|
|
27656
|
+
"type": "string",
|
|
27657
|
+
"format": "uuid"
|
|
27658
|
+
},
|
|
27659
|
+
"slug": {
|
|
27660
|
+
"type": "string"
|
|
27661
|
+
},
|
|
27662
|
+
"description": {
|
|
27663
|
+
"type": "string",
|
|
27664
|
+
"nullable": true
|
|
27665
|
+
},
|
|
27666
|
+
"is_builtin": {
|
|
27667
|
+
"type": "boolean"
|
|
27668
|
+
},
|
|
27669
|
+
"copied_from": {
|
|
27670
|
+
"type": "string",
|
|
27671
|
+
"nullable": true
|
|
27672
|
+
},
|
|
27673
|
+
"is_detached": {
|
|
27674
|
+
"type": "boolean"
|
|
27675
|
+
},
|
|
27676
|
+
"created_at": {
|
|
27677
|
+
"type": "string",
|
|
27678
|
+
"format": "date-time"
|
|
27679
|
+
}
|
|
27680
|
+
}
|
|
27681
|
+
},
|
|
27682
|
+
"CreateEnvironmentRequest": {
|
|
27683
|
+
"type": "object",
|
|
27684
|
+
"required": [
|
|
27685
|
+
"slug"
|
|
27686
|
+
],
|
|
27687
|
+
"properties": {
|
|
27688
|
+
"slug": {
|
|
27689
|
+
"type": "string",
|
|
27690
|
+
"description": "Lowercase alphanumeric + hyphens, 2-30 chars"
|
|
27691
|
+
},
|
|
27692
|
+
"description": {
|
|
27693
|
+
"type": "string"
|
|
27694
|
+
},
|
|
27695
|
+
"copy_from": {
|
|
27696
|
+
"type": "string",
|
|
27697
|
+
"description": "Copy env vars from this environment"
|
|
27698
|
+
}
|
|
27699
|
+
}
|
|
27700
|
+
},
|
|
27701
|
+
"OrgEnvVar": {
|
|
27702
|
+
"type": "object",
|
|
27703
|
+
"properties": {
|
|
27704
|
+
"id": {
|
|
27705
|
+
"type": "string",
|
|
27706
|
+
"format": "uuid"
|
|
27707
|
+
},
|
|
27708
|
+
"key": {
|
|
27709
|
+
"type": "string"
|
|
27710
|
+
},
|
|
27711
|
+
"environments": {
|
|
27712
|
+
"type": "array",
|
|
27713
|
+
"items": {
|
|
27714
|
+
"type": "string"
|
|
27715
|
+
}
|
|
27716
|
+
},
|
|
27717
|
+
"sensitive": {
|
|
27718
|
+
"type": "boolean"
|
|
27719
|
+
},
|
|
27720
|
+
"comment": {
|
|
27721
|
+
"type": "string",
|
|
27722
|
+
"nullable": true
|
|
27723
|
+
},
|
|
27724
|
+
"value": {
|
|
27725
|
+
"type": "string",
|
|
27726
|
+
"nullable": true
|
|
27727
|
+
},
|
|
27728
|
+
"version": {
|
|
27729
|
+
"type": "integer"
|
|
27730
|
+
},
|
|
27731
|
+
"linked_vaults": {
|
|
27732
|
+
"type": "array",
|
|
27733
|
+
"items": {
|
|
27734
|
+
"type": "string",
|
|
27735
|
+
"format": "uuid"
|
|
27736
|
+
}
|
|
27737
|
+
},
|
|
27738
|
+
"created_at": {
|
|
27739
|
+
"type": "string",
|
|
27740
|
+
"format": "date-time"
|
|
27741
|
+
},
|
|
27742
|
+
"updated_at": {
|
|
27743
|
+
"type": "string",
|
|
27744
|
+
"format": "date-time"
|
|
27745
|
+
}
|
|
27746
|
+
}
|
|
27747
|
+
},
|
|
27748
|
+
"CreateOrgEnvVarRequest": {
|
|
27749
|
+
"type": "object",
|
|
27750
|
+
"required": [
|
|
27751
|
+
"key",
|
|
27752
|
+
"value"
|
|
27753
|
+
],
|
|
27754
|
+
"properties": {
|
|
27755
|
+
"key": {
|
|
27756
|
+
"type": "string"
|
|
27757
|
+
},
|
|
27758
|
+
"value": {
|
|
27759
|
+
"type": "string"
|
|
27760
|
+
},
|
|
27761
|
+
"environments": {
|
|
27762
|
+
"type": "array",
|
|
27763
|
+
"items": {
|
|
27764
|
+
"type": "string"
|
|
27765
|
+
},
|
|
27766
|
+
"default": [
|
|
27767
|
+
"production",
|
|
27768
|
+
"preview",
|
|
27769
|
+
"development"
|
|
27770
|
+
]
|
|
27771
|
+
},
|
|
27772
|
+
"sensitive": {
|
|
27773
|
+
"type": "boolean",
|
|
27774
|
+
"default": false
|
|
27775
|
+
},
|
|
27776
|
+
"comment": {
|
|
27777
|
+
"type": "string"
|
|
27778
|
+
}
|
|
27779
|
+
}
|
|
27780
|
+
},
|
|
27781
|
+
"UpdateOrgEnvVarRequest": {
|
|
27782
|
+
"type": "object",
|
|
27783
|
+
"properties": {
|
|
27784
|
+
"value": {
|
|
27785
|
+
"type": "string"
|
|
27786
|
+
},
|
|
27787
|
+
"environments": {
|
|
27788
|
+
"type": "array",
|
|
27789
|
+
"items": {
|
|
27790
|
+
"type": "string"
|
|
27791
|
+
}
|
|
27792
|
+
},
|
|
27793
|
+
"comment": {
|
|
27794
|
+
"type": "string"
|
|
27795
|
+
}
|
|
27796
|
+
}
|
|
26721
27797
|
}
|
|
26722
27798
|
}
|
|
26723
27799
|
}
|