@1claw/openapi-spec 0.53.0 → 0.53.2
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 +1799 -579
- package/openapi.yaml +837 -6
- 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": "0.53.
|
|
5
|
+
"version": "0.53.2",
|
|
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"
|
|
@@ -194,6 +194,18 @@
|
|
|
194
194
|
{
|
|
195
195
|
"name": "Environment Variables",
|
|
196
196
|
"description": "Per-vault and org-shared environment variable management"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "Wallet Access",
|
|
200
|
+
"description": "Role-based wallet access policies for agents and users"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "Credential Recovery",
|
|
204
|
+
"description": "MFA/passkey/password recovery escape hatch with admin approval"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "Shamir KEK",
|
|
208
|
+
"description": "Shamir secret-sharing for org-level Key Encryption Keys"
|
|
197
209
|
}
|
|
198
210
|
],
|
|
199
211
|
"paths": {
|
|
@@ -16032,184 +16044,818 @@
|
|
|
16032
16044
|
}
|
|
16033
16045
|
}
|
|
16034
16046
|
}
|
|
16035
|
-
}
|
|
16036
|
-
},
|
|
16037
|
-
"components": {
|
|
16038
|
-
"securitySchemes": {
|
|
16039
|
-
"BearerAuth": {
|
|
16040
|
-
"type": "http",
|
|
16041
|
-
"scheme": "bearer",
|
|
16042
|
-
"bearerFormat": "JWT"
|
|
16043
|
-
},
|
|
16044
|
-
"ApiKeyAuth": {
|
|
16045
|
-
"type": "http",
|
|
16046
|
-
"scheme": "bearer",
|
|
16047
|
-
"description": "1ck_ prefixed API key used as Bearer token"
|
|
16048
|
-
}
|
|
16049
|
-
},
|
|
16050
|
-
"parameters": {
|
|
16051
|
-
"VaultId": {
|
|
16052
|
-
"name": "vault_id",
|
|
16053
|
-
"in": "path",
|
|
16054
|
-
"required": true,
|
|
16055
|
-
"schema": {
|
|
16056
|
-
"type": "string",
|
|
16057
|
-
"format": "uuid"
|
|
16058
|
-
}
|
|
16059
|
-
},
|
|
16060
|
-
"SecretPath": {
|
|
16061
|
-
"name": "path",
|
|
16062
|
-
"in": "path",
|
|
16063
|
-
"required": true,
|
|
16064
|
-
"schema": {
|
|
16065
|
-
"type": "string"
|
|
16066
|
-
},
|
|
16067
|
-
"description": "Secret path (e.g. \"db/credentials\")"
|
|
16068
|
-
},
|
|
16069
|
-
"AgentId": {
|
|
16070
|
-
"name": "agent_id",
|
|
16071
|
-
"in": "path",
|
|
16072
|
-
"required": true,
|
|
16073
|
-
"schema": {
|
|
16074
|
-
"type": "string",
|
|
16075
|
-
"format": "uuid"
|
|
16076
|
-
}
|
|
16077
|
-
},
|
|
16078
|
-
"PolicyId": {
|
|
16079
|
-
"name": "policy_id",
|
|
16080
|
-
"in": "path",
|
|
16081
|
-
"required": true,
|
|
16082
|
-
"schema": {
|
|
16083
|
-
"type": "string",
|
|
16084
|
-
"format": "uuid"
|
|
16085
|
-
}
|
|
16086
|
-
},
|
|
16087
|
-
"CardId": {
|
|
16088
|
-
"name": "card_id",
|
|
16089
|
-
"in": "path",
|
|
16090
|
-
"required": true,
|
|
16091
|
-
"schema": {
|
|
16092
|
-
"type": "string",
|
|
16093
|
-
"format": "uuid"
|
|
16094
|
-
}
|
|
16095
|
-
},
|
|
16096
|
-
"IncludeSignedTx": {
|
|
16097
|
-
"name": "include_signed_tx",
|
|
16098
|
-
"in": "query",
|
|
16099
|
-
"required": false,
|
|
16100
|
-
"description": "Set to `true` or `1` to include the raw signed transaction hex in the response. Omitted by default to reduce key exfiltration risk. Only the literal values \"true\" or \"1\" enable inclusion; any other value or omission returns responses without signed_tx. Applies to GET /v1/agents/{agent_id}/transactions and GET /v1/agents/{agent_id}/transactions/{tx_id}.\n",
|
|
16101
|
-
"schema": {
|
|
16102
|
-
"type": "boolean",
|
|
16103
|
-
"default": false,
|
|
16104
|
-
"example": false
|
|
16105
|
-
}
|
|
16106
|
-
}
|
|
16107
16047
|
},
|
|
16108
|
-
"
|
|
16109
|
-
"
|
|
16110
|
-
"
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16048
|
+
"/v1/treasury/wallets/access-policies": {
|
|
16049
|
+
"post": {
|
|
16050
|
+
"tags": [
|
|
16051
|
+
"Wallet Access"
|
|
16052
|
+
],
|
|
16053
|
+
"summary": "Create a wallet access policy",
|
|
16054
|
+
"description": "Create a role-based wallet access policy granting an agent, user, role,\nor platform app specific permissions on treasury wallets within a scope\n(org-wide, platform app, or single wallet). Requires Pro+ tier.\n",
|
|
16055
|
+
"operationId": "createWalletAccessPolicy",
|
|
16056
|
+
"security": [
|
|
16057
|
+
{
|
|
16058
|
+
"BearerAuth": []
|
|
16116
16059
|
}
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16060
|
+
],
|
|
16061
|
+
"requestBody": {
|
|
16062
|
+
"required": true,
|
|
16063
|
+
"content": {
|
|
16064
|
+
"application/json": {
|
|
16065
|
+
"schema": {
|
|
16066
|
+
"$ref": "#/components/schemas/CreateWalletAccessPolicyRequest"
|
|
16067
|
+
}
|
|
16125
16068
|
}
|
|
16126
16069
|
}
|
|
16127
|
-
}
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16070
|
+
},
|
|
16071
|
+
"responses": {
|
|
16072
|
+
"201": {
|
|
16073
|
+
"description": "Policy created",
|
|
16074
|
+
"content": {
|
|
16075
|
+
"application/json": {
|
|
16076
|
+
"schema": {
|
|
16077
|
+
"$ref": "#/components/schemas/WalletAccessPolicyResponse"
|
|
16078
|
+
}
|
|
16079
|
+
}
|
|
16135
16080
|
}
|
|
16081
|
+
},
|
|
16082
|
+
"400": {
|
|
16083
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16084
|
+
},
|
|
16085
|
+
"401": {
|
|
16086
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16087
|
+
},
|
|
16088
|
+
"403": {
|
|
16089
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16136
16090
|
}
|
|
16137
16091
|
}
|
|
16138
16092
|
},
|
|
16139
|
-
"
|
|
16140
|
-
"
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16093
|
+
"get": {
|
|
16094
|
+
"tags": [
|
|
16095
|
+
"Wallet Access"
|
|
16096
|
+
],
|
|
16097
|
+
"summary": "List wallet access policies for the org",
|
|
16098
|
+
"operationId": "listWalletAccessPolicies",
|
|
16099
|
+
"security": [
|
|
16100
|
+
{
|
|
16101
|
+
"BearerAuth": []
|
|
16146
16102
|
}
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
"application/json": {
|
|
16103
|
+
],
|
|
16104
|
+
"parameters": [
|
|
16105
|
+
{
|
|
16106
|
+
"name": "scope_type",
|
|
16107
|
+
"in": "query",
|
|
16153
16108
|
"schema": {
|
|
16154
|
-
"
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16109
|
+
"type": "string",
|
|
16110
|
+
"enum": [
|
|
16111
|
+
"wallet",
|
|
16112
|
+
"platform_app",
|
|
16113
|
+
"org"
|
|
16114
|
+
]
|
|
16115
|
+
},
|
|
16116
|
+
"description": "Filter by scope type"
|
|
16117
|
+
},
|
|
16118
|
+
{
|
|
16119
|
+
"name": "scope_id",
|
|
16120
|
+
"in": "query",
|
|
16163
16121
|
"schema": {
|
|
16164
|
-
"
|
|
16122
|
+
"type": "string",
|
|
16123
|
+
"format": "uuid"
|
|
16124
|
+
},
|
|
16125
|
+
"description": "Filter by scope ID (wallet or platform app UUID)"
|
|
16126
|
+
}
|
|
16127
|
+
],
|
|
16128
|
+
"responses": {
|
|
16129
|
+
"200": {
|
|
16130
|
+
"description": "Policy list",
|
|
16131
|
+
"content": {
|
|
16132
|
+
"application/json": {
|
|
16133
|
+
"schema": {
|
|
16134
|
+
"$ref": "#/components/schemas/WalletAccessPolicyListResponse"
|
|
16135
|
+
}
|
|
16136
|
+
}
|
|
16165
16137
|
}
|
|
16138
|
+
},
|
|
16139
|
+
"401": {
|
|
16140
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16166
16141
|
}
|
|
16167
16142
|
}
|
|
16168
16143
|
}
|
|
16169
16144
|
},
|
|
16170
|
-
"
|
|
16171
|
-
"
|
|
16172
|
-
"
|
|
16173
|
-
|
|
16174
|
-
"kind",
|
|
16175
|
-
"amount_usd"
|
|
16145
|
+
"/v1/treasury/wallets/access-policies/{id}": {
|
|
16146
|
+
"delete": {
|
|
16147
|
+
"tags": [
|
|
16148
|
+
"Wallet Access"
|
|
16176
16149
|
],
|
|
16177
|
-
"
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16150
|
+
"summary": "Delete a wallet access policy",
|
|
16151
|
+
"operationId": "deleteWalletAccessPolicy",
|
|
16152
|
+
"security": [
|
|
16153
|
+
{
|
|
16154
|
+
"BearerAuth": []
|
|
16155
|
+
}
|
|
16156
|
+
],
|
|
16157
|
+
"parameters": [
|
|
16158
|
+
{
|
|
16159
|
+
"name": "id",
|
|
16160
|
+
"in": "path",
|
|
16161
|
+
"required": true,
|
|
16162
|
+
"schema": {
|
|
16163
|
+
"type": "string",
|
|
16164
|
+
"format": "uuid"
|
|
16165
|
+
}
|
|
16166
|
+
}
|
|
16167
|
+
],
|
|
16168
|
+
"responses": {
|
|
16169
|
+
"204": {
|
|
16170
|
+
"description": "Policy deleted"
|
|
16184
16171
|
},
|
|
16185
|
-
"
|
|
16186
|
-
"
|
|
16187
|
-
"description": "USD amount to load onto the card.",
|
|
16188
|
-
"example": "25.00"
|
|
16172
|
+
"401": {
|
|
16173
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16189
16174
|
},
|
|
16190
|
-
"
|
|
16191
|
-
"
|
|
16192
|
-
"description": "Optional Laso gift-card server/brand id (gift cards only)."
|
|
16175
|
+
"403": {
|
|
16176
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16193
16177
|
},
|
|
16194
|
-
"
|
|
16195
|
-
"
|
|
16196
|
-
"description": "Optional country (prepaid cards; defaults to US)."
|
|
16178
|
+
"404": {
|
|
16179
|
+
"$ref": "#/components/responses/NotFound"
|
|
16197
16180
|
}
|
|
16198
16181
|
}
|
|
16199
|
-
}
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
"
|
|
16204
|
-
"
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16182
|
+
}
|
|
16183
|
+
},
|
|
16184
|
+
"/v1/auth/credential-recovery/request": {
|
|
16185
|
+
"post": {
|
|
16186
|
+
"tags": [
|
|
16187
|
+
"Credential Recovery"
|
|
16188
|
+
],
|
|
16189
|
+
"summary": "Initiate credential recovery",
|
|
16190
|
+
"description": "Start a credential recovery request for MFA reset, passkey reset,\nor password reset. Requires admin approval per org policy.\n",
|
|
16191
|
+
"operationId": "requestCredentialRecovery",
|
|
16192
|
+
"security": [
|
|
16193
|
+
{
|
|
16194
|
+
"BearerAuth": []
|
|
16195
|
+
}
|
|
16196
|
+
],
|
|
16197
|
+
"requestBody": {
|
|
16198
|
+
"required": true,
|
|
16199
|
+
"content": {
|
|
16200
|
+
"application/json": {
|
|
16201
|
+
"schema": {
|
|
16202
|
+
"$ref": "#/components/schemas/CredentialRecoveryRequest"
|
|
16203
|
+
}
|
|
16204
|
+
}
|
|
16205
|
+
}
|
|
16206
|
+
},
|
|
16207
|
+
"responses": {
|
|
16208
|
+
"201": {
|
|
16209
|
+
"description": "Recovery request created",
|
|
16210
|
+
"content": {
|
|
16211
|
+
"application/json": {
|
|
16212
|
+
"schema": {
|
|
16213
|
+
"$ref": "#/components/schemas/CredentialRecoveryResponse"
|
|
16214
|
+
}
|
|
16215
|
+
}
|
|
16216
|
+
}
|
|
16217
|
+
},
|
|
16218
|
+
"400": {
|
|
16219
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16220
|
+
},
|
|
16221
|
+
"401": {
|
|
16222
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16223
|
+
}
|
|
16224
|
+
}
|
|
16225
|
+
}
|
|
16226
|
+
},
|
|
16227
|
+
"/v1/auth/credential-recovery/requests": {
|
|
16228
|
+
"get": {
|
|
16229
|
+
"tags": [
|
|
16230
|
+
"Credential Recovery"
|
|
16231
|
+
],
|
|
16232
|
+
"summary": "List recovery requests for the org",
|
|
16233
|
+
"description": "Admin/owner only. Returns pending, approved, and rejected recovery requests.",
|
|
16234
|
+
"operationId": "listCredentialRecoveryRequests",
|
|
16235
|
+
"security": [
|
|
16236
|
+
{
|
|
16237
|
+
"BearerAuth": []
|
|
16238
|
+
}
|
|
16239
|
+
],
|
|
16240
|
+
"parameters": [
|
|
16241
|
+
{
|
|
16242
|
+
"name": "status",
|
|
16243
|
+
"in": "query",
|
|
16244
|
+
"schema": {
|
|
16245
|
+
"type": "string",
|
|
16246
|
+
"enum": [
|
|
16247
|
+
"pending_approval",
|
|
16248
|
+
"approved",
|
|
16249
|
+
"rejected",
|
|
16250
|
+
"expired"
|
|
16251
|
+
]
|
|
16252
|
+
},
|
|
16253
|
+
"description": "Filter by status"
|
|
16254
|
+
}
|
|
16255
|
+
],
|
|
16256
|
+
"responses": {
|
|
16257
|
+
"200": {
|
|
16258
|
+
"description": "Recovery request list",
|
|
16259
|
+
"content": {
|
|
16260
|
+
"application/json": {
|
|
16261
|
+
"schema": {
|
|
16262
|
+
"$ref": "#/components/schemas/CredentialRecoveryListResponse"
|
|
16263
|
+
}
|
|
16264
|
+
}
|
|
16265
|
+
}
|
|
16266
|
+
},
|
|
16267
|
+
"401": {
|
|
16268
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16269
|
+
},
|
|
16270
|
+
"403": {
|
|
16271
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16272
|
+
}
|
|
16273
|
+
}
|
|
16274
|
+
}
|
|
16275
|
+
},
|
|
16276
|
+
"/v1/auth/credential-recovery/requests/{id}/approve": {
|
|
16277
|
+
"post": {
|
|
16278
|
+
"tags": [
|
|
16279
|
+
"Credential Recovery"
|
|
16280
|
+
],
|
|
16281
|
+
"summary": "Approve a recovery request",
|
|
16282
|
+
"description": "Admin/owner approves a pending recovery request. May return a one-time recovery code.",
|
|
16283
|
+
"operationId": "approveCredentialRecovery",
|
|
16284
|
+
"security": [
|
|
16285
|
+
{
|
|
16286
|
+
"BearerAuth": []
|
|
16287
|
+
}
|
|
16288
|
+
],
|
|
16289
|
+
"parameters": [
|
|
16290
|
+
{
|
|
16291
|
+
"name": "id",
|
|
16292
|
+
"in": "path",
|
|
16293
|
+
"required": true,
|
|
16294
|
+
"schema": {
|
|
16295
|
+
"type": "string",
|
|
16296
|
+
"format": "uuid"
|
|
16297
|
+
}
|
|
16298
|
+
}
|
|
16299
|
+
],
|
|
16300
|
+
"responses": {
|
|
16301
|
+
"200": {
|
|
16302
|
+
"description": "Request approved",
|
|
16303
|
+
"content": {
|
|
16304
|
+
"application/json": {
|
|
16305
|
+
"schema": {
|
|
16306
|
+
"$ref": "#/components/schemas/CredentialRecoveryApproveResponse"
|
|
16307
|
+
}
|
|
16308
|
+
}
|
|
16309
|
+
}
|
|
16310
|
+
},
|
|
16311
|
+
"401": {
|
|
16312
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16313
|
+
},
|
|
16314
|
+
"403": {
|
|
16315
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16316
|
+
},
|
|
16317
|
+
"404": {
|
|
16318
|
+
"$ref": "#/components/responses/NotFound"
|
|
16319
|
+
}
|
|
16320
|
+
}
|
|
16321
|
+
}
|
|
16322
|
+
},
|
|
16323
|
+
"/v1/auth/credential-recovery/requests/{id}/execute": {
|
|
16324
|
+
"post": {
|
|
16325
|
+
"tags": [
|
|
16326
|
+
"Credential Recovery"
|
|
16327
|
+
],
|
|
16328
|
+
"summary": "Execute an approved credential recovery request",
|
|
16329
|
+
"description": "Execute an approved credential recovery request after the delay window has elapsed. Only org owners or admins can execute.",
|
|
16330
|
+
"operationId": "executeCredentialRecovery",
|
|
16331
|
+
"security": [
|
|
16332
|
+
{
|
|
16333
|
+
"BearerAuth": []
|
|
16334
|
+
}
|
|
16335
|
+
],
|
|
16336
|
+
"parameters": [
|
|
16337
|
+
{
|
|
16338
|
+
"name": "id",
|
|
16339
|
+
"in": "path",
|
|
16340
|
+
"required": true,
|
|
16341
|
+
"schema": {
|
|
16342
|
+
"type": "string",
|
|
16343
|
+
"format": "uuid"
|
|
16344
|
+
}
|
|
16345
|
+
}
|
|
16346
|
+
],
|
|
16347
|
+
"responses": {
|
|
16348
|
+
"200": {
|
|
16349
|
+
"description": "Recovery executed",
|
|
16350
|
+
"content": {
|
|
16351
|
+
"application/json": {
|
|
16352
|
+
"schema": {
|
|
16353
|
+
"$ref": "#/components/schemas/CredentialRecoveryExecuteResponse"
|
|
16354
|
+
}
|
|
16355
|
+
}
|
|
16356
|
+
}
|
|
16357
|
+
},
|
|
16358
|
+
"401": {
|
|
16359
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16360
|
+
},
|
|
16361
|
+
"403": {
|
|
16362
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16363
|
+
},
|
|
16364
|
+
"404": {
|
|
16365
|
+
"$ref": "#/components/responses/NotFound"
|
|
16366
|
+
}
|
|
16367
|
+
}
|
|
16368
|
+
}
|
|
16369
|
+
},
|
|
16370
|
+
"/v1/auth/credential-recovery/requests/{id}": {
|
|
16371
|
+
"delete": {
|
|
16372
|
+
"tags": [
|
|
16373
|
+
"Credential Recovery"
|
|
16374
|
+
],
|
|
16375
|
+
"summary": "Cancel or reject a recovery request",
|
|
16376
|
+
"operationId": "cancelCredentialRecovery",
|
|
16377
|
+
"security": [
|
|
16378
|
+
{
|
|
16379
|
+
"BearerAuth": []
|
|
16380
|
+
}
|
|
16381
|
+
],
|
|
16382
|
+
"parameters": [
|
|
16383
|
+
{
|
|
16384
|
+
"name": "id",
|
|
16385
|
+
"in": "path",
|
|
16386
|
+
"required": true,
|
|
16387
|
+
"schema": {
|
|
16388
|
+
"type": "string",
|
|
16389
|
+
"format": "uuid"
|
|
16390
|
+
}
|
|
16391
|
+
}
|
|
16392
|
+
],
|
|
16393
|
+
"responses": {
|
|
16394
|
+
"204": {
|
|
16395
|
+
"description": "Request cancelled"
|
|
16396
|
+
},
|
|
16397
|
+
"401": {
|
|
16398
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16399
|
+
},
|
|
16400
|
+
"403": {
|
|
16401
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16402
|
+
},
|
|
16403
|
+
"404": {
|
|
16404
|
+
"$ref": "#/components/responses/NotFound"
|
|
16405
|
+
}
|
|
16406
|
+
}
|
|
16407
|
+
}
|
|
16408
|
+
},
|
|
16409
|
+
"/v1/org/credential-recovery-policy": {
|
|
16410
|
+
"get": {
|
|
16411
|
+
"tags": [
|
|
16412
|
+
"Credential Recovery"
|
|
16413
|
+
],
|
|
16414
|
+
"summary": "Get org credential recovery policy",
|
|
16415
|
+
"operationId": "getCredentialRecoveryPolicy",
|
|
16416
|
+
"security": [
|
|
16417
|
+
{
|
|
16418
|
+
"BearerAuth": []
|
|
16419
|
+
}
|
|
16420
|
+
],
|
|
16421
|
+
"responses": {
|
|
16422
|
+
"200": {
|
|
16423
|
+
"description": "Recovery policy",
|
|
16424
|
+
"content": {
|
|
16425
|
+
"application/json": {
|
|
16426
|
+
"schema": {
|
|
16427
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyResponse"
|
|
16428
|
+
}
|
|
16429
|
+
}
|
|
16430
|
+
}
|
|
16431
|
+
},
|
|
16432
|
+
"401": {
|
|
16433
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16434
|
+
}
|
|
16435
|
+
}
|
|
16436
|
+
},
|
|
16437
|
+
"patch": {
|
|
16438
|
+
"tags": [
|
|
16439
|
+
"Credential Recovery"
|
|
16440
|
+
],
|
|
16441
|
+
"summary": "Update org credential recovery policy",
|
|
16442
|
+
"operationId": "updateCredentialRecoveryPolicy",
|
|
16443
|
+
"security": [
|
|
16444
|
+
{
|
|
16445
|
+
"BearerAuth": []
|
|
16446
|
+
}
|
|
16447
|
+
],
|
|
16448
|
+
"requestBody": {
|
|
16449
|
+
"required": true,
|
|
16450
|
+
"content": {
|
|
16451
|
+
"application/json": {
|
|
16452
|
+
"schema": {
|
|
16453
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyRequest"
|
|
16454
|
+
}
|
|
16455
|
+
}
|
|
16456
|
+
}
|
|
16457
|
+
},
|
|
16458
|
+
"responses": {
|
|
16459
|
+
"200": {
|
|
16460
|
+
"description": "Policy updated",
|
|
16461
|
+
"content": {
|
|
16462
|
+
"application/json": {
|
|
16463
|
+
"schema": {
|
|
16464
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyResponse"
|
|
16465
|
+
}
|
|
16466
|
+
}
|
|
16467
|
+
}
|
|
16468
|
+
},
|
|
16469
|
+
"400": {
|
|
16470
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16471
|
+
},
|
|
16472
|
+
"401": {
|
|
16473
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16474
|
+
},
|
|
16475
|
+
"403": {
|
|
16476
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16477
|
+
}
|
|
16478
|
+
}
|
|
16479
|
+
}
|
|
16480
|
+
},
|
|
16481
|
+
"/v1/org/shamir-kek/setup": {
|
|
16482
|
+
"post": {
|
|
16483
|
+
"tags": [
|
|
16484
|
+
"Shamir KEK"
|
|
16485
|
+
],
|
|
16486
|
+
"summary": "Set up Shamir KEK for the org",
|
|
16487
|
+
"description": "Initialize a Shamir secret-sharing KEK for the org. Splits the master\nkey into shares distributed to custodians. Shares are returned one-time\nonly and must be stored securely by each custodian.\n",
|
|
16488
|
+
"operationId": "setupShamirKek",
|
|
16489
|
+
"security": [
|
|
16490
|
+
{
|
|
16491
|
+
"BearerAuth": []
|
|
16492
|
+
}
|
|
16493
|
+
],
|
|
16494
|
+
"requestBody": {
|
|
16495
|
+
"required": true,
|
|
16496
|
+
"content": {
|
|
16497
|
+
"application/json": {
|
|
16498
|
+
"schema": {
|
|
16499
|
+
"$ref": "#/components/schemas/ShamirKekSetupRequest"
|
|
16500
|
+
}
|
|
16501
|
+
}
|
|
16502
|
+
}
|
|
16503
|
+
},
|
|
16504
|
+
"responses": {
|
|
16505
|
+
"201": {
|
|
16506
|
+
"description": "Shamir KEK configured (shares returned one-time)",
|
|
16507
|
+
"content": {
|
|
16508
|
+
"application/json": {
|
|
16509
|
+
"schema": {
|
|
16510
|
+
"$ref": "#/components/schemas/ShamirKekSetupResponse"
|
|
16511
|
+
}
|
|
16512
|
+
}
|
|
16513
|
+
}
|
|
16514
|
+
},
|
|
16515
|
+
"400": {
|
|
16516
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16517
|
+
},
|
|
16518
|
+
"401": {
|
|
16519
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16520
|
+
},
|
|
16521
|
+
"403": {
|
|
16522
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16523
|
+
}
|
|
16524
|
+
}
|
|
16525
|
+
}
|
|
16526
|
+
},
|
|
16527
|
+
"/v1/org/shamir-kek": {
|
|
16528
|
+
"get": {
|
|
16529
|
+
"tags": [
|
|
16530
|
+
"Shamir KEK"
|
|
16531
|
+
],
|
|
16532
|
+
"summary": "Get Shamir KEK status",
|
|
16533
|
+
"description": "Returns the current Shamir KEK configuration status for the org.",
|
|
16534
|
+
"operationId": "getShamirKekStatus",
|
|
16535
|
+
"security": [
|
|
16536
|
+
{
|
|
16537
|
+
"BearerAuth": []
|
|
16538
|
+
}
|
|
16539
|
+
],
|
|
16540
|
+
"responses": {
|
|
16541
|
+
"200": {
|
|
16542
|
+
"description": "Shamir KEK status",
|
|
16543
|
+
"content": {
|
|
16544
|
+
"application/json": {
|
|
16545
|
+
"schema": {
|
|
16546
|
+
"$ref": "#/components/schemas/ShamirKekStatusResponse"
|
|
16547
|
+
}
|
|
16548
|
+
}
|
|
16549
|
+
}
|
|
16550
|
+
},
|
|
16551
|
+
"401": {
|
|
16552
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16553
|
+
}
|
|
16554
|
+
}
|
|
16555
|
+
}
|
|
16556
|
+
},
|
|
16557
|
+
"/v1/org/shamir-kek/reconstruct": {
|
|
16558
|
+
"post": {
|
|
16559
|
+
"tags": [
|
|
16560
|
+
"Shamir KEK"
|
|
16561
|
+
],
|
|
16562
|
+
"summary": "Reconstruct KEK from shares",
|
|
16563
|
+
"description": "Submit Shamir shares to reconstruct the org KEK. Requires at least\n`threshold` valid shares. Used during disaster recovery.\n",
|
|
16564
|
+
"operationId": "reconstructShamirKek",
|
|
16565
|
+
"security": [
|
|
16566
|
+
{
|
|
16567
|
+
"BearerAuth": []
|
|
16568
|
+
}
|
|
16569
|
+
],
|
|
16570
|
+
"requestBody": {
|
|
16571
|
+
"required": true,
|
|
16572
|
+
"content": {
|
|
16573
|
+
"application/json": {
|
|
16574
|
+
"schema": {
|
|
16575
|
+
"$ref": "#/components/schemas/ShamirKekReconstructRequest"
|
|
16576
|
+
}
|
|
16577
|
+
}
|
|
16578
|
+
}
|
|
16579
|
+
},
|
|
16580
|
+
"responses": {
|
|
16581
|
+
"200": {
|
|
16582
|
+
"description": "Reconstruction result",
|
|
16583
|
+
"content": {
|
|
16584
|
+
"application/json": {
|
|
16585
|
+
"schema": {
|
|
16586
|
+
"$ref": "#/components/schemas/ShamirKekReconstructResponse"
|
|
16587
|
+
}
|
|
16588
|
+
}
|
|
16589
|
+
}
|
|
16590
|
+
},
|
|
16591
|
+
"400": {
|
|
16592
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16593
|
+
},
|
|
16594
|
+
"401": {
|
|
16595
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16596
|
+
},
|
|
16597
|
+
"403": {
|
|
16598
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16599
|
+
}
|
|
16600
|
+
}
|
|
16601
|
+
}
|
|
16602
|
+
},
|
|
16603
|
+
"/v1/org/shamir-kek/recovery-codes": {
|
|
16604
|
+
"get": {
|
|
16605
|
+
"tags": [
|
|
16606
|
+
"Shamir KEK"
|
|
16607
|
+
],
|
|
16608
|
+
"summary": "Get Shamir recovery codes (one-time)",
|
|
16609
|
+
"description": "Returns the one-time recovery codes for the Shamir KEK. These codes\ncan be used as an emergency fallback if custodian shares are lost.\nCodes are only returned once — subsequent calls return 410.\n",
|
|
16610
|
+
"operationId": "getShamirKekRecoveryCodes",
|
|
16611
|
+
"security": [
|
|
16612
|
+
{
|
|
16613
|
+
"BearerAuth": []
|
|
16614
|
+
}
|
|
16615
|
+
],
|
|
16616
|
+
"responses": {
|
|
16617
|
+
"200": {
|
|
16618
|
+
"description": "Recovery codes (one-time)",
|
|
16619
|
+
"content": {
|
|
16620
|
+
"application/json": {
|
|
16621
|
+
"schema": {
|
|
16622
|
+
"$ref": "#/components/schemas/ShamirKekRecoveryCodesResponse"
|
|
16623
|
+
}
|
|
16624
|
+
}
|
|
16625
|
+
}
|
|
16626
|
+
},
|
|
16627
|
+
"401": {
|
|
16628
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16629
|
+
},
|
|
16630
|
+
"403": {
|
|
16631
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16632
|
+
},
|
|
16633
|
+
"410": {
|
|
16634
|
+
"description": "Codes already retrieved"
|
|
16635
|
+
}
|
|
16636
|
+
}
|
|
16637
|
+
}
|
|
16638
|
+
},
|
|
16639
|
+
"/v1/org/shamir-kek/verify-recovery-code": {
|
|
16640
|
+
"post": {
|
|
16641
|
+
"tags": [
|
|
16642
|
+
"Shamir KEK"
|
|
16643
|
+
],
|
|
16644
|
+
"summary": "Verify a Shamir recovery code",
|
|
16645
|
+
"description": "Check whether a recovery code is valid without consuming it.",
|
|
16646
|
+
"operationId": "verifyShamirKekRecoveryCode",
|
|
16647
|
+
"security": [
|
|
16648
|
+
{
|
|
16649
|
+
"BearerAuth": []
|
|
16650
|
+
}
|
|
16651
|
+
],
|
|
16652
|
+
"requestBody": {
|
|
16653
|
+
"required": true,
|
|
16654
|
+
"content": {
|
|
16655
|
+
"application/json": {
|
|
16656
|
+
"schema": {
|
|
16657
|
+
"$ref": "#/components/schemas/ShamirKekVerifyCodeRequest"
|
|
16658
|
+
}
|
|
16659
|
+
}
|
|
16660
|
+
}
|
|
16661
|
+
},
|
|
16662
|
+
"responses": {
|
|
16663
|
+
"200": {
|
|
16664
|
+
"description": "Verification result",
|
|
16665
|
+
"content": {
|
|
16666
|
+
"application/json": {
|
|
16667
|
+
"schema": {
|
|
16668
|
+
"$ref": "#/components/schemas/ShamirKekVerifyCodeResponse"
|
|
16669
|
+
}
|
|
16670
|
+
}
|
|
16671
|
+
}
|
|
16672
|
+
},
|
|
16673
|
+
"400": {
|
|
16674
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16675
|
+
},
|
|
16676
|
+
"401": {
|
|
16677
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16678
|
+
}
|
|
16679
|
+
}
|
|
16680
|
+
}
|
|
16681
|
+
}
|
|
16682
|
+
},
|
|
16683
|
+
"components": {
|
|
16684
|
+
"securitySchemes": {
|
|
16685
|
+
"BearerAuth": {
|
|
16686
|
+
"type": "http",
|
|
16687
|
+
"scheme": "bearer",
|
|
16688
|
+
"bearerFormat": "JWT"
|
|
16689
|
+
},
|
|
16690
|
+
"ApiKeyAuth": {
|
|
16691
|
+
"type": "http",
|
|
16692
|
+
"scheme": "bearer",
|
|
16693
|
+
"description": "1ck_ prefixed API key used as Bearer token"
|
|
16694
|
+
}
|
|
16695
|
+
},
|
|
16696
|
+
"parameters": {
|
|
16697
|
+
"VaultId": {
|
|
16698
|
+
"name": "vault_id",
|
|
16699
|
+
"in": "path",
|
|
16700
|
+
"required": true,
|
|
16701
|
+
"schema": {
|
|
16702
|
+
"type": "string",
|
|
16703
|
+
"format": "uuid"
|
|
16704
|
+
}
|
|
16705
|
+
},
|
|
16706
|
+
"SecretPath": {
|
|
16707
|
+
"name": "path",
|
|
16708
|
+
"in": "path",
|
|
16709
|
+
"required": true,
|
|
16710
|
+
"schema": {
|
|
16711
|
+
"type": "string"
|
|
16712
|
+
},
|
|
16713
|
+
"description": "Secret path (e.g. \"db/credentials\")"
|
|
16714
|
+
},
|
|
16715
|
+
"AgentId": {
|
|
16716
|
+
"name": "agent_id",
|
|
16717
|
+
"in": "path",
|
|
16718
|
+
"required": true,
|
|
16719
|
+
"schema": {
|
|
16720
|
+
"type": "string",
|
|
16721
|
+
"format": "uuid"
|
|
16722
|
+
}
|
|
16723
|
+
},
|
|
16724
|
+
"PolicyId": {
|
|
16725
|
+
"name": "policy_id",
|
|
16726
|
+
"in": "path",
|
|
16727
|
+
"required": true,
|
|
16728
|
+
"schema": {
|
|
16729
|
+
"type": "string",
|
|
16730
|
+
"format": "uuid"
|
|
16731
|
+
}
|
|
16732
|
+
},
|
|
16733
|
+
"CardId": {
|
|
16734
|
+
"name": "card_id",
|
|
16735
|
+
"in": "path",
|
|
16736
|
+
"required": true,
|
|
16737
|
+
"schema": {
|
|
16738
|
+
"type": "string",
|
|
16739
|
+
"format": "uuid"
|
|
16740
|
+
}
|
|
16741
|
+
},
|
|
16742
|
+
"IncludeSignedTx": {
|
|
16743
|
+
"name": "include_signed_tx",
|
|
16744
|
+
"in": "query",
|
|
16745
|
+
"required": false,
|
|
16746
|
+
"description": "Set to `true` or `1` to include the raw signed transaction hex in the response. Omitted by default to reduce key exfiltration risk. Only the literal values \"true\" or \"1\" enable inclusion; any other value or omission returns responses without signed_tx. Applies to GET /v1/agents/{agent_id}/transactions and GET /v1/agents/{agent_id}/transactions/{tx_id}.\n",
|
|
16747
|
+
"schema": {
|
|
16748
|
+
"type": "boolean",
|
|
16749
|
+
"default": false,
|
|
16750
|
+
"example": false
|
|
16751
|
+
}
|
|
16752
|
+
}
|
|
16753
|
+
},
|
|
16754
|
+
"responses": {
|
|
16755
|
+
"BadRequest": {
|
|
16756
|
+
"description": "Invalid request",
|
|
16757
|
+
"content": {
|
|
16758
|
+
"application/json": {
|
|
16759
|
+
"schema": {
|
|
16760
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16761
|
+
}
|
|
16762
|
+
}
|
|
16763
|
+
}
|
|
16764
|
+
},
|
|
16765
|
+
"Unauthorized": {
|
|
16766
|
+
"description": "Authentication required or invalid",
|
|
16767
|
+
"content": {
|
|
16768
|
+
"application/json": {
|
|
16769
|
+
"schema": {
|
|
16770
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16771
|
+
}
|
|
16772
|
+
}
|
|
16773
|
+
}
|
|
16774
|
+
},
|
|
16775
|
+
"Forbidden": {
|
|
16776
|
+
"description": "Insufficient permissions",
|
|
16777
|
+
"content": {
|
|
16778
|
+
"application/json": {
|
|
16779
|
+
"schema": {
|
|
16780
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16781
|
+
}
|
|
16782
|
+
}
|
|
16783
|
+
}
|
|
16784
|
+
},
|
|
16785
|
+
"NotFound": {
|
|
16786
|
+
"description": "Resource not found",
|
|
16787
|
+
"content": {
|
|
16788
|
+
"application/json": {
|
|
16789
|
+
"schema": {
|
|
16790
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16791
|
+
}
|
|
16792
|
+
}
|
|
16793
|
+
}
|
|
16794
|
+
},
|
|
16795
|
+
"PaymentRequired": {
|
|
16796
|
+
"description": "x402 payment required",
|
|
16797
|
+
"content": {
|
|
16798
|
+
"application/json": {
|
|
16799
|
+
"schema": {
|
|
16800
|
+
"$ref": "#/components/schemas/PaymentRequirement"
|
|
16801
|
+
}
|
|
16802
|
+
}
|
|
16803
|
+
}
|
|
16804
|
+
},
|
|
16805
|
+
"Conflict": {
|
|
16806
|
+
"description": "Resource already exists or conflict",
|
|
16807
|
+
"content": {
|
|
16808
|
+
"application/json": {
|
|
16809
|
+
"schema": {
|
|
16810
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16811
|
+
}
|
|
16812
|
+
}
|
|
16813
|
+
}
|
|
16814
|
+
}
|
|
16815
|
+
},
|
|
16816
|
+
"schemas": {
|
|
16817
|
+
"OrderCardRequest": {
|
|
16818
|
+
"type": "object",
|
|
16819
|
+
"required": [
|
|
16820
|
+
"kind",
|
|
16821
|
+
"amount_usd"
|
|
16822
|
+
],
|
|
16823
|
+
"properties": {
|
|
16824
|
+
"kind": {
|
|
16825
|
+
"type": "string",
|
|
16826
|
+
"enum": [
|
|
16827
|
+
"prepaid",
|
|
16828
|
+
"gift_card"
|
|
16829
|
+
]
|
|
16830
|
+
},
|
|
16831
|
+
"amount_usd": {
|
|
16832
|
+
"type": "string",
|
|
16833
|
+
"description": "USD amount to load onto the card.",
|
|
16834
|
+
"example": "25.00"
|
|
16835
|
+
},
|
|
16836
|
+
"laso_server_id": {
|
|
16837
|
+
"type": "string",
|
|
16838
|
+
"description": "Optional Laso gift-card server/brand id (gift cards only)."
|
|
16839
|
+
},
|
|
16840
|
+
"country": {
|
|
16841
|
+
"type": "string",
|
|
16842
|
+
"description": "Optional country (prepaid cards; defaults to US)."
|
|
16843
|
+
}
|
|
16844
|
+
}
|
|
16845
|
+
},
|
|
16846
|
+
"CardResponse": {
|
|
16847
|
+
"type": "object",
|
|
16848
|
+
"description": "Masked card view — never contains PAN/CVV.",
|
|
16849
|
+
"required": [
|
|
16850
|
+
"id",
|
|
16851
|
+
"issuer",
|
|
16852
|
+
"kind",
|
|
16853
|
+
"currency",
|
|
16854
|
+
"status",
|
|
16855
|
+
"storage_mode",
|
|
16856
|
+
"reveal_policy",
|
|
16857
|
+
"created_at",
|
|
16858
|
+
"updated_at"
|
|
16213
16859
|
],
|
|
16214
16860
|
"properties": {
|
|
16215
16861
|
"id": {
|
|
@@ -19338,6 +19984,15 @@
|
|
|
19338
19984
|
"type": "string",
|
|
19339
19985
|
"format": "uuid",
|
|
19340
19986
|
"description": "Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.\n"
|
|
19987
|
+
},
|
|
19988
|
+
"raw_transaction": {
|
|
19989
|
+
"type": "string",
|
|
19990
|
+
"description": "Pre-built raw transaction as a base64-encoded byte string. When provided, the handler decodes and deep-inspects the transaction for policy evaluation before signing. Supported for non-EVM chains where the client constructs the transaction payload.\n"
|
|
19991
|
+
},
|
|
19992
|
+
"tron_transaction": {
|
|
19993
|
+
"type": "object",
|
|
19994
|
+
"additionalProperties": true,
|
|
19995
|
+
"description": "Pre-built Tron transaction JSON object. When provided, the handler signs the transaction as-is using the Tron protobuf format. Enables full Tron transaction type coverage beyond simple TRX/TRC-20 transfers.\n"
|
|
19341
19996
|
}
|
|
19342
19997
|
}
|
|
19343
19998
|
},
|
|
@@ -19992,6 +20647,15 @@
|
|
|
19992
20647
|
"type": "string",
|
|
19993
20648
|
"format": "uuid",
|
|
19994
20649
|
"description": "Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.\n"
|
|
20650
|
+
},
|
|
20651
|
+
"raw_transaction": {
|
|
20652
|
+
"type": "string",
|
|
20653
|
+
"description": "Pre-built raw transaction as a base64-encoded byte string. When provided, the handler decodes and deep-inspects the transaction for policy evaluation before signing. Supported for non-EVM chains where the client constructs the transaction payload.\n"
|
|
20654
|
+
},
|
|
20655
|
+
"tron_transaction": {
|
|
20656
|
+
"type": "object",
|
|
20657
|
+
"additionalProperties": true,
|
|
20658
|
+
"description": "Pre-built Tron transaction JSON object. When provided, the handler signs the transaction as-is using the Tron protobuf format. Enables full Tron transaction type coverage beyond simple TRX/TRC-20 transfers.\n"
|
|
19995
20659
|
}
|
|
19996
20660
|
}
|
|
19997
20661
|
},
|
|
@@ -21096,6 +21760,7 @@
|
|
|
21096
21760
|
"type": "object",
|
|
21097
21761
|
"required": [
|
|
21098
21762
|
"attested",
|
|
21763
|
+
"attestation_level",
|
|
21099
21764
|
"image_hash",
|
|
21100
21765
|
"identity_token",
|
|
21101
21766
|
"verification"
|
|
@@ -21103,7 +21768,17 @@
|
|
|
21103
21768
|
"properties": {
|
|
21104
21769
|
"attested": {
|
|
21105
21770
|
"type": "boolean",
|
|
21106
|
-
"description": "Whether
|
|
21771
|
+
"description": "Whether at least an identity token was obtained (true for identity,\nconfidential, or sev_snp levels). Backward-compatible boolean; prefer\nattestation_level for granularity.\n"
|
|
21772
|
+
},
|
|
21773
|
+
"attestation_level": {
|
|
21774
|
+
"type": "string",
|
|
21775
|
+
"enum": [
|
|
21776
|
+
"none",
|
|
21777
|
+
"identity",
|
|
21778
|
+
"confidential",
|
|
21779
|
+
"sev_snp"
|
|
21780
|
+
],
|
|
21781
|
+
"description": "Granularity of TEE attestation achieved. `none` = dev/non-GCE;\n`identity` = GCE metadata JWT only; `confidential` = CC claims present;\n`sev_snp` = full SEV-SNP measurement verified against image digest.\n"
|
|
21107
21782
|
},
|
|
21108
21783
|
"image_hash": {
|
|
21109
21784
|
"type": "string",
|
|
@@ -21113,6 +21788,11 @@
|
|
|
21113
21788
|
"type": "string",
|
|
21114
21789
|
"description": "GCE metadata identity JWT (verify against Google public keys)"
|
|
21115
21790
|
},
|
|
21791
|
+
"confidential_claims": {
|
|
21792
|
+
"nullable": true,
|
|
21793
|
+
"description": "Confidential Computing claims extracted from the identity JWT",
|
|
21794
|
+
"$ref": "#/components/schemas/ConfidentialClaims"
|
|
21795
|
+
},
|
|
21116
21796
|
"verification": {
|
|
21117
21797
|
"type": "object",
|
|
21118
21798
|
"properties": {
|
|
@@ -21133,6 +21813,28 @@
|
|
|
21133
21813
|
}
|
|
21134
21814
|
}
|
|
21135
21815
|
},
|
|
21816
|
+
"ConfidentialClaims": {
|
|
21817
|
+
"type": "object",
|
|
21818
|
+
"nullable": true,
|
|
21819
|
+
"properties": {
|
|
21820
|
+
"secboot": {
|
|
21821
|
+
"type": "boolean",
|
|
21822
|
+
"description": "Whether secure boot was enabled"
|
|
21823
|
+
},
|
|
21824
|
+
"hwmodel": {
|
|
21825
|
+
"type": "string",
|
|
21826
|
+
"description": "Hardware model string (e.g. GCP_AMD_SEV)"
|
|
21827
|
+
},
|
|
21828
|
+
"instance_confidentiality": {
|
|
21829
|
+
"type": "string",
|
|
21830
|
+
"description": "Instance confidentiality level from google.compute_engine"
|
|
21831
|
+
},
|
|
21832
|
+
"sw_name": {
|
|
21833
|
+
"type": "string",
|
|
21834
|
+
"description": "Software name claim (swname or sw_name)"
|
|
21835
|
+
}
|
|
21836
|
+
}
|
|
21837
|
+
},
|
|
21136
21838
|
"AuditEvent": {
|
|
21137
21839
|
"type": "object",
|
|
21138
21840
|
"properties": {
|
|
@@ -27322,519 +28024,917 @@
|
|
|
27322
28024
|
"min_approvals"
|
|
27323
28025
|
],
|
|
27324
28026
|
"properties": {
|
|
27325
|
-
"min_approvals": {
|
|
27326
|
-
"type": "integer"
|
|
28027
|
+
"min_approvals": {
|
|
28028
|
+
"type": "integer"
|
|
28029
|
+
},
|
|
28030
|
+
"required_roles": {
|
|
28031
|
+
"type": "array",
|
|
28032
|
+
"items": {
|
|
28033
|
+
"type": "string"
|
|
28034
|
+
}
|
|
28035
|
+
},
|
|
28036
|
+
"per_role_minimums": {
|
|
28037
|
+
"type": "object",
|
|
28038
|
+
"additionalProperties": {
|
|
28039
|
+
"type": "integer"
|
|
28040
|
+
}
|
|
28041
|
+
},
|
|
28042
|
+
"require_credential_types": {
|
|
28043
|
+
"type": "array",
|
|
28044
|
+
"items": {
|
|
28045
|
+
"type": "string",
|
|
28046
|
+
"enum": [
|
|
28047
|
+
"password",
|
|
28048
|
+
"passkey",
|
|
28049
|
+
"totp",
|
|
28050
|
+
"biometric",
|
|
28051
|
+
"api_key"
|
|
28052
|
+
]
|
|
28053
|
+
},
|
|
28054
|
+
"description": "At least one approval must use one of these credential types"
|
|
28055
|
+
}
|
|
28056
|
+
}
|
|
28057
|
+
},
|
|
28058
|
+
"SubmitPendingApprovalRequest": {
|
|
28059
|
+
"type": "object",
|
|
28060
|
+
"required": [
|
|
28061
|
+
"policy_id",
|
|
28062
|
+
"action",
|
|
28063
|
+
"action_payload"
|
|
28064
|
+
],
|
|
28065
|
+
"properties": {
|
|
28066
|
+
"policy_id": {
|
|
28067
|
+
"type": "string",
|
|
28068
|
+
"format": "uuid"
|
|
28069
|
+
},
|
|
28070
|
+
"action": {
|
|
28071
|
+
"type": "string"
|
|
28072
|
+
},
|
|
28073
|
+
"action_payload": {
|
|
28074
|
+
"type": "object"
|
|
28075
|
+
}
|
|
28076
|
+
}
|
|
28077
|
+
},
|
|
28078
|
+
"SubmitPendingApprovalResponse": {
|
|
28079
|
+
"type": "object",
|
|
28080
|
+
"properties": {
|
|
28081
|
+
"pending_approval_id": {
|
|
28082
|
+
"type": "string",
|
|
28083
|
+
"format": "uuid"
|
|
28084
|
+
},
|
|
28085
|
+
"required_approvals": {
|
|
28086
|
+
"type": "integer"
|
|
28087
|
+
},
|
|
28088
|
+
"current_approvals": {
|
|
28089
|
+
"type": "integer"
|
|
28090
|
+
},
|
|
28091
|
+
"expires_at": {
|
|
28092
|
+
"type": "string",
|
|
28093
|
+
"format": "date-time"
|
|
28094
|
+
},
|
|
28095
|
+
"status": {
|
|
28096
|
+
"type": "string"
|
|
28097
|
+
},
|
|
28098
|
+
"message": {
|
|
28099
|
+
"type": "string"
|
|
28100
|
+
}
|
|
28101
|
+
}
|
|
28102
|
+
},
|
|
28103
|
+
"ApprovePendingApprovalRequest": {
|
|
28104
|
+
"type": "object",
|
|
28105
|
+
"required": [
|
|
28106
|
+
"decision",
|
|
28107
|
+
"payload_hash"
|
|
28108
|
+
],
|
|
28109
|
+
"properties": {
|
|
28110
|
+
"decision": {
|
|
28111
|
+
"type": "string",
|
|
28112
|
+
"enum": [
|
|
28113
|
+
"approve",
|
|
28114
|
+
"reject"
|
|
28115
|
+
]
|
|
28116
|
+
},
|
|
28117
|
+
"payload_hash": {
|
|
28118
|
+
"type": "string"
|
|
28119
|
+
},
|
|
28120
|
+
"reason": {
|
|
28121
|
+
"type": "string"
|
|
28122
|
+
},
|
|
28123
|
+
"credential_type": {
|
|
28124
|
+
"type": "string",
|
|
28125
|
+
"enum": [
|
|
28126
|
+
"password",
|
|
28127
|
+
"passkey",
|
|
28128
|
+
"totp",
|
|
28129
|
+
"biometric",
|
|
28130
|
+
"api_key"
|
|
28131
|
+
],
|
|
28132
|
+
"description": "Authentication method used for this approval vote"
|
|
28133
|
+
}
|
|
28134
|
+
}
|
|
28135
|
+
},
|
|
28136
|
+
"PendingApprovalResponse": {
|
|
28137
|
+
"type": "object",
|
|
28138
|
+
"properties": {
|
|
28139
|
+
"id": {
|
|
28140
|
+
"type": "string",
|
|
28141
|
+
"format": "uuid"
|
|
28142
|
+
},
|
|
28143
|
+
"org_id": {
|
|
28144
|
+
"type": "string",
|
|
28145
|
+
"format": "uuid"
|
|
28146
|
+
},
|
|
28147
|
+
"policy_id": {
|
|
28148
|
+
"type": "string",
|
|
28149
|
+
"format": "uuid"
|
|
28150
|
+
},
|
|
28151
|
+
"action": {
|
|
28152
|
+
"type": "string"
|
|
28153
|
+
},
|
|
28154
|
+
"action_payload": {
|
|
28155
|
+
"type": "object"
|
|
28156
|
+
},
|
|
28157
|
+
"payload_hash": {
|
|
28158
|
+
"type": "string"
|
|
28159
|
+
},
|
|
28160
|
+
"submitted_by": {
|
|
28161
|
+
"type": "string",
|
|
28162
|
+
"format": "uuid"
|
|
28163
|
+
},
|
|
28164
|
+
"submitted_by_type": {
|
|
28165
|
+
"type": "string"
|
|
28166
|
+
},
|
|
28167
|
+
"status": {
|
|
28168
|
+
"type": "string"
|
|
28169
|
+
},
|
|
28170
|
+
"required_approvals": {
|
|
28171
|
+
"type": "integer"
|
|
28172
|
+
},
|
|
28173
|
+
"current_approvals": {
|
|
28174
|
+
"type": "integer"
|
|
28175
|
+
},
|
|
28176
|
+
"expires_at": {
|
|
28177
|
+
"type": "string",
|
|
28178
|
+
"format": "date-time"
|
|
28179
|
+
},
|
|
28180
|
+
"executed_at": {
|
|
28181
|
+
"type": "string",
|
|
28182
|
+
"format": "date-time"
|
|
28183
|
+
},
|
|
28184
|
+
"created_at": {
|
|
28185
|
+
"type": "string",
|
|
28186
|
+
"format": "date-time"
|
|
28187
|
+
},
|
|
28188
|
+
"updated_at": {
|
|
28189
|
+
"type": "string",
|
|
28190
|
+
"format": "date-time"
|
|
28191
|
+
},
|
|
28192
|
+
"signatures": {
|
|
28193
|
+
"type": "array",
|
|
28194
|
+
"items": {
|
|
28195
|
+
"$ref": "#/components/schemas/ApprovalSignatureResponse"
|
|
28196
|
+
}
|
|
28197
|
+
}
|
|
28198
|
+
}
|
|
28199
|
+
},
|
|
28200
|
+
"ApprovalSignatureResponse": {
|
|
28201
|
+
"type": "object",
|
|
28202
|
+
"properties": {
|
|
28203
|
+
"id": {
|
|
28204
|
+
"type": "string",
|
|
28205
|
+
"format": "uuid"
|
|
28206
|
+
},
|
|
28207
|
+
"approver_id": {
|
|
28208
|
+
"type": "string",
|
|
28209
|
+
"format": "uuid"
|
|
28210
|
+
},
|
|
28211
|
+
"approver_type": {
|
|
28212
|
+
"type": "string"
|
|
28213
|
+
},
|
|
28214
|
+
"decision": {
|
|
28215
|
+
"type": "string"
|
|
28216
|
+
},
|
|
28217
|
+
"reason": {
|
|
28218
|
+
"type": "string"
|
|
28219
|
+
},
|
|
28220
|
+
"created_at": {
|
|
28221
|
+
"type": "string",
|
|
28222
|
+
"format": "date-time"
|
|
28223
|
+
}
|
|
28224
|
+
}
|
|
28225
|
+
},
|
|
28226
|
+
"PendingApprovalListResponse": {
|
|
28227
|
+
"type": "object",
|
|
28228
|
+
"properties": {
|
|
28229
|
+
"pending_approvals": {
|
|
28230
|
+
"type": "array",
|
|
28231
|
+
"items": {
|
|
28232
|
+
"$ref": "#/components/schemas/PendingApprovalResponse"
|
|
28233
|
+
}
|
|
28234
|
+
},
|
|
28235
|
+
"total": {
|
|
28236
|
+
"type": "integer",
|
|
28237
|
+
"format": "int64"
|
|
28238
|
+
}
|
|
28239
|
+
}
|
|
28240
|
+
},
|
|
28241
|
+
"ExecutePendingApprovalResponse": {
|
|
28242
|
+
"type": "object",
|
|
28243
|
+
"properties": {
|
|
28244
|
+
"pending_approval_id": {
|
|
28245
|
+
"type": "string",
|
|
28246
|
+
"format": "uuid"
|
|
27327
28247
|
},
|
|
27328
|
-
"
|
|
27329
|
-
"type": "
|
|
27330
|
-
"items": {
|
|
27331
|
-
"type": "string"
|
|
27332
|
-
}
|
|
28248
|
+
"status": {
|
|
28249
|
+
"type": "string"
|
|
27333
28250
|
},
|
|
27334
|
-
"
|
|
27335
|
-
"type": "
|
|
27336
|
-
"
|
|
27337
|
-
"type": "integer"
|
|
27338
|
-
}
|
|
28251
|
+
"executed_at": {
|
|
28252
|
+
"type": "string",
|
|
28253
|
+
"format": "date-time"
|
|
27339
28254
|
},
|
|
27340
|
-
"
|
|
27341
|
-
"type": "
|
|
27342
|
-
"items": {
|
|
27343
|
-
"type": "string",
|
|
27344
|
-
"enum": [
|
|
27345
|
-
"password",
|
|
27346
|
-
"passkey",
|
|
27347
|
-
"totp",
|
|
27348
|
-
"biometric",
|
|
27349
|
-
"api_key"
|
|
27350
|
-
]
|
|
27351
|
-
},
|
|
27352
|
-
"description": "At least one approval must use one of these credential types"
|
|
28255
|
+
"result": {
|
|
28256
|
+
"type": "object"
|
|
27353
28257
|
}
|
|
27354
28258
|
}
|
|
27355
28259
|
},
|
|
27356
|
-
"
|
|
28260
|
+
"CreateSubOrgRequest": {
|
|
27357
28261
|
"type": "object",
|
|
27358
28262
|
"required": [
|
|
27359
|
-
"
|
|
27360
|
-
"action",
|
|
27361
|
-
"action_payload"
|
|
28263
|
+
"name"
|
|
27362
28264
|
],
|
|
27363
28265
|
"properties": {
|
|
27364
|
-
"
|
|
28266
|
+
"name": {
|
|
27365
28267
|
"type": "string",
|
|
27366
|
-
"
|
|
28268
|
+
"minLength": 1,
|
|
28269
|
+
"maxLength": 128
|
|
27367
28270
|
},
|
|
27368
|
-
"
|
|
28271
|
+
"description": {
|
|
27369
28272
|
"type": "string"
|
|
27370
28273
|
},
|
|
27371
|
-
"
|
|
27372
|
-
"type": "
|
|
28274
|
+
"billing_model": {
|
|
28275
|
+
"type": "string",
|
|
28276
|
+
"enum": [
|
|
28277
|
+
"inherit",
|
|
28278
|
+
"independent"
|
|
28279
|
+
],
|
|
28280
|
+
"default": "inherit"
|
|
27373
28281
|
}
|
|
27374
28282
|
}
|
|
27375
28283
|
},
|
|
27376
|
-
"
|
|
28284
|
+
"SubOrgResponse": {
|
|
27377
28285
|
"type": "object",
|
|
27378
28286
|
"properties": {
|
|
27379
|
-
"
|
|
28287
|
+
"id": {
|
|
27380
28288
|
"type": "string",
|
|
27381
28289
|
"format": "uuid"
|
|
27382
28290
|
},
|
|
27383
|
-
"
|
|
27384
|
-
"type": "integer"
|
|
27385
|
-
},
|
|
27386
|
-
"current_approvals": {
|
|
27387
|
-
"type": "integer"
|
|
27388
|
-
},
|
|
27389
|
-
"expires_at": {
|
|
28291
|
+
"parent_org_id": {
|
|
27390
28292
|
"type": "string",
|
|
27391
|
-
"format": "
|
|
28293
|
+
"format": "uuid"
|
|
27392
28294
|
},
|
|
27393
|
-
"
|
|
28295
|
+
"name": {
|
|
27394
28296
|
"type": "string"
|
|
27395
28297
|
},
|
|
27396
|
-
"
|
|
28298
|
+
"description": {
|
|
27397
28299
|
"type": "string"
|
|
28300
|
+
},
|
|
28301
|
+
"billing_model": {
|
|
28302
|
+
"type": "string"
|
|
28303
|
+
},
|
|
28304
|
+
"status": {
|
|
28305
|
+
"type": "string",
|
|
28306
|
+
"enum": [
|
|
28307
|
+
"active",
|
|
28308
|
+
"archived"
|
|
28309
|
+
]
|
|
28310
|
+
},
|
|
28311
|
+
"created_at": {
|
|
28312
|
+
"type": "string",
|
|
28313
|
+
"format": "date-time"
|
|
27398
28314
|
}
|
|
27399
28315
|
}
|
|
27400
28316
|
},
|
|
27401
|
-
"
|
|
28317
|
+
"SubOrgListResponse": {
|
|
28318
|
+
"type": "object",
|
|
28319
|
+
"properties": {
|
|
28320
|
+
"sub_orgs": {
|
|
28321
|
+
"type": "array",
|
|
28322
|
+
"items": {
|
|
28323
|
+
"$ref": "#/components/schemas/SubOrgResponse"
|
|
28324
|
+
}
|
|
28325
|
+
}
|
|
28326
|
+
}
|
|
28327
|
+
},
|
|
28328
|
+
"SubOrgPermissionRequest": {
|
|
27402
28329
|
"type": "object",
|
|
27403
28330
|
"required": [
|
|
27404
|
-
"
|
|
27405
|
-
"payload_hash"
|
|
28331
|
+
"permission"
|
|
27406
28332
|
],
|
|
27407
28333
|
"properties": {
|
|
27408
|
-
"
|
|
28334
|
+
"permission": {
|
|
27409
28335
|
"type": "string",
|
|
27410
|
-
"
|
|
27411
|
-
"approve",
|
|
27412
|
-
"reject"
|
|
27413
|
-
]
|
|
27414
|
-
},
|
|
27415
|
-
"payload_hash": {
|
|
27416
|
-
"type": "string"
|
|
27417
|
-
},
|
|
27418
|
-
"reason": {
|
|
27419
|
-
"type": "string"
|
|
28336
|
+
"description": "Permission to grant (e.g. vaults:read, agents:write)"
|
|
27420
28337
|
},
|
|
27421
|
-
"
|
|
27422
|
-
"type": "
|
|
27423
|
-
"
|
|
27424
|
-
"
|
|
27425
|
-
"
|
|
27426
|
-
|
|
27427
|
-
"biometric",
|
|
27428
|
-
"api_key"
|
|
27429
|
-
],
|
|
27430
|
-
"description": "Authentication method used for this approval vote"
|
|
28338
|
+
"resource_ids": {
|
|
28339
|
+
"type": "array",
|
|
28340
|
+
"items": {
|
|
28341
|
+
"type": "string",
|
|
28342
|
+
"format": "uuid"
|
|
28343
|
+
}
|
|
27431
28344
|
}
|
|
27432
28345
|
}
|
|
27433
28346
|
},
|
|
27434
|
-
"
|
|
28347
|
+
"SubOrgAddUserRequest": {
|
|
27435
28348
|
"type": "object",
|
|
28349
|
+
"required": [
|
|
28350
|
+
"user_id"
|
|
28351
|
+
],
|
|
27436
28352
|
"properties": {
|
|
27437
|
-
"
|
|
28353
|
+
"user_id": {
|
|
27438
28354
|
"type": "string",
|
|
27439
28355
|
"format": "uuid"
|
|
27440
28356
|
},
|
|
27441
|
-
"
|
|
28357
|
+
"role": {
|
|
27442
28358
|
"type": "string",
|
|
27443
|
-
"
|
|
28359
|
+
"enum": [
|
|
28360
|
+
"admin",
|
|
28361
|
+
"member",
|
|
28362
|
+
"viewer"
|
|
28363
|
+
],
|
|
28364
|
+
"default": "member"
|
|
28365
|
+
}
|
|
28366
|
+
}
|
|
28367
|
+
},
|
|
28368
|
+
"SubOrgGenerateWalletsRequest": {
|
|
28369
|
+
"type": "object",
|
|
28370
|
+
"properties": {
|
|
28371
|
+
"chains": {
|
|
28372
|
+
"type": "array",
|
|
28373
|
+
"items": {
|
|
28374
|
+
"type": "string"
|
|
28375
|
+
}
|
|
28376
|
+
}
|
|
28377
|
+
}
|
|
28378
|
+
},
|
|
28379
|
+
"PortfolioResponse": {
|
|
28380
|
+
"type": "object",
|
|
28381
|
+
"properties": {
|
|
28382
|
+
"wallets": {
|
|
28383
|
+
"type": "array",
|
|
28384
|
+
"items": {
|
|
28385
|
+
"$ref": "#/components/schemas/PortfolioWalletEntry"
|
|
28386
|
+
}
|
|
27444
28387
|
},
|
|
27445
|
-
"
|
|
28388
|
+
"total_usd_estimate": {
|
|
28389
|
+
"type": "string"
|
|
28390
|
+
}
|
|
28391
|
+
}
|
|
28392
|
+
},
|
|
28393
|
+
"PortfolioWalletEntry": {
|
|
28394
|
+
"type": "object",
|
|
28395
|
+
"properties": {
|
|
28396
|
+
"wallet_type": {
|
|
27446
28397
|
"type": "string",
|
|
27447
|
-
"
|
|
28398
|
+
"enum": [
|
|
28399
|
+
"treasury",
|
|
28400
|
+
"signing_key",
|
|
28401
|
+
"smart_account"
|
|
28402
|
+
]
|
|
27448
28403
|
},
|
|
27449
|
-
"
|
|
28404
|
+
"chain": {
|
|
27450
28405
|
"type": "string"
|
|
27451
28406
|
},
|
|
27452
|
-
"
|
|
27453
|
-
"type": "
|
|
28407
|
+
"address": {
|
|
28408
|
+
"type": "string"
|
|
27454
28409
|
},
|
|
27455
|
-
"
|
|
28410
|
+
"native_balance": {
|
|
27456
28411
|
"type": "string"
|
|
27457
28412
|
},
|
|
27458
|
-
"
|
|
27459
|
-
"type": "string"
|
|
27460
|
-
"format": "uuid"
|
|
28413
|
+
"native_balance_usd": {
|
|
28414
|
+
"type": "string"
|
|
27461
28415
|
},
|
|
27462
|
-
"
|
|
28416
|
+
"tokens": {
|
|
28417
|
+
"type": "array",
|
|
28418
|
+
"items": {
|
|
28419
|
+
"$ref": "#/components/schemas/PortfolioTokenBalance"
|
|
28420
|
+
}
|
|
28421
|
+
}
|
|
28422
|
+
}
|
|
28423
|
+
},
|
|
28424
|
+
"PortfolioTokenBalance": {
|
|
28425
|
+
"type": "object",
|
|
28426
|
+
"properties": {
|
|
28427
|
+
"contract_address": {
|
|
27463
28428
|
"type": "string"
|
|
27464
28429
|
},
|
|
27465
|
-
"
|
|
28430
|
+
"symbol": {
|
|
27466
28431
|
"type": "string"
|
|
27467
28432
|
},
|
|
27468
|
-
"
|
|
27469
|
-
"type": "
|
|
28433
|
+
"name": {
|
|
28434
|
+
"type": "string"
|
|
27470
28435
|
},
|
|
27471
|
-
"
|
|
27472
|
-
"type": "
|
|
28436
|
+
"balance": {
|
|
28437
|
+
"type": "string"
|
|
27473
28438
|
},
|
|
27474
|
-
"
|
|
27475
|
-
"type": "string"
|
|
27476
|
-
"format": "date-time"
|
|
28439
|
+
"balance_usd": {
|
|
28440
|
+
"type": "string"
|
|
27477
28441
|
},
|
|
27478
|
-
"
|
|
27479
|
-
"type": "
|
|
27480
|
-
|
|
28442
|
+
"decimals": {
|
|
28443
|
+
"type": "integer"
|
|
28444
|
+
}
|
|
28445
|
+
}
|
|
28446
|
+
},
|
|
28447
|
+
"ImportSmartAccountRequest": {
|
|
28448
|
+
"type": "object",
|
|
28449
|
+
"required": [
|
|
28450
|
+
"chain",
|
|
28451
|
+
"chain_id",
|
|
28452
|
+
"safe_address"
|
|
28453
|
+
],
|
|
28454
|
+
"properties": {
|
|
28455
|
+
"chain": {
|
|
28456
|
+
"type": "string"
|
|
27481
28457
|
},
|
|
27482
|
-
"
|
|
27483
|
-
"type": "
|
|
27484
|
-
"format": "date-time"
|
|
28458
|
+
"chain_id": {
|
|
28459
|
+
"type": "integer"
|
|
27485
28460
|
},
|
|
27486
|
-
"
|
|
27487
|
-
"type": "string"
|
|
27488
|
-
"format": "date-time"
|
|
28461
|
+
"safe_address": {
|
|
28462
|
+
"type": "string"
|
|
27489
28463
|
},
|
|
27490
|
-
"
|
|
27491
|
-
"type": "
|
|
27492
|
-
"
|
|
27493
|
-
|
|
27494
|
-
}
|
|
28464
|
+
"verify": {
|
|
28465
|
+
"type": "boolean",
|
|
28466
|
+
"default": true,
|
|
28467
|
+
"description": "Verify on-chain Safe ownership"
|
|
27495
28468
|
}
|
|
27496
28469
|
}
|
|
27497
28470
|
},
|
|
27498
|
-
"
|
|
28471
|
+
"ImportSmartAccountResponse": {
|
|
27499
28472
|
"type": "object",
|
|
27500
28473
|
"properties": {
|
|
27501
28474
|
"id": {
|
|
27502
28475
|
"type": "string",
|
|
27503
28476
|
"format": "uuid"
|
|
27504
28477
|
},
|
|
27505
|
-
"
|
|
28478
|
+
"agent_id": {
|
|
27506
28479
|
"type": "string",
|
|
27507
28480
|
"format": "uuid"
|
|
27508
28481
|
},
|
|
27509
|
-
"
|
|
28482
|
+
"chain": {
|
|
27510
28483
|
"type": "string"
|
|
27511
28484
|
},
|
|
27512
|
-
"
|
|
27513
|
-
"type": "
|
|
28485
|
+
"chain_id": {
|
|
28486
|
+
"type": "integer"
|
|
27514
28487
|
},
|
|
27515
|
-
"
|
|
28488
|
+
"safe_address": {
|
|
27516
28489
|
"type": "string"
|
|
27517
28490
|
},
|
|
28491
|
+
"nonce": {
|
|
28492
|
+
"type": "integer",
|
|
28493
|
+
"nullable": true
|
|
28494
|
+
},
|
|
27518
28495
|
"created_at": {
|
|
27519
28496
|
"type": "string",
|
|
27520
28497
|
"format": "date-time"
|
|
27521
28498
|
}
|
|
27522
28499
|
}
|
|
27523
28500
|
},
|
|
27524
|
-
"
|
|
28501
|
+
"EnvVar": {
|
|
27525
28502
|
"type": "object",
|
|
27526
28503
|
"properties": {
|
|
27527
|
-
"
|
|
28504
|
+
"id": {
|
|
28505
|
+
"type": "string",
|
|
28506
|
+
"format": "uuid"
|
|
28507
|
+
},
|
|
28508
|
+
"key": {
|
|
28509
|
+
"type": "string"
|
|
28510
|
+
},
|
|
28511
|
+
"environments": {
|
|
27528
28512
|
"type": "array",
|
|
27529
28513
|
"items": {
|
|
27530
|
-
"
|
|
28514
|
+
"type": "string"
|
|
27531
28515
|
}
|
|
27532
28516
|
},
|
|
27533
|
-
"
|
|
27534
|
-
"type": "integer",
|
|
27535
|
-
"format": "int64"
|
|
27536
|
-
}
|
|
27537
|
-
}
|
|
27538
|
-
},
|
|
27539
|
-
"ExecutePendingApprovalResponse": {
|
|
27540
|
-
"type": "object",
|
|
27541
|
-
"properties": {
|
|
27542
|
-
"pending_approval_id": {
|
|
28517
|
+
"git_branch": {
|
|
27543
28518
|
"type": "string",
|
|
27544
|
-
"
|
|
28519
|
+
"nullable": true
|
|
27545
28520
|
},
|
|
27546
|
-
"
|
|
27547
|
-
"type": "
|
|
28521
|
+
"sensitive": {
|
|
28522
|
+
"type": "boolean"
|
|
27548
28523
|
},
|
|
27549
|
-
"
|
|
28524
|
+
"comment": {
|
|
28525
|
+
"type": "string",
|
|
28526
|
+
"nullable": true
|
|
28527
|
+
},
|
|
28528
|
+
"value": {
|
|
28529
|
+
"type": "string",
|
|
28530
|
+
"nullable": true,
|
|
28531
|
+
"description": "Null for sensitive vars in list responses"
|
|
28532
|
+
},
|
|
28533
|
+
"version": {
|
|
28534
|
+
"type": "integer"
|
|
28535
|
+
},
|
|
28536
|
+
"created_by": {
|
|
28537
|
+
"type": "string",
|
|
28538
|
+
"nullable": true
|
|
28539
|
+
},
|
|
28540
|
+
"created_at": {
|
|
27550
28541
|
"type": "string",
|
|
27551
28542
|
"format": "date-time"
|
|
27552
28543
|
},
|
|
27553
|
-
"
|
|
27554
|
-
"type": "
|
|
28544
|
+
"updated_at": {
|
|
28545
|
+
"type": "string",
|
|
28546
|
+
"format": "date-time"
|
|
27555
28547
|
}
|
|
27556
28548
|
}
|
|
27557
28549
|
},
|
|
27558
|
-
"
|
|
28550
|
+
"CreateEnvVarRequest": {
|
|
27559
28551
|
"type": "object",
|
|
27560
28552
|
"required": [
|
|
27561
|
-
"
|
|
28553
|
+
"key",
|
|
28554
|
+
"value"
|
|
27562
28555
|
],
|
|
27563
28556
|
"properties": {
|
|
27564
|
-
"
|
|
28557
|
+
"key": {
|
|
27565
28558
|
"type": "string",
|
|
27566
|
-
"
|
|
27567
|
-
"maxLength": 128
|
|
28559
|
+
"description": "Uppercase alphanumeric + underscore, 1-256 chars"
|
|
27568
28560
|
},
|
|
27569
|
-
"
|
|
28561
|
+
"value": {
|
|
27570
28562
|
"type": "string"
|
|
27571
28563
|
},
|
|
27572
|
-
"
|
|
27573
|
-
"type": "
|
|
27574
|
-
"
|
|
27575
|
-
"
|
|
27576
|
-
|
|
27577
|
-
|
|
27578
|
-
|
|
27579
|
-
|
|
27580
|
-
|
|
27581
|
-
|
|
27582
|
-
"SubOrgResponse": {
|
|
27583
|
-
"type": "object",
|
|
27584
|
-
"properties": {
|
|
27585
|
-
"id": {
|
|
27586
|
-
"type": "string",
|
|
27587
|
-
"format": "uuid"
|
|
28564
|
+
"environments": {
|
|
28565
|
+
"type": "array",
|
|
28566
|
+
"items": {
|
|
28567
|
+
"type": "string"
|
|
28568
|
+
},
|
|
28569
|
+
"default": [
|
|
28570
|
+
"production",
|
|
28571
|
+
"preview",
|
|
28572
|
+
"development"
|
|
28573
|
+
]
|
|
27588
28574
|
},
|
|
27589
|
-
"
|
|
28575
|
+
"git_branch": {
|
|
27590
28576
|
"type": "string",
|
|
27591
|
-
"
|
|
27592
|
-
},
|
|
27593
|
-
"name": {
|
|
27594
|
-
"type": "string"
|
|
28577
|
+
"description": "Branch override (preview only)"
|
|
27595
28578
|
},
|
|
27596
|
-
"
|
|
27597
|
-
"type": "
|
|
28579
|
+
"sensitive": {
|
|
28580
|
+
"type": "boolean",
|
|
28581
|
+
"default": false
|
|
27598
28582
|
},
|
|
27599
|
-
"
|
|
28583
|
+
"comment": {
|
|
27600
28584
|
"type": "string"
|
|
27601
|
-
},
|
|
27602
|
-
"status": {
|
|
27603
|
-
"type": "string",
|
|
27604
|
-
"enum": [
|
|
27605
|
-
"active",
|
|
27606
|
-
"archived"
|
|
27607
|
-
]
|
|
27608
|
-
},
|
|
27609
|
-
"created_at": {
|
|
27610
|
-
"type": "string",
|
|
27611
|
-
"format": "date-time"
|
|
27612
28585
|
}
|
|
27613
28586
|
}
|
|
27614
28587
|
},
|
|
27615
|
-
"
|
|
28588
|
+
"UpdateEnvVarRequest": {
|
|
27616
28589
|
"type": "object",
|
|
27617
28590
|
"properties": {
|
|
27618
|
-
"
|
|
28591
|
+
"value": {
|
|
28592
|
+
"type": "string"
|
|
28593
|
+
},
|
|
28594
|
+
"environments": {
|
|
27619
28595
|
"type": "array",
|
|
27620
28596
|
"items": {
|
|
27621
|
-
"
|
|
28597
|
+
"type": "string"
|
|
27622
28598
|
}
|
|
28599
|
+
},
|
|
28600
|
+
"sensitive": {
|
|
28601
|
+
"type": "boolean"
|
|
28602
|
+
},
|
|
28603
|
+
"comment": {
|
|
28604
|
+
"type": "string"
|
|
27623
28605
|
}
|
|
27624
28606
|
}
|
|
27625
28607
|
},
|
|
27626
|
-
"
|
|
28608
|
+
"ResolveEnvVarsResponse": {
|
|
27627
28609
|
"type": "object",
|
|
27628
|
-
"required": [
|
|
27629
|
-
"permission"
|
|
27630
|
-
],
|
|
27631
28610
|
"properties": {
|
|
27632
|
-
"
|
|
27633
|
-
"type": "
|
|
27634
|
-
"
|
|
28611
|
+
"vars": {
|
|
28612
|
+
"type": "object",
|
|
28613
|
+
"additionalProperties": {
|
|
28614
|
+
"type": "string"
|
|
28615
|
+
}
|
|
27635
28616
|
},
|
|
27636
|
-
"
|
|
27637
|
-
"type": "
|
|
27638
|
-
"
|
|
28617
|
+
"sources": {
|
|
28618
|
+
"type": "object",
|
|
28619
|
+
"additionalProperties": {
|
|
27639
28620
|
"type": "string",
|
|
27640
|
-
"
|
|
28621
|
+
"enum": [
|
|
28622
|
+
"shared",
|
|
28623
|
+
"vault",
|
|
28624
|
+
"branch_override"
|
|
28625
|
+
]
|
|
27641
28626
|
}
|
|
28627
|
+
},
|
|
28628
|
+
"environment": {
|
|
28629
|
+
"type": "string"
|
|
28630
|
+
},
|
|
28631
|
+
"git_branch": {
|
|
28632
|
+
"type": "string",
|
|
28633
|
+
"nullable": true
|
|
28634
|
+
},
|
|
28635
|
+
"resolved_at": {
|
|
28636
|
+
"type": "string",
|
|
28637
|
+
"format": "date-time"
|
|
27642
28638
|
}
|
|
27643
28639
|
}
|
|
27644
28640
|
},
|
|
27645
|
-
"
|
|
28641
|
+
"VaultEnvironment": {
|
|
27646
28642
|
"type": "object",
|
|
27647
|
-
"required": [
|
|
27648
|
-
"user_id"
|
|
27649
|
-
],
|
|
27650
28643
|
"properties": {
|
|
27651
|
-
"
|
|
28644
|
+
"id": {
|
|
27652
28645
|
"type": "string",
|
|
27653
28646
|
"format": "uuid"
|
|
27654
28647
|
},
|
|
27655
|
-
"
|
|
28648
|
+
"slug": {
|
|
28649
|
+
"type": "string"
|
|
28650
|
+
},
|
|
28651
|
+
"description": {
|
|
27656
28652
|
"type": "string",
|
|
27657
|
-
"
|
|
27658
|
-
|
|
27659
|
-
|
|
27660
|
-
|
|
27661
|
-
|
|
27662
|
-
|
|
27663
|
-
|
|
27664
|
-
|
|
27665
|
-
|
|
27666
|
-
|
|
27667
|
-
|
|
27668
|
-
|
|
27669
|
-
"
|
|
27670
|
-
"type": "
|
|
27671
|
-
"
|
|
27672
|
-
"type": "string"
|
|
27673
|
-
}
|
|
28653
|
+
"nullable": true
|
|
28654
|
+
},
|
|
28655
|
+
"is_builtin": {
|
|
28656
|
+
"type": "boolean"
|
|
28657
|
+
},
|
|
28658
|
+
"copied_from": {
|
|
28659
|
+
"type": "string",
|
|
28660
|
+
"nullable": true
|
|
28661
|
+
},
|
|
28662
|
+
"is_detached": {
|
|
28663
|
+
"type": "boolean"
|
|
28664
|
+
},
|
|
28665
|
+
"created_at": {
|
|
28666
|
+
"type": "string",
|
|
28667
|
+
"format": "date-time"
|
|
27674
28668
|
}
|
|
27675
28669
|
}
|
|
27676
28670
|
},
|
|
27677
|
-
"
|
|
28671
|
+
"CreateEnvironmentRequest": {
|
|
27678
28672
|
"type": "object",
|
|
28673
|
+
"required": [
|
|
28674
|
+
"slug"
|
|
28675
|
+
],
|
|
27679
28676
|
"properties": {
|
|
27680
|
-
"
|
|
27681
|
-
"type": "
|
|
27682
|
-
"
|
|
27683
|
-
"$ref": "#/components/schemas/PortfolioWalletEntry"
|
|
27684
|
-
}
|
|
28677
|
+
"slug": {
|
|
28678
|
+
"type": "string",
|
|
28679
|
+
"description": "Lowercase alphanumeric + hyphens, 2-30 chars"
|
|
27685
28680
|
},
|
|
27686
|
-
"
|
|
28681
|
+
"description": {
|
|
27687
28682
|
"type": "string"
|
|
28683
|
+
},
|
|
28684
|
+
"copy_from": {
|
|
28685
|
+
"type": "string",
|
|
28686
|
+
"description": "Copy env vars from this environment"
|
|
27688
28687
|
}
|
|
27689
28688
|
}
|
|
27690
28689
|
},
|
|
27691
|
-
"
|
|
28690
|
+
"OrgEnvVar": {
|
|
27692
28691
|
"type": "object",
|
|
27693
28692
|
"properties": {
|
|
27694
|
-
"
|
|
28693
|
+
"id": {
|
|
27695
28694
|
"type": "string",
|
|
27696
|
-
"
|
|
27697
|
-
"treasury",
|
|
27698
|
-
"signing_key",
|
|
27699
|
-
"smart_account"
|
|
27700
|
-
]
|
|
28695
|
+
"format": "uuid"
|
|
27701
28696
|
},
|
|
27702
|
-
"
|
|
28697
|
+
"key": {
|
|
27703
28698
|
"type": "string"
|
|
27704
28699
|
},
|
|
27705
|
-
"
|
|
27706
|
-
"type": "
|
|
28700
|
+
"environments": {
|
|
28701
|
+
"type": "array",
|
|
28702
|
+
"items": {
|
|
28703
|
+
"type": "string"
|
|
28704
|
+
}
|
|
27707
28705
|
},
|
|
27708
|
-
"
|
|
27709
|
-
"type": "
|
|
28706
|
+
"sensitive": {
|
|
28707
|
+
"type": "boolean"
|
|
27710
28708
|
},
|
|
27711
|
-
"
|
|
27712
|
-
"type": "string"
|
|
28709
|
+
"comment": {
|
|
28710
|
+
"type": "string",
|
|
28711
|
+
"nullable": true
|
|
27713
28712
|
},
|
|
27714
|
-
"
|
|
28713
|
+
"value": {
|
|
28714
|
+
"type": "string",
|
|
28715
|
+
"nullable": true
|
|
28716
|
+
},
|
|
28717
|
+
"version": {
|
|
28718
|
+
"type": "integer"
|
|
28719
|
+
},
|
|
28720
|
+
"linked_vaults": {
|
|
27715
28721
|
"type": "array",
|
|
27716
28722
|
"items": {
|
|
27717
|
-
"
|
|
28723
|
+
"type": "string",
|
|
28724
|
+
"format": "uuid"
|
|
27718
28725
|
}
|
|
28726
|
+
},
|
|
28727
|
+
"created_at": {
|
|
28728
|
+
"type": "string",
|
|
28729
|
+
"format": "date-time"
|
|
28730
|
+
},
|
|
28731
|
+
"updated_at": {
|
|
28732
|
+
"type": "string",
|
|
28733
|
+
"format": "date-time"
|
|
27719
28734
|
}
|
|
27720
28735
|
}
|
|
27721
28736
|
},
|
|
27722
|
-
"
|
|
28737
|
+
"CreateOrgEnvVarRequest": {
|
|
27723
28738
|
"type": "object",
|
|
28739
|
+
"required": [
|
|
28740
|
+
"key",
|
|
28741
|
+
"value"
|
|
28742
|
+
],
|
|
27724
28743
|
"properties": {
|
|
27725
|
-
"
|
|
28744
|
+
"key": {
|
|
27726
28745
|
"type": "string"
|
|
27727
28746
|
},
|
|
27728
|
-
"
|
|
28747
|
+
"value": {
|
|
27729
28748
|
"type": "string"
|
|
27730
28749
|
},
|
|
27731
|
-
"
|
|
27732
|
-
"type": "
|
|
28750
|
+
"environments": {
|
|
28751
|
+
"type": "array",
|
|
28752
|
+
"items": {
|
|
28753
|
+
"type": "string"
|
|
28754
|
+
},
|
|
28755
|
+
"default": [
|
|
28756
|
+
"production",
|
|
28757
|
+
"preview",
|
|
28758
|
+
"development"
|
|
28759
|
+
]
|
|
27733
28760
|
},
|
|
27734
|
-
"
|
|
27735
|
-
"type": "
|
|
28761
|
+
"sensitive": {
|
|
28762
|
+
"type": "boolean",
|
|
28763
|
+
"default": false
|
|
27736
28764
|
},
|
|
27737
|
-
"
|
|
28765
|
+
"comment": {
|
|
27738
28766
|
"type": "string"
|
|
27739
|
-
},
|
|
27740
|
-
"decimals": {
|
|
27741
|
-
"type": "integer"
|
|
27742
28767
|
}
|
|
27743
28768
|
}
|
|
27744
28769
|
},
|
|
27745
|
-
"
|
|
28770
|
+
"UpdateOrgEnvVarRequest": {
|
|
27746
28771
|
"type": "object",
|
|
27747
|
-
"required": [
|
|
27748
|
-
"chain",
|
|
27749
|
-
"chain_id",
|
|
27750
|
-
"safe_address"
|
|
27751
|
-
],
|
|
27752
28772
|
"properties": {
|
|
27753
|
-
"
|
|
28773
|
+
"value": {
|
|
27754
28774
|
"type": "string"
|
|
27755
28775
|
},
|
|
27756
|
-
"
|
|
27757
|
-
"type": "
|
|
28776
|
+
"environments": {
|
|
28777
|
+
"type": "array",
|
|
28778
|
+
"items": {
|
|
28779
|
+
"type": "string"
|
|
28780
|
+
}
|
|
27758
28781
|
},
|
|
27759
|
-
"
|
|
28782
|
+
"comment": {
|
|
27760
28783
|
"type": "string"
|
|
27761
|
-
},
|
|
27762
|
-
"verify": {
|
|
27763
|
-
"type": "boolean",
|
|
27764
|
-
"default": true,
|
|
27765
|
-
"description": "Verify on-chain Safe ownership"
|
|
27766
28784
|
}
|
|
27767
28785
|
}
|
|
27768
28786
|
},
|
|
27769
|
-
"
|
|
28787
|
+
"CreateWalletAccessPolicyRequest": {
|
|
27770
28788
|
"type": "object",
|
|
28789
|
+
"required": [
|
|
28790
|
+
"scope_type",
|
|
28791
|
+
"principal_type",
|
|
28792
|
+
"principal_id"
|
|
28793
|
+
],
|
|
27771
28794
|
"properties": {
|
|
27772
|
-
"
|
|
28795
|
+
"scope_type": {
|
|
27773
28796
|
"type": "string",
|
|
27774
|
-
"
|
|
28797
|
+
"enum": [
|
|
28798
|
+
"wallet",
|
|
28799
|
+
"platform_app",
|
|
28800
|
+
"org"
|
|
28801
|
+
],
|
|
28802
|
+
"description": "Policy scope — org-wide, platform app, or single wallet"
|
|
27775
28803
|
},
|
|
27776
|
-
"
|
|
28804
|
+
"scope_id": {
|
|
27777
28805
|
"type": "string",
|
|
27778
|
-
"format": "uuid"
|
|
28806
|
+
"format": "uuid",
|
|
28807
|
+
"nullable": true,
|
|
28808
|
+
"description": "Wallet or platform app UUID when scope_type is not org"
|
|
27779
28809
|
},
|
|
27780
|
-
"
|
|
27781
|
-
"type": "string"
|
|
28810
|
+
"principal_type": {
|
|
28811
|
+
"type": "string",
|
|
28812
|
+
"enum": [
|
|
28813
|
+
"user",
|
|
28814
|
+
"agent",
|
|
28815
|
+
"role",
|
|
28816
|
+
"platform_app"
|
|
28817
|
+
],
|
|
28818
|
+
"description": "Who receives the grant"
|
|
27782
28819
|
},
|
|
27783
|
-
"
|
|
27784
|
-
"type": "
|
|
28820
|
+
"principal_id": {
|
|
28821
|
+
"type": "string",
|
|
28822
|
+
"description": "User/agent UUID, role name, or platform app UUID"
|
|
27785
28823
|
},
|
|
27786
|
-
"
|
|
27787
|
-
"type": "
|
|
28824
|
+
"can_sign": {
|
|
28825
|
+
"type": "boolean",
|
|
28826
|
+
"default": false
|
|
27788
28827
|
},
|
|
27789
|
-
"
|
|
27790
|
-
"type": "
|
|
27791
|
-
"
|
|
28828
|
+
"can_view_balance": {
|
|
28829
|
+
"type": "boolean",
|
|
28830
|
+
"default": true
|
|
27792
28831
|
},
|
|
27793
|
-
"
|
|
28832
|
+
"can_export": {
|
|
28833
|
+
"type": "boolean",
|
|
28834
|
+
"default": false
|
|
28835
|
+
},
|
|
28836
|
+
"can_send": {
|
|
28837
|
+
"type": "boolean",
|
|
28838
|
+
"default": false
|
|
28839
|
+
},
|
|
28840
|
+
"can_swap": {
|
|
28841
|
+
"type": "boolean",
|
|
28842
|
+
"default": false
|
|
28843
|
+
},
|
|
28844
|
+
"allowed_chains": {
|
|
28845
|
+
"type": "array",
|
|
28846
|
+
"items": {
|
|
28847
|
+
"type": "string"
|
|
28848
|
+
},
|
|
28849
|
+
"description": "Chains this policy applies to (empty = all)"
|
|
28850
|
+
},
|
|
28851
|
+
"max_value_per_tx_eth": {
|
|
28852
|
+
"type": "string",
|
|
28853
|
+
"description": "Max value per transaction in ETH"
|
|
28854
|
+
},
|
|
28855
|
+
"daily_limit_eth": {
|
|
28856
|
+
"type": "string",
|
|
28857
|
+
"description": "Daily spend limit in ETH"
|
|
28858
|
+
},
|
|
28859
|
+
"conditions": {
|
|
28860
|
+
"type": "object",
|
|
28861
|
+
"description": "Additional JSON conditions (reserved for future enforcement)"
|
|
28862
|
+
},
|
|
28863
|
+
"expires_at": {
|
|
27794
28864
|
"type": "string",
|
|
27795
28865
|
"format": "date-time"
|
|
27796
28866
|
}
|
|
27797
28867
|
}
|
|
27798
28868
|
},
|
|
27799
|
-
"
|
|
28869
|
+
"WalletAccessPolicyResponse": {
|
|
27800
28870
|
"type": "object",
|
|
27801
28871
|
"properties": {
|
|
27802
28872
|
"id": {
|
|
27803
28873
|
"type": "string",
|
|
27804
28874
|
"format": "uuid"
|
|
27805
28875
|
},
|
|
27806
|
-
"
|
|
28876
|
+
"org_id": {
|
|
28877
|
+
"type": "string",
|
|
28878
|
+
"format": "uuid"
|
|
28879
|
+
},
|
|
28880
|
+
"scope_type": {
|
|
27807
28881
|
"type": "string"
|
|
27808
28882
|
},
|
|
27809
|
-
"
|
|
28883
|
+
"scope_id": {
|
|
28884
|
+
"type": "string",
|
|
28885
|
+
"format": "uuid",
|
|
28886
|
+
"nullable": true
|
|
28887
|
+
},
|
|
28888
|
+
"principal_type": {
|
|
28889
|
+
"type": "string"
|
|
28890
|
+
},
|
|
28891
|
+
"principal_id": {
|
|
28892
|
+
"type": "string"
|
|
28893
|
+
},
|
|
28894
|
+
"can_sign": {
|
|
28895
|
+
"type": "boolean"
|
|
28896
|
+
},
|
|
28897
|
+
"can_view_balance": {
|
|
28898
|
+
"type": "boolean"
|
|
28899
|
+
},
|
|
28900
|
+
"can_export": {
|
|
28901
|
+
"type": "boolean"
|
|
28902
|
+
},
|
|
28903
|
+
"can_send": {
|
|
28904
|
+
"type": "boolean"
|
|
28905
|
+
},
|
|
28906
|
+
"can_swap": {
|
|
28907
|
+
"type": "boolean"
|
|
28908
|
+
},
|
|
28909
|
+
"allowed_chains": {
|
|
27810
28910
|
"type": "array",
|
|
27811
28911
|
"items": {
|
|
27812
28912
|
"type": "string"
|
|
27813
28913
|
}
|
|
27814
28914
|
},
|
|
27815
|
-
"
|
|
28915
|
+
"max_value_per_tx_eth": {
|
|
27816
28916
|
"type": "string",
|
|
27817
28917
|
"nullable": true
|
|
27818
28918
|
},
|
|
27819
|
-
"
|
|
27820
|
-
"type": "boolean"
|
|
27821
|
-
},
|
|
27822
|
-
"comment": {
|
|
28919
|
+
"daily_limit_eth": {
|
|
27823
28920
|
"type": "string",
|
|
27824
28921
|
"nullable": true
|
|
27825
28922
|
},
|
|
27826
|
-
"
|
|
27827
|
-
"type": "
|
|
27828
|
-
"nullable": true,
|
|
27829
|
-
"description": "Null for sensitive vars in list responses"
|
|
28923
|
+
"conditions": {
|
|
28924
|
+
"type": "object"
|
|
27830
28925
|
},
|
|
27831
|
-
"
|
|
27832
|
-
"type": "
|
|
28926
|
+
"is_active": {
|
|
28927
|
+
"type": "boolean"
|
|
27833
28928
|
},
|
|
27834
|
-
"
|
|
28929
|
+
"expires_at": {
|
|
27835
28930
|
"type": "string",
|
|
28931
|
+
"format": "date-time",
|
|
27836
28932
|
"nullable": true
|
|
27837
28933
|
},
|
|
28934
|
+
"created_by": {
|
|
28935
|
+
"type": "string",
|
|
28936
|
+
"format": "uuid"
|
|
28937
|
+
},
|
|
27838
28938
|
"created_at": {
|
|
27839
28939
|
"type": "string",
|
|
27840
28940
|
"format": "date-time"
|
|
@@ -27845,242 +28945,362 @@
|
|
|
27845
28945
|
}
|
|
27846
28946
|
}
|
|
27847
28947
|
},
|
|
27848
|
-
"
|
|
28948
|
+
"WalletAccessPolicyListResponse": {
|
|
28949
|
+
"type": "object",
|
|
28950
|
+
"properties": {
|
|
28951
|
+
"policies": {
|
|
28952
|
+
"type": "array",
|
|
28953
|
+
"items": {
|
|
28954
|
+
"$ref": "#/components/schemas/WalletAccessPolicyResponse"
|
|
28955
|
+
}
|
|
28956
|
+
}
|
|
28957
|
+
}
|
|
28958
|
+
},
|
|
28959
|
+
"CredentialRecoveryRequest": {
|
|
27849
28960
|
"type": "object",
|
|
27850
28961
|
"required": [
|
|
27851
|
-
"
|
|
27852
|
-
"value"
|
|
28962
|
+
"recovery_type"
|
|
27853
28963
|
],
|
|
27854
28964
|
"properties": {
|
|
27855
|
-
"
|
|
28965
|
+
"recovery_type": {
|
|
27856
28966
|
"type": "string",
|
|
27857
|
-
"
|
|
28967
|
+
"enum": [
|
|
28968
|
+
"mfa_reset",
|
|
28969
|
+
"passkey_reset",
|
|
28970
|
+
"password_reset"
|
|
28971
|
+
]
|
|
27858
28972
|
},
|
|
27859
|
-
"
|
|
27860
|
-
"type": "string"
|
|
28973
|
+
"reason": {
|
|
28974
|
+
"type": "string",
|
|
28975
|
+
"description": "Optional justification for the recovery request"
|
|
28976
|
+
}
|
|
28977
|
+
}
|
|
28978
|
+
},
|
|
28979
|
+
"CredentialRecoveryResponse": {
|
|
28980
|
+
"type": "object",
|
|
28981
|
+
"properties": {
|
|
28982
|
+
"request_id": {
|
|
28983
|
+
"type": "string",
|
|
28984
|
+
"format": "uuid"
|
|
27861
28985
|
},
|
|
27862
|
-
"
|
|
27863
|
-
"type": "
|
|
27864
|
-
"
|
|
27865
|
-
"
|
|
27866
|
-
|
|
27867
|
-
|
|
27868
|
-
"
|
|
27869
|
-
"preview",
|
|
27870
|
-
"development"
|
|
28986
|
+
"status": {
|
|
28987
|
+
"type": "string",
|
|
28988
|
+
"enum": [
|
|
28989
|
+
"pending_approval",
|
|
28990
|
+
"approved",
|
|
28991
|
+
"rejected",
|
|
28992
|
+
"expired"
|
|
27871
28993
|
]
|
|
27872
28994
|
},
|
|
27873
|
-
"
|
|
28995
|
+
"recovery_type": {
|
|
27874
28996
|
"type": "string",
|
|
27875
|
-
"
|
|
27876
|
-
|
|
27877
|
-
|
|
27878
|
-
|
|
27879
|
-
|
|
28997
|
+
"enum": [
|
|
28998
|
+
"mfa_reset",
|
|
28999
|
+
"passkey_reset",
|
|
29000
|
+
"password_reset"
|
|
29001
|
+
]
|
|
27880
29002
|
},
|
|
27881
|
-
"
|
|
27882
|
-
"type": "string"
|
|
29003
|
+
"created_at": {
|
|
29004
|
+
"type": "string",
|
|
29005
|
+
"format": "date-time"
|
|
27883
29006
|
}
|
|
27884
29007
|
}
|
|
27885
29008
|
},
|
|
27886
|
-
"
|
|
29009
|
+
"CredentialRecoveryListResponse": {
|
|
27887
29010
|
"type": "object",
|
|
27888
29011
|
"properties": {
|
|
27889
|
-
"
|
|
27890
|
-
"type": "string"
|
|
27891
|
-
},
|
|
27892
|
-
"environments": {
|
|
29012
|
+
"requests": {
|
|
27893
29013
|
"type": "array",
|
|
27894
29014
|
"items": {
|
|
27895
|
-
"
|
|
29015
|
+
"$ref": "#/components/schemas/CredentialRecoveryResponse"
|
|
27896
29016
|
}
|
|
27897
|
-
},
|
|
27898
|
-
"sensitive": {
|
|
27899
|
-
"type": "boolean"
|
|
27900
|
-
},
|
|
27901
|
-
"comment": {
|
|
27902
|
-
"type": "string"
|
|
27903
29017
|
}
|
|
27904
29018
|
}
|
|
27905
29019
|
},
|
|
27906
|
-
"
|
|
29020
|
+
"CredentialRecoveryApproveResponse": {
|
|
27907
29021
|
"type": "object",
|
|
27908
29022
|
"properties": {
|
|
27909
|
-
"
|
|
27910
|
-
"type": "
|
|
27911
|
-
"
|
|
27912
|
-
"type": "string"
|
|
27913
|
-
}
|
|
27914
|
-
},
|
|
27915
|
-
"sources": {
|
|
27916
|
-
"type": "object",
|
|
27917
|
-
"additionalProperties": {
|
|
27918
|
-
"type": "string",
|
|
27919
|
-
"enum": [
|
|
27920
|
-
"shared",
|
|
27921
|
-
"vault",
|
|
27922
|
-
"branch_override"
|
|
27923
|
-
]
|
|
27924
|
-
}
|
|
27925
|
-
},
|
|
27926
|
-
"environment": {
|
|
27927
|
-
"type": "string"
|
|
29023
|
+
"request_id": {
|
|
29024
|
+
"type": "string",
|
|
29025
|
+
"format": "uuid"
|
|
27928
29026
|
},
|
|
27929
|
-
"
|
|
29027
|
+
"status": {
|
|
27930
29028
|
"type": "string",
|
|
27931
|
-
"
|
|
29029
|
+
"enum": [
|
|
29030
|
+
"approved"
|
|
29031
|
+
]
|
|
27932
29032
|
},
|
|
27933
|
-
"
|
|
29033
|
+
"recovery_code": {
|
|
27934
29034
|
"type": "string",
|
|
27935
|
-
"
|
|
29035
|
+
"nullable": true,
|
|
29036
|
+
"description": "One-time recovery code (only present for certain recovery types)"
|
|
27936
29037
|
}
|
|
27937
29038
|
}
|
|
27938
29039
|
},
|
|
27939
|
-
"
|
|
29040
|
+
"CredentialRecoveryExecuteResponse": {
|
|
27940
29041
|
"type": "object",
|
|
27941
29042
|
"properties": {
|
|
27942
|
-
"
|
|
29043
|
+
"request_id": {
|
|
27943
29044
|
"type": "string",
|
|
27944
29045
|
"format": "uuid"
|
|
27945
29046
|
},
|
|
27946
|
-
"
|
|
29047
|
+
"status": {
|
|
29048
|
+
"type": "string",
|
|
29049
|
+
"enum": [
|
|
29050
|
+
"executed"
|
|
29051
|
+
]
|
|
29052
|
+
},
|
|
29053
|
+
"recovery_type": {
|
|
27947
29054
|
"type": "string"
|
|
27948
29055
|
},
|
|
27949
|
-
"
|
|
29056
|
+
"executed_at": {
|
|
27950
29057
|
"type": "string",
|
|
27951
|
-
"
|
|
29058
|
+
"format": "date-time"
|
|
29059
|
+
}
|
|
29060
|
+
}
|
|
29061
|
+
},
|
|
29062
|
+
"CredentialRecoveryPolicyResponse": {
|
|
29063
|
+
"type": "object",
|
|
29064
|
+
"properties": {
|
|
29065
|
+
"enabled": {
|
|
29066
|
+
"type": "boolean"
|
|
27952
29067
|
},
|
|
27953
|
-
"
|
|
29068
|
+
"require_admin_approval": {
|
|
27954
29069
|
"type": "boolean"
|
|
27955
29070
|
},
|
|
27956
|
-
"
|
|
27957
|
-
"type": "
|
|
27958
|
-
"
|
|
29071
|
+
"delay_hours": {
|
|
29072
|
+
"type": "integer",
|
|
29073
|
+
"description": "Waiting period before recovery takes effect"
|
|
27959
29074
|
},
|
|
27960
|
-
"
|
|
29075
|
+
"allowed_types": {
|
|
29076
|
+
"type": "array",
|
|
29077
|
+
"items": {
|
|
29078
|
+
"type": "string",
|
|
29079
|
+
"enum": [
|
|
29080
|
+
"mfa_reset",
|
|
29081
|
+
"passkey_reset",
|
|
29082
|
+
"password_reset"
|
|
29083
|
+
]
|
|
29084
|
+
}
|
|
29085
|
+
}
|
|
29086
|
+
}
|
|
29087
|
+
},
|
|
29088
|
+
"CredentialRecoveryPolicyRequest": {
|
|
29089
|
+
"type": "object",
|
|
29090
|
+
"properties": {
|
|
29091
|
+
"enabled": {
|
|
27961
29092
|
"type": "boolean"
|
|
27962
29093
|
},
|
|
27963
|
-
"
|
|
27964
|
-
"type": "
|
|
27965
|
-
|
|
29094
|
+
"require_admin_approval": {
|
|
29095
|
+
"type": "boolean"
|
|
29096
|
+
},
|
|
29097
|
+
"delay_hours": {
|
|
29098
|
+
"type": "integer"
|
|
29099
|
+
},
|
|
29100
|
+
"allowed_types": {
|
|
29101
|
+
"type": "array",
|
|
29102
|
+
"items": {
|
|
29103
|
+
"type": "string",
|
|
29104
|
+
"enum": [
|
|
29105
|
+
"mfa_reset",
|
|
29106
|
+
"passkey_reset",
|
|
29107
|
+
"password_reset"
|
|
29108
|
+
]
|
|
29109
|
+
}
|
|
27966
29110
|
}
|
|
27967
29111
|
}
|
|
27968
29112
|
},
|
|
27969
|
-
"
|
|
29113
|
+
"ShamirKekSetupRequest": {
|
|
27970
29114
|
"type": "object",
|
|
27971
29115
|
"required": [
|
|
27972
|
-
"
|
|
29116
|
+
"threshold",
|
|
29117
|
+
"total_shares",
|
|
29118
|
+
"custodian_emails"
|
|
27973
29119
|
],
|
|
27974
29120
|
"properties": {
|
|
27975
|
-
"
|
|
27976
|
-
"type": "
|
|
27977
|
-
"
|
|
29121
|
+
"threshold": {
|
|
29122
|
+
"type": "integer",
|
|
29123
|
+
"enum": [
|
|
29124
|
+
2,
|
|
29125
|
+
3
|
|
29126
|
+
],
|
|
29127
|
+
"description": "Minimum shares required to reconstruct the KEK"
|
|
27978
29128
|
},
|
|
27979
|
-
"
|
|
27980
|
-
"type": "
|
|
29129
|
+
"total_shares": {
|
|
29130
|
+
"type": "integer",
|
|
29131
|
+
"enum": [
|
|
29132
|
+
3,
|
|
29133
|
+
5
|
|
29134
|
+
],
|
|
29135
|
+
"description": "Total number of shares to generate"
|
|
27981
29136
|
},
|
|
27982
|
-
"
|
|
27983
|
-
"type": "
|
|
27984
|
-
"
|
|
29137
|
+
"custodian_emails": {
|
|
29138
|
+
"type": "array",
|
|
29139
|
+
"items": {
|
|
29140
|
+
"type": "string",
|
|
29141
|
+
"format": "email"
|
|
29142
|
+
},
|
|
29143
|
+
"description": "Email addresses of share custodians"
|
|
27985
29144
|
}
|
|
27986
29145
|
}
|
|
27987
29146
|
},
|
|
27988
|
-
"
|
|
29147
|
+
"ShamirKekSetupResponse": {
|
|
27989
29148
|
"type": "object",
|
|
27990
29149
|
"properties": {
|
|
27991
|
-
"
|
|
27992
|
-
"type": "string",
|
|
27993
|
-
"format": "uuid"
|
|
27994
|
-
},
|
|
27995
|
-
"key": {
|
|
29150
|
+
"kek_id": {
|
|
27996
29151
|
"type": "string"
|
|
27997
29152
|
},
|
|
27998
|
-
"
|
|
29153
|
+
"threshold": {
|
|
29154
|
+
"type": "integer"
|
|
29155
|
+
},
|
|
29156
|
+
"total_shares": {
|
|
29157
|
+
"type": "integer"
|
|
29158
|
+
},
|
|
29159
|
+
"shares": {
|
|
27999
29160
|
"type": "array",
|
|
29161
|
+
"description": "One-time share distribution (never returned again)",
|
|
28000
29162
|
"items": {
|
|
28001
|
-
"type": "
|
|
29163
|
+
"type": "object",
|
|
29164
|
+
"properties": {
|
|
29165
|
+
"index": {
|
|
29166
|
+
"type": "integer"
|
|
29167
|
+
},
|
|
29168
|
+
"custodian_email": {
|
|
29169
|
+
"type": "string",
|
|
29170
|
+
"format": "email"
|
|
29171
|
+
},
|
|
29172
|
+
"share_b64": {
|
|
29173
|
+
"type": "string",
|
|
29174
|
+
"description": "Base64-encoded share"
|
|
29175
|
+
}
|
|
29176
|
+
}
|
|
28002
29177
|
}
|
|
28003
29178
|
},
|
|
28004
|
-
"
|
|
29179
|
+
"custody_mode": {
|
|
29180
|
+
"type": "string"
|
|
29181
|
+
},
|
|
29182
|
+
"created_at": {
|
|
29183
|
+
"type": "string",
|
|
29184
|
+
"format": "date-time"
|
|
29185
|
+
}
|
|
29186
|
+
}
|
|
29187
|
+
},
|
|
29188
|
+
"ShamirKekStatusResponse": {
|
|
29189
|
+
"type": "object",
|
|
29190
|
+
"properties": {
|
|
29191
|
+
"configured": {
|
|
28005
29192
|
"type": "boolean"
|
|
28006
29193
|
},
|
|
28007
|
-
"
|
|
29194
|
+
"kek_id": {
|
|
28008
29195
|
"type": "string",
|
|
28009
29196
|
"nullable": true
|
|
28010
29197
|
},
|
|
28011
|
-
"
|
|
28012
|
-
"type": "
|
|
29198
|
+
"threshold": {
|
|
29199
|
+
"type": "integer",
|
|
28013
29200
|
"nullable": true
|
|
28014
29201
|
},
|
|
28015
|
-
"
|
|
28016
|
-
"type": "integer"
|
|
29202
|
+
"total_shares": {
|
|
29203
|
+
"type": "integer",
|
|
29204
|
+
"nullable": true
|
|
28017
29205
|
},
|
|
28018
|
-
"
|
|
29206
|
+
"custody_mode": {
|
|
29207
|
+
"type": "string",
|
|
29208
|
+
"nullable": true
|
|
29209
|
+
},
|
|
29210
|
+
"custodians": {
|
|
28019
29211
|
"type": "array",
|
|
29212
|
+
"nullable": true,
|
|
28020
29213
|
"items": {
|
|
28021
|
-
"type": "
|
|
28022
|
-
"
|
|
29214
|
+
"type": "object",
|
|
29215
|
+
"properties": {
|
|
29216
|
+
"email": {
|
|
29217
|
+
"type": "string",
|
|
29218
|
+
"format": "email"
|
|
29219
|
+
},
|
|
29220
|
+
"share_provided": {
|
|
29221
|
+
"type": "boolean"
|
|
29222
|
+
}
|
|
29223
|
+
}
|
|
28023
29224
|
}
|
|
28024
29225
|
},
|
|
28025
29226
|
"created_at": {
|
|
28026
29227
|
"type": "string",
|
|
28027
|
-
"format": "date-time"
|
|
28028
|
-
|
|
28029
|
-
"updated_at": {
|
|
28030
|
-
"type": "string",
|
|
28031
|
-
"format": "date-time"
|
|
29228
|
+
"format": "date-time",
|
|
29229
|
+
"nullable": true
|
|
28032
29230
|
}
|
|
28033
29231
|
}
|
|
28034
29232
|
},
|
|
28035
|
-
"
|
|
29233
|
+
"ShamirKekReconstructRequest": {
|
|
28036
29234
|
"type": "object",
|
|
28037
29235
|
"required": [
|
|
28038
|
-
"
|
|
28039
|
-
"value"
|
|
29236
|
+
"shares"
|
|
28040
29237
|
],
|
|
28041
29238
|
"properties": {
|
|
28042
|
-
"
|
|
28043
|
-
"type": "string"
|
|
28044
|
-
},
|
|
28045
|
-
"value": {
|
|
28046
|
-
"type": "string"
|
|
28047
|
-
},
|
|
28048
|
-
"environments": {
|
|
29239
|
+
"shares": {
|
|
28049
29240
|
"type": "array",
|
|
28050
29241
|
"items": {
|
|
28051
|
-
"type": "
|
|
28052
|
-
|
|
28053
|
-
|
|
28054
|
-
|
|
28055
|
-
|
|
28056
|
-
"
|
|
29242
|
+
"type": "object",
|
|
29243
|
+
"required": [
|
|
29244
|
+
"index",
|
|
29245
|
+
"share_b64"
|
|
29246
|
+
],
|
|
29247
|
+
"properties": {
|
|
29248
|
+
"index": {
|
|
29249
|
+
"type": "integer"
|
|
29250
|
+
},
|
|
29251
|
+
"share_b64": {
|
|
29252
|
+
"type": "string",
|
|
29253
|
+
"description": "Base64-encoded share"
|
|
29254
|
+
}
|
|
29255
|
+
}
|
|
29256
|
+
}
|
|
29257
|
+
}
|
|
29258
|
+
}
|
|
29259
|
+
},
|
|
29260
|
+
"ShamirKekReconstructResponse": {
|
|
29261
|
+
"type": "object",
|
|
29262
|
+
"properties": {
|
|
29263
|
+
"status": {
|
|
29264
|
+
"type": "string",
|
|
29265
|
+
"enum": [
|
|
29266
|
+
"accepted",
|
|
29267
|
+
"reconstructed"
|
|
28057
29268
|
]
|
|
28058
29269
|
},
|
|
28059
|
-
"
|
|
28060
|
-
"type": "boolean",
|
|
28061
|
-
"default": false
|
|
28062
|
-
},
|
|
28063
|
-
"comment": {
|
|
29270
|
+
"message": {
|
|
28064
29271
|
"type": "string"
|
|
28065
29272
|
}
|
|
28066
29273
|
}
|
|
28067
29274
|
},
|
|
28068
|
-
"
|
|
29275
|
+
"ShamirKekRecoveryCodesResponse": {
|
|
28069
29276
|
"type": "object",
|
|
28070
29277
|
"properties": {
|
|
28071
|
-
"
|
|
28072
|
-
"type": "string"
|
|
28073
|
-
},
|
|
28074
|
-
"environments": {
|
|
29278
|
+
"codes": {
|
|
28075
29279
|
"type": "array",
|
|
28076
29280
|
"items": {
|
|
28077
29281
|
"type": "string"
|
|
28078
29282
|
}
|
|
28079
|
-
}
|
|
28080
|
-
|
|
29283
|
+
}
|
|
29284
|
+
}
|
|
29285
|
+
},
|
|
29286
|
+
"ShamirKekVerifyCodeRequest": {
|
|
29287
|
+
"type": "object",
|
|
29288
|
+
"required": [
|
|
29289
|
+
"code"
|
|
29290
|
+
],
|
|
29291
|
+
"properties": {
|
|
29292
|
+
"code": {
|
|
28081
29293
|
"type": "string"
|
|
28082
29294
|
}
|
|
28083
29295
|
}
|
|
29296
|
+
},
|
|
29297
|
+
"ShamirKekVerifyCodeResponse": {
|
|
29298
|
+
"type": "object",
|
|
29299
|
+
"properties": {
|
|
29300
|
+
"valid": {
|
|
29301
|
+
"type": "boolean"
|
|
29302
|
+
}
|
|
29303
|
+
}
|
|
28084
29304
|
}
|
|
28085
29305
|
}
|
|
28086
29306
|
}
|