@1claw/openapi-spec 0.52.0 → 0.53.1
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/README.md +14 -1
- package/openapi.json +1919 -529
- package/openapi.yaml +1121 -160
- 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.
|
|
5
|
+
"version": "0.53.1",
|
|
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": {
|
|
@@ -3107,7 +3119,7 @@
|
|
|
3107
3119
|
"Environment Variables"
|
|
3108
3120
|
],
|
|
3109
3121
|
"summary": "Resolve environment variables",
|
|
3110
|
-
"description": "Resolve the final KEY=VALUE set for an environment with full precedence (shared < vault < branch override).",
|
|
3122
|
+
"description": "Resolve the final KEY=VALUE set for an environment with full precedence (shared < vault < branch override).\nWhen the caller is an agent with `env_auto_resolve: true`, the `environment` query parameter may be omitted —\nthe server uses the agent's tagged environment from the JWT. Org setting `env.enforce_agent_environment_scope`\nblocks agents from resolving vars outside their tagged environment.\n",
|
|
3111
3123
|
"operationId": "resolveEnvVars",
|
|
3112
3124
|
"parameters": [
|
|
3113
3125
|
{
|
|
@@ -3116,17 +3128,19 @@
|
|
|
3116
3128
|
{
|
|
3117
3129
|
"name": "environment",
|
|
3118
3130
|
"in": "query",
|
|
3119
|
-
"required":
|
|
3131
|
+
"required": false,
|
|
3120
3132
|
"schema": {
|
|
3121
3133
|
"type": "string"
|
|
3122
|
-
}
|
|
3134
|
+
},
|
|
3135
|
+
"description": "Target environment (production, preview, development, or custom). Required for human callers; optional for agents with env_auto_resolve when the agent has an environment tag."
|
|
3123
3136
|
},
|
|
3124
3137
|
{
|
|
3125
3138
|
"name": "git_branch",
|
|
3126
3139
|
"in": "query",
|
|
3127
3140
|
"schema": {
|
|
3128
3141
|
"type": "string"
|
|
3129
|
-
}
|
|
3142
|
+
},
|
|
3143
|
+
"description": "Optional git branch for preview branch overrides"
|
|
3130
3144
|
}
|
|
3131
3145
|
],
|
|
3132
3146
|
"responses": {
|
|
@@ -6353,6 +6367,55 @@
|
|
|
6353
6367
|
}
|
|
6354
6368
|
}
|
|
6355
6369
|
},
|
|
6370
|
+
"/v1/audit/verify": {
|
|
6371
|
+
"get": {
|
|
6372
|
+
"tags": [
|
|
6373
|
+
"Audit"
|
|
6374
|
+
],
|
|
6375
|
+
"summary": "Verify audit hash chain integrity",
|
|
6376
|
+
"operationId": "verifyAuditChain",
|
|
6377
|
+
"description": "Verifies the HMAC-SHA256 integrity hash chain for audit events in the\ncalling organization. Returns whether the chain is valid, how many\nevents were verified, and the point of first break (if any).\n",
|
|
6378
|
+
"parameters": [
|
|
6379
|
+
{
|
|
6380
|
+
"name": "from",
|
|
6381
|
+
"in": "query",
|
|
6382
|
+
"schema": {
|
|
6383
|
+
"type": "string",
|
|
6384
|
+
"format": "date-time"
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6387
|
+
{
|
|
6388
|
+
"name": "to",
|
|
6389
|
+
"in": "query",
|
|
6390
|
+
"schema": {
|
|
6391
|
+
"type": "string",
|
|
6392
|
+
"format": "date-time"
|
|
6393
|
+
}
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
"name": "limit",
|
|
6397
|
+
"in": "query",
|
|
6398
|
+
"schema": {
|
|
6399
|
+
"type": "integer",
|
|
6400
|
+
"default": 1000,
|
|
6401
|
+
"maximum": 10000
|
|
6402
|
+
}
|
|
6403
|
+
}
|
|
6404
|
+
],
|
|
6405
|
+
"responses": {
|
|
6406
|
+
"200": {
|
|
6407
|
+
"description": "Chain verification result",
|
|
6408
|
+
"content": {
|
|
6409
|
+
"application/json": {
|
|
6410
|
+
"schema": {
|
|
6411
|
+
"$ref": "#/components/schemas/AuditVerifyResponse"
|
|
6412
|
+
}
|
|
6413
|
+
}
|
|
6414
|
+
}
|
|
6415
|
+
}
|
|
6416
|
+
}
|
|
6417
|
+
}
|
|
6418
|
+
},
|
|
6356
6419
|
"/v1/security/ip-rules": {
|
|
6357
6420
|
"get": {
|
|
6358
6421
|
"tags": [
|
|
@@ -8380,6 +8443,34 @@
|
|
|
8380
8443
|
}
|
|
8381
8444
|
}
|
|
8382
8445
|
},
|
|
8446
|
+
"/v1/shroud/attestation": {
|
|
8447
|
+
"get": {
|
|
8448
|
+
"tags": [
|
|
8449
|
+
"Shroud"
|
|
8450
|
+
],
|
|
8451
|
+
"summary": "TEE attestation proof (public)",
|
|
8452
|
+
"operationId": "getShroudAttestation",
|
|
8453
|
+
"security": [],
|
|
8454
|
+
"description": "Public endpoint returning the TEE attestation proof for Shroud.\nReturns the GCE Confidential VM identity token and image hash so\ncustomers can verify Shroud is running inside a Confidential VM\nbefore signing contracts. Served from shroud.1claw.xyz.\n",
|
|
8455
|
+
"servers": [
|
|
8456
|
+
{
|
|
8457
|
+
"url": "https://shroud.1claw.xyz"
|
|
8458
|
+
}
|
|
8459
|
+
],
|
|
8460
|
+
"responses": {
|
|
8461
|
+
"200": {
|
|
8462
|
+
"description": "Attestation proof",
|
|
8463
|
+
"content": {
|
|
8464
|
+
"application/json": {
|
|
8465
|
+
"schema": {
|
|
8466
|
+
"$ref": "#/components/schemas/ShroudAttestationResponse"
|
|
8467
|
+
}
|
|
8468
|
+
}
|
|
8469
|
+
}
|
|
8470
|
+
}
|
|
8471
|
+
}
|
|
8472
|
+
}
|
|
8473
|
+
},
|
|
8383
8474
|
"/v1/shroud/activity": {
|
|
8384
8475
|
"get": {
|
|
8385
8476
|
"tags": [
|
|
@@ -15953,143 +16044,772 @@
|
|
|
15953
16044
|
}
|
|
15954
16045
|
}
|
|
15955
16046
|
}
|
|
15956
|
-
}
|
|
15957
|
-
},
|
|
15958
|
-
"components": {
|
|
15959
|
-
"securitySchemes": {
|
|
15960
|
-
"BearerAuth": {
|
|
15961
|
-
"type": "http",
|
|
15962
|
-
"scheme": "bearer",
|
|
15963
|
-
"bearerFormat": "JWT"
|
|
15964
|
-
},
|
|
15965
|
-
"ApiKeyAuth": {
|
|
15966
|
-
"type": "http",
|
|
15967
|
-
"scheme": "bearer",
|
|
15968
|
-
"description": "1ck_ prefixed API key used as Bearer token"
|
|
15969
|
-
}
|
|
15970
|
-
},
|
|
15971
|
-
"parameters": {
|
|
15972
|
-
"VaultId": {
|
|
15973
|
-
"name": "vault_id",
|
|
15974
|
-
"in": "path",
|
|
15975
|
-
"required": true,
|
|
15976
|
-
"schema": {
|
|
15977
|
-
"type": "string",
|
|
15978
|
-
"format": "uuid"
|
|
15979
|
-
}
|
|
15980
|
-
},
|
|
15981
|
-
"SecretPath": {
|
|
15982
|
-
"name": "path",
|
|
15983
|
-
"in": "path",
|
|
15984
|
-
"required": true,
|
|
15985
|
-
"schema": {
|
|
15986
|
-
"type": "string"
|
|
15987
|
-
},
|
|
15988
|
-
"description": "Secret path (e.g. \"db/credentials\")"
|
|
15989
|
-
},
|
|
15990
|
-
"AgentId": {
|
|
15991
|
-
"name": "agent_id",
|
|
15992
|
-
"in": "path",
|
|
15993
|
-
"required": true,
|
|
15994
|
-
"schema": {
|
|
15995
|
-
"type": "string",
|
|
15996
|
-
"format": "uuid"
|
|
15997
|
-
}
|
|
15998
|
-
},
|
|
15999
|
-
"PolicyId": {
|
|
16000
|
-
"name": "policy_id",
|
|
16001
|
-
"in": "path",
|
|
16002
|
-
"required": true,
|
|
16003
|
-
"schema": {
|
|
16004
|
-
"type": "string",
|
|
16005
|
-
"format": "uuid"
|
|
16006
|
-
}
|
|
16007
|
-
},
|
|
16008
|
-
"CardId": {
|
|
16009
|
-
"name": "card_id",
|
|
16010
|
-
"in": "path",
|
|
16011
|
-
"required": true,
|
|
16012
|
-
"schema": {
|
|
16013
|
-
"type": "string",
|
|
16014
|
-
"format": "uuid"
|
|
16015
|
-
}
|
|
16016
|
-
},
|
|
16017
|
-
"IncludeSignedTx": {
|
|
16018
|
-
"name": "include_signed_tx",
|
|
16019
|
-
"in": "query",
|
|
16020
|
-
"required": false,
|
|
16021
|
-
"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",
|
|
16022
|
-
"schema": {
|
|
16023
|
-
"type": "boolean",
|
|
16024
|
-
"default": false,
|
|
16025
|
-
"example": false
|
|
16026
|
-
}
|
|
16027
|
-
}
|
|
16028
16047
|
},
|
|
16029
|
-
"
|
|
16030
|
-
"
|
|
16031
|
-
"
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16048
|
+
"/v1/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 or user\nspecific permissions (send, swap, receive) on a treasury wallet chain.\n",
|
|
16055
|
+
"operationId": "createWalletAccessPolicy",
|
|
16056
|
+
"security": [
|
|
16057
|
+
{
|
|
16058
|
+
"BearerAuth": []
|
|
16037
16059
|
}
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16060
|
+
],
|
|
16061
|
+
"requestBody": {
|
|
16062
|
+
"required": true,
|
|
16063
|
+
"content": {
|
|
16064
|
+
"application/json": {
|
|
16065
|
+
"schema": {
|
|
16066
|
+
"$ref": "#/components/schemas/CreateWalletAccessPolicyRequest"
|
|
16067
|
+
}
|
|
16046
16068
|
}
|
|
16047
16069
|
}
|
|
16048
|
-
}
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16070
|
+
},
|
|
16071
|
+
"responses": {
|
|
16072
|
+
"201": {
|
|
16073
|
+
"description": "Policy created",
|
|
16074
|
+
"content": {
|
|
16075
|
+
"application/json": {
|
|
16076
|
+
"schema": {
|
|
16077
|
+
"$ref": "#/components/schemas/WalletAccessPolicyResponse"
|
|
16078
|
+
}
|
|
16079
|
+
}
|
|
16056
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"
|
|
16057
16090
|
}
|
|
16058
16091
|
}
|
|
16059
16092
|
},
|
|
16060
|
-
"
|
|
16061
|
-
"
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
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": []
|
|
16067
16102
|
}
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
"application/json": {
|
|
16103
|
+
],
|
|
16104
|
+
"parameters": [
|
|
16105
|
+
{
|
|
16106
|
+
"name": "wallet_chain",
|
|
16107
|
+
"in": "query",
|
|
16074
16108
|
"schema": {
|
|
16075
|
-
"
|
|
16076
|
-
}
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
"content": {
|
|
16083
|
-
"application/json": {
|
|
16109
|
+
"type": "string"
|
|
16110
|
+
},
|
|
16111
|
+
"description": "Filter by chain (e.g. ethereum, solana)"
|
|
16112
|
+
},
|
|
16113
|
+
{
|
|
16114
|
+
"name": "target_agent_id",
|
|
16115
|
+
"in": "query",
|
|
16084
16116
|
"schema": {
|
|
16085
|
-
"
|
|
16117
|
+
"type": "string",
|
|
16118
|
+
"format": "uuid"
|
|
16119
|
+
},
|
|
16120
|
+
"description": "Filter by target agent"
|
|
16121
|
+
}
|
|
16122
|
+
],
|
|
16123
|
+
"responses": {
|
|
16124
|
+
"200": {
|
|
16125
|
+
"description": "Policy list",
|
|
16126
|
+
"content": {
|
|
16127
|
+
"application/json": {
|
|
16128
|
+
"schema": {
|
|
16129
|
+
"$ref": "#/components/schemas/WalletAccessPolicyListResponse"
|
|
16130
|
+
}
|
|
16131
|
+
}
|
|
16086
16132
|
}
|
|
16133
|
+
},
|
|
16134
|
+
"401": {
|
|
16135
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16087
16136
|
}
|
|
16088
16137
|
}
|
|
16089
16138
|
}
|
|
16090
16139
|
},
|
|
16091
|
-
"
|
|
16092
|
-
"
|
|
16140
|
+
"/v1/wallets/access-policies/{id}": {
|
|
16141
|
+
"delete": {
|
|
16142
|
+
"tags": [
|
|
16143
|
+
"Wallet Access"
|
|
16144
|
+
],
|
|
16145
|
+
"summary": "Delete a wallet access policy",
|
|
16146
|
+
"operationId": "deleteWalletAccessPolicy",
|
|
16147
|
+
"security": [
|
|
16148
|
+
{
|
|
16149
|
+
"BearerAuth": []
|
|
16150
|
+
}
|
|
16151
|
+
],
|
|
16152
|
+
"parameters": [
|
|
16153
|
+
{
|
|
16154
|
+
"name": "id",
|
|
16155
|
+
"in": "path",
|
|
16156
|
+
"required": true,
|
|
16157
|
+
"schema": {
|
|
16158
|
+
"type": "string",
|
|
16159
|
+
"format": "uuid"
|
|
16160
|
+
}
|
|
16161
|
+
}
|
|
16162
|
+
],
|
|
16163
|
+
"responses": {
|
|
16164
|
+
"204": {
|
|
16165
|
+
"description": "Policy deleted"
|
|
16166
|
+
},
|
|
16167
|
+
"401": {
|
|
16168
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16169
|
+
},
|
|
16170
|
+
"403": {
|
|
16171
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16172
|
+
},
|
|
16173
|
+
"404": {
|
|
16174
|
+
"$ref": "#/components/responses/NotFound"
|
|
16175
|
+
}
|
|
16176
|
+
}
|
|
16177
|
+
}
|
|
16178
|
+
},
|
|
16179
|
+
"/v1/auth/credential-recovery/request": {
|
|
16180
|
+
"post": {
|
|
16181
|
+
"tags": [
|
|
16182
|
+
"Credential Recovery"
|
|
16183
|
+
],
|
|
16184
|
+
"summary": "Initiate credential recovery",
|
|
16185
|
+
"description": "Start a credential recovery request for MFA reset, passkey reset,\nor password reset. Requires admin approval per org policy.\n",
|
|
16186
|
+
"operationId": "requestCredentialRecovery",
|
|
16187
|
+
"security": [
|
|
16188
|
+
{
|
|
16189
|
+
"BearerAuth": []
|
|
16190
|
+
}
|
|
16191
|
+
],
|
|
16192
|
+
"requestBody": {
|
|
16193
|
+
"required": true,
|
|
16194
|
+
"content": {
|
|
16195
|
+
"application/json": {
|
|
16196
|
+
"schema": {
|
|
16197
|
+
"$ref": "#/components/schemas/CredentialRecoveryRequest"
|
|
16198
|
+
}
|
|
16199
|
+
}
|
|
16200
|
+
}
|
|
16201
|
+
},
|
|
16202
|
+
"responses": {
|
|
16203
|
+
"201": {
|
|
16204
|
+
"description": "Recovery request created",
|
|
16205
|
+
"content": {
|
|
16206
|
+
"application/json": {
|
|
16207
|
+
"schema": {
|
|
16208
|
+
"$ref": "#/components/schemas/CredentialRecoveryResponse"
|
|
16209
|
+
}
|
|
16210
|
+
}
|
|
16211
|
+
}
|
|
16212
|
+
},
|
|
16213
|
+
"400": {
|
|
16214
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16215
|
+
},
|
|
16216
|
+
"401": {
|
|
16217
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16218
|
+
}
|
|
16219
|
+
}
|
|
16220
|
+
}
|
|
16221
|
+
},
|
|
16222
|
+
"/v1/auth/credential-recovery/requests": {
|
|
16223
|
+
"get": {
|
|
16224
|
+
"tags": [
|
|
16225
|
+
"Credential Recovery"
|
|
16226
|
+
],
|
|
16227
|
+
"summary": "List recovery requests for the org",
|
|
16228
|
+
"description": "Admin/owner only. Returns pending, approved, and rejected recovery requests.",
|
|
16229
|
+
"operationId": "listCredentialRecoveryRequests",
|
|
16230
|
+
"security": [
|
|
16231
|
+
{
|
|
16232
|
+
"BearerAuth": []
|
|
16233
|
+
}
|
|
16234
|
+
],
|
|
16235
|
+
"parameters": [
|
|
16236
|
+
{
|
|
16237
|
+
"name": "status",
|
|
16238
|
+
"in": "query",
|
|
16239
|
+
"schema": {
|
|
16240
|
+
"type": "string",
|
|
16241
|
+
"enum": [
|
|
16242
|
+
"pending_approval",
|
|
16243
|
+
"approved",
|
|
16244
|
+
"rejected",
|
|
16245
|
+
"expired"
|
|
16246
|
+
]
|
|
16247
|
+
},
|
|
16248
|
+
"description": "Filter by status"
|
|
16249
|
+
}
|
|
16250
|
+
],
|
|
16251
|
+
"responses": {
|
|
16252
|
+
"200": {
|
|
16253
|
+
"description": "Recovery request list",
|
|
16254
|
+
"content": {
|
|
16255
|
+
"application/json": {
|
|
16256
|
+
"schema": {
|
|
16257
|
+
"$ref": "#/components/schemas/CredentialRecoveryListResponse"
|
|
16258
|
+
}
|
|
16259
|
+
}
|
|
16260
|
+
}
|
|
16261
|
+
},
|
|
16262
|
+
"401": {
|
|
16263
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16264
|
+
},
|
|
16265
|
+
"403": {
|
|
16266
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16267
|
+
}
|
|
16268
|
+
}
|
|
16269
|
+
}
|
|
16270
|
+
},
|
|
16271
|
+
"/v1/auth/credential-recovery/requests/{id}/approve": {
|
|
16272
|
+
"post": {
|
|
16273
|
+
"tags": [
|
|
16274
|
+
"Credential Recovery"
|
|
16275
|
+
],
|
|
16276
|
+
"summary": "Approve a recovery request",
|
|
16277
|
+
"description": "Admin/owner approves a pending recovery request. May return a one-time recovery code.",
|
|
16278
|
+
"operationId": "approveCredentialRecovery",
|
|
16279
|
+
"security": [
|
|
16280
|
+
{
|
|
16281
|
+
"BearerAuth": []
|
|
16282
|
+
}
|
|
16283
|
+
],
|
|
16284
|
+
"parameters": [
|
|
16285
|
+
{
|
|
16286
|
+
"name": "id",
|
|
16287
|
+
"in": "path",
|
|
16288
|
+
"required": true,
|
|
16289
|
+
"schema": {
|
|
16290
|
+
"type": "string",
|
|
16291
|
+
"format": "uuid"
|
|
16292
|
+
}
|
|
16293
|
+
}
|
|
16294
|
+
],
|
|
16295
|
+
"responses": {
|
|
16296
|
+
"200": {
|
|
16297
|
+
"description": "Request approved",
|
|
16298
|
+
"content": {
|
|
16299
|
+
"application/json": {
|
|
16300
|
+
"schema": {
|
|
16301
|
+
"$ref": "#/components/schemas/CredentialRecoveryApproveResponse"
|
|
16302
|
+
}
|
|
16303
|
+
}
|
|
16304
|
+
}
|
|
16305
|
+
},
|
|
16306
|
+
"401": {
|
|
16307
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16308
|
+
},
|
|
16309
|
+
"403": {
|
|
16310
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16311
|
+
},
|
|
16312
|
+
"404": {
|
|
16313
|
+
"$ref": "#/components/responses/NotFound"
|
|
16314
|
+
}
|
|
16315
|
+
}
|
|
16316
|
+
}
|
|
16317
|
+
},
|
|
16318
|
+
"/v1/auth/credential-recovery/requests/{id}/execute": {
|
|
16319
|
+
"post": {
|
|
16320
|
+
"tags": [
|
|
16321
|
+
"Credential Recovery"
|
|
16322
|
+
],
|
|
16323
|
+
"summary": "Execute an approved credential recovery request",
|
|
16324
|
+
"description": "Execute an approved credential recovery request after the delay window has elapsed. Only org owners or admins can execute.",
|
|
16325
|
+
"operationId": "executeCredentialRecovery",
|
|
16326
|
+
"security": [
|
|
16327
|
+
{
|
|
16328
|
+
"BearerAuth": []
|
|
16329
|
+
}
|
|
16330
|
+
],
|
|
16331
|
+
"parameters": [
|
|
16332
|
+
{
|
|
16333
|
+
"name": "id",
|
|
16334
|
+
"in": "path",
|
|
16335
|
+
"required": true,
|
|
16336
|
+
"schema": {
|
|
16337
|
+
"type": "string",
|
|
16338
|
+
"format": "uuid"
|
|
16339
|
+
}
|
|
16340
|
+
}
|
|
16341
|
+
],
|
|
16342
|
+
"responses": {
|
|
16343
|
+
"200": {
|
|
16344
|
+
"description": "Recovery executed",
|
|
16345
|
+
"content": {
|
|
16346
|
+
"application/json": {
|
|
16347
|
+
"schema": {
|
|
16348
|
+
"$ref": "#/components/schemas/CredentialRecoveryExecuteResponse"
|
|
16349
|
+
}
|
|
16350
|
+
}
|
|
16351
|
+
}
|
|
16352
|
+
},
|
|
16353
|
+
"401": {
|
|
16354
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16355
|
+
},
|
|
16356
|
+
"403": {
|
|
16357
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16358
|
+
},
|
|
16359
|
+
"404": {
|
|
16360
|
+
"$ref": "#/components/responses/NotFound"
|
|
16361
|
+
}
|
|
16362
|
+
}
|
|
16363
|
+
}
|
|
16364
|
+
},
|
|
16365
|
+
"/v1/auth/credential-recovery/requests/{id}": {
|
|
16366
|
+
"delete": {
|
|
16367
|
+
"tags": [
|
|
16368
|
+
"Credential Recovery"
|
|
16369
|
+
],
|
|
16370
|
+
"summary": "Cancel or reject a recovery request",
|
|
16371
|
+
"operationId": "cancelCredentialRecovery",
|
|
16372
|
+
"security": [
|
|
16373
|
+
{
|
|
16374
|
+
"BearerAuth": []
|
|
16375
|
+
}
|
|
16376
|
+
],
|
|
16377
|
+
"parameters": [
|
|
16378
|
+
{
|
|
16379
|
+
"name": "id",
|
|
16380
|
+
"in": "path",
|
|
16381
|
+
"required": true,
|
|
16382
|
+
"schema": {
|
|
16383
|
+
"type": "string",
|
|
16384
|
+
"format": "uuid"
|
|
16385
|
+
}
|
|
16386
|
+
}
|
|
16387
|
+
],
|
|
16388
|
+
"responses": {
|
|
16389
|
+
"204": {
|
|
16390
|
+
"description": "Request cancelled"
|
|
16391
|
+
},
|
|
16392
|
+
"401": {
|
|
16393
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16394
|
+
},
|
|
16395
|
+
"403": {
|
|
16396
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16397
|
+
},
|
|
16398
|
+
"404": {
|
|
16399
|
+
"$ref": "#/components/responses/NotFound"
|
|
16400
|
+
}
|
|
16401
|
+
}
|
|
16402
|
+
}
|
|
16403
|
+
},
|
|
16404
|
+
"/v1/org/credential-recovery-policy": {
|
|
16405
|
+
"get": {
|
|
16406
|
+
"tags": [
|
|
16407
|
+
"Credential Recovery"
|
|
16408
|
+
],
|
|
16409
|
+
"summary": "Get org credential recovery policy",
|
|
16410
|
+
"operationId": "getCredentialRecoveryPolicy",
|
|
16411
|
+
"security": [
|
|
16412
|
+
{
|
|
16413
|
+
"BearerAuth": []
|
|
16414
|
+
}
|
|
16415
|
+
],
|
|
16416
|
+
"responses": {
|
|
16417
|
+
"200": {
|
|
16418
|
+
"description": "Recovery policy",
|
|
16419
|
+
"content": {
|
|
16420
|
+
"application/json": {
|
|
16421
|
+
"schema": {
|
|
16422
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyResponse"
|
|
16423
|
+
}
|
|
16424
|
+
}
|
|
16425
|
+
}
|
|
16426
|
+
},
|
|
16427
|
+
"401": {
|
|
16428
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16429
|
+
}
|
|
16430
|
+
}
|
|
16431
|
+
},
|
|
16432
|
+
"patch": {
|
|
16433
|
+
"tags": [
|
|
16434
|
+
"Credential Recovery"
|
|
16435
|
+
],
|
|
16436
|
+
"summary": "Update org credential recovery policy",
|
|
16437
|
+
"operationId": "updateCredentialRecoveryPolicy",
|
|
16438
|
+
"security": [
|
|
16439
|
+
{
|
|
16440
|
+
"BearerAuth": []
|
|
16441
|
+
}
|
|
16442
|
+
],
|
|
16443
|
+
"requestBody": {
|
|
16444
|
+
"required": true,
|
|
16445
|
+
"content": {
|
|
16446
|
+
"application/json": {
|
|
16447
|
+
"schema": {
|
|
16448
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyRequest"
|
|
16449
|
+
}
|
|
16450
|
+
}
|
|
16451
|
+
}
|
|
16452
|
+
},
|
|
16453
|
+
"responses": {
|
|
16454
|
+
"200": {
|
|
16455
|
+
"description": "Policy updated",
|
|
16456
|
+
"content": {
|
|
16457
|
+
"application/json": {
|
|
16458
|
+
"schema": {
|
|
16459
|
+
"$ref": "#/components/schemas/CredentialRecoveryPolicyResponse"
|
|
16460
|
+
}
|
|
16461
|
+
}
|
|
16462
|
+
}
|
|
16463
|
+
},
|
|
16464
|
+
"400": {
|
|
16465
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16466
|
+
},
|
|
16467
|
+
"401": {
|
|
16468
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16469
|
+
},
|
|
16470
|
+
"403": {
|
|
16471
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16472
|
+
}
|
|
16473
|
+
}
|
|
16474
|
+
}
|
|
16475
|
+
},
|
|
16476
|
+
"/v1/org/shamir-kek/setup": {
|
|
16477
|
+
"post": {
|
|
16478
|
+
"tags": [
|
|
16479
|
+
"Shamir KEK"
|
|
16480
|
+
],
|
|
16481
|
+
"summary": "Set up Shamir KEK for the org",
|
|
16482
|
+
"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",
|
|
16483
|
+
"operationId": "setupShamirKek",
|
|
16484
|
+
"security": [
|
|
16485
|
+
{
|
|
16486
|
+
"BearerAuth": []
|
|
16487
|
+
}
|
|
16488
|
+
],
|
|
16489
|
+
"requestBody": {
|
|
16490
|
+
"required": true,
|
|
16491
|
+
"content": {
|
|
16492
|
+
"application/json": {
|
|
16493
|
+
"schema": {
|
|
16494
|
+
"$ref": "#/components/schemas/ShamirKekSetupRequest"
|
|
16495
|
+
}
|
|
16496
|
+
}
|
|
16497
|
+
}
|
|
16498
|
+
},
|
|
16499
|
+
"responses": {
|
|
16500
|
+
"201": {
|
|
16501
|
+
"description": "Shamir KEK configured (shares returned one-time)",
|
|
16502
|
+
"content": {
|
|
16503
|
+
"application/json": {
|
|
16504
|
+
"schema": {
|
|
16505
|
+
"$ref": "#/components/schemas/ShamirKekSetupResponse"
|
|
16506
|
+
}
|
|
16507
|
+
}
|
|
16508
|
+
}
|
|
16509
|
+
},
|
|
16510
|
+
"400": {
|
|
16511
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16512
|
+
},
|
|
16513
|
+
"401": {
|
|
16514
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16515
|
+
},
|
|
16516
|
+
"403": {
|
|
16517
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16518
|
+
}
|
|
16519
|
+
}
|
|
16520
|
+
}
|
|
16521
|
+
},
|
|
16522
|
+
"/v1/org/shamir-kek": {
|
|
16523
|
+
"get": {
|
|
16524
|
+
"tags": [
|
|
16525
|
+
"Shamir KEK"
|
|
16526
|
+
],
|
|
16527
|
+
"summary": "Get Shamir KEK status",
|
|
16528
|
+
"description": "Returns the current Shamir KEK configuration status for the org.",
|
|
16529
|
+
"operationId": "getShamirKekStatus",
|
|
16530
|
+
"security": [
|
|
16531
|
+
{
|
|
16532
|
+
"BearerAuth": []
|
|
16533
|
+
}
|
|
16534
|
+
],
|
|
16535
|
+
"responses": {
|
|
16536
|
+
"200": {
|
|
16537
|
+
"description": "Shamir KEK status",
|
|
16538
|
+
"content": {
|
|
16539
|
+
"application/json": {
|
|
16540
|
+
"schema": {
|
|
16541
|
+
"$ref": "#/components/schemas/ShamirKekStatusResponse"
|
|
16542
|
+
}
|
|
16543
|
+
}
|
|
16544
|
+
}
|
|
16545
|
+
},
|
|
16546
|
+
"401": {
|
|
16547
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16548
|
+
}
|
|
16549
|
+
}
|
|
16550
|
+
}
|
|
16551
|
+
},
|
|
16552
|
+
"/v1/org/shamir-kek/reconstruct": {
|
|
16553
|
+
"post": {
|
|
16554
|
+
"tags": [
|
|
16555
|
+
"Shamir KEK"
|
|
16556
|
+
],
|
|
16557
|
+
"summary": "Reconstruct KEK from shares",
|
|
16558
|
+
"description": "Submit Shamir shares to reconstruct the org KEK. Requires at least\n`threshold` valid shares. Used during disaster recovery.\n",
|
|
16559
|
+
"operationId": "reconstructShamirKek",
|
|
16560
|
+
"security": [
|
|
16561
|
+
{
|
|
16562
|
+
"BearerAuth": []
|
|
16563
|
+
}
|
|
16564
|
+
],
|
|
16565
|
+
"requestBody": {
|
|
16566
|
+
"required": true,
|
|
16567
|
+
"content": {
|
|
16568
|
+
"application/json": {
|
|
16569
|
+
"schema": {
|
|
16570
|
+
"$ref": "#/components/schemas/ShamirKekReconstructRequest"
|
|
16571
|
+
}
|
|
16572
|
+
}
|
|
16573
|
+
}
|
|
16574
|
+
},
|
|
16575
|
+
"responses": {
|
|
16576
|
+
"200": {
|
|
16577
|
+
"description": "Reconstruction result",
|
|
16578
|
+
"content": {
|
|
16579
|
+
"application/json": {
|
|
16580
|
+
"schema": {
|
|
16581
|
+
"$ref": "#/components/schemas/ShamirKekReconstructResponse"
|
|
16582
|
+
}
|
|
16583
|
+
}
|
|
16584
|
+
}
|
|
16585
|
+
},
|
|
16586
|
+
"400": {
|
|
16587
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16588
|
+
},
|
|
16589
|
+
"401": {
|
|
16590
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16591
|
+
},
|
|
16592
|
+
"403": {
|
|
16593
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16594
|
+
}
|
|
16595
|
+
}
|
|
16596
|
+
}
|
|
16597
|
+
},
|
|
16598
|
+
"/v1/org/shamir-kek/recovery-codes": {
|
|
16599
|
+
"get": {
|
|
16600
|
+
"tags": [
|
|
16601
|
+
"Shamir KEK"
|
|
16602
|
+
],
|
|
16603
|
+
"summary": "Get Shamir recovery codes (one-time)",
|
|
16604
|
+
"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",
|
|
16605
|
+
"operationId": "getShamirKekRecoveryCodes",
|
|
16606
|
+
"security": [
|
|
16607
|
+
{
|
|
16608
|
+
"BearerAuth": []
|
|
16609
|
+
}
|
|
16610
|
+
],
|
|
16611
|
+
"responses": {
|
|
16612
|
+
"200": {
|
|
16613
|
+
"description": "Recovery codes (one-time)",
|
|
16614
|
+
"content": {
|
|
16615
|
+
"application/json": {
|
|
16616
|
+
"schema": {
|
|
16617
|
+
"$ref": "#/components/schemas/ShamirKekRecoveryCodesResponse"
|
|
16618
|
+
}
|
|
16619
|
+
}
|
|
16620
|
+
}
|
|
16621
|
+
},
|
|
16622
|
+
"401": {
|
|
16623
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16624
|
+
},
|
|
16625
|
+
"403": {
|
|
16626
|
+
"$ref": "#/components/responses/Forbidden"
|
|
16627
|
+
},
|
|
16628
|
+
"410": {
|
|
16629
|
+
"description": "Codes already retrieved"
|
|
16630
|
+
}
|
|
16631
|
+
}
|
|
16632
|
+
}
|
|
16633
|
+
},
|
|
16634
|
+
"/v1/org/shamir-kek/verify-recovery-code": {
|
|
16635
|
+
"post": {
|
|
16636
|
+
"tags": [
|
|
16637
|
+
"Shamir KEK"
|
|
16638
|
+
],
|
|
16639
|
+
"summary": "Verify a Shamir recovery code",
|
|
16640
|
+
"description": "Check whether a recovery code is valid without consuming it.",
|
|
16641
|
+
"operationId": "verifyShamirKekRecoveryCode",
|
|
16642
|
+
"security": [
|
|
16643
|
+
{
|
|
16644
|
+
"BearerAuth": []
|
|
16645
|
+
}
|
|
16646
|
+
],
|
|
16647
|
+
"requestBody": {
|
|
16648
|
+
"required": true,
|
|
16649
|
+
"content": {
|
|
16650
|
+
"application/json": {
|
|
16651
|
+
"schema": {
|
|
16652
|
+
"$ref": "#/components/schemas/ShamirKekVerifyCodeRequest"
|
|
16653
|
+
}
|
|
16654
|
+
}
|
|
16655
|
+
}
|
|
16656
|
+
},
|
|
16657
|
+
"responses": {
|
|
16658
|
+
"200": {
|
|
16659
|
+
"description": "Verification result",
|
|
16660
|
+
"content": {
|
|
16661
|
+
"application/json": {
|
|
16662
|
+
"schema": {
|
|
16663
|
+
"$ref": "#/components/schemas/ShamirKekVerifyCodeResponse"
|
|
16664
|
+
}
|
|
16665
|
+
}
|
|
16666
|
+
}
|
|
16667
|
+
},
|
|
16668
|
+
"400": {
|
|
16669
|
+
"$ref": "#/components/responses/BadRequest"
|
|
16670
|
+
},
|
|
16671
|
+
"401": {
|
|
16672
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
16673
|
+
}
|
|
16674
|
+
}
|
|
16675
|
+
}
|
|
16676
|
+
}
|
|
16677
|
+
},
|
|
16678
|
+
"components": {
|
|
16679
|
+
"securitySchemes": {
|
|
16680
|
+
"BearerAuth": {
|
|
16681
|
+
"type": "http",
|
|
16682
|
+
"scheme": "bearer",
|
|
16683
|
+
"bearerFormat": "JWT"
|
|
16684
|
+
},
|
|
16685
|
+
"ApiKeyAuth": {
|
|
16686
|
+
"type": "http",
|
|
16687
|
+
"scheme": "bearer",
|
|
16688
|
+
"description": "1ck_ prefixed API key used as Bearer token"
|
|
16689
|
+
}
|
|
16690
|
+
},
|
|
16691
|
+
"parameters": {
|
|
16692
|
+
"VaultId": {
|
|
16693
|
+
"name": "vault_id",
|
|
16694
|
+
"in": "path",
|
|
16695
|
+
"required": true,
|
|
16696
|
+
"schema": {
|
|
16697
|
+
"type": "string",
|
|
16698
|
+
"format": "uuid"
|
|
16699
|
+
}
|
|
16700
|
+
},
|
|
16701
|
+
"SecretPath": {
|
|
16702
|
+
"name": "path",
|
|
16703
|
+
"in": "path",
|
|
16704
|
+
"required": true,
|
|
16705
|
+
"schema": {
|
|
16706
|
+
"type": "string"
|
|
16707
|
+
},
|
|
16708
|
+
"description": "Secret path (e.g. \"db/credentials\")"
|
|
16709
|
+
},
|
|
16710
|
+
"AgentId": {
|
|
16711
|
+
"name": "agent_id",
|
|
16712
|
+
"in": "path",
|
|
16713
|
+
"required": true,
|
|
16714
|
+
"schema": {
|
|
16715
|
+
"type": "string",
|
|
16716
|
+
"format": "uuid"
|
|
16717
|
+
}
|
|
16718
|
+
},
|
|
16719
|
+
"PolicyId": {
|
|
16720
|
+
"name": "policy_id",
|
|
16721
|
+
"in": "path",
|
|
16722
|
+
"required": true,
|
|
16723
|
+
"schema": {
|
|
16724
|
+
"type": "string",
|
|
16725
|
+
"format": "uuid"
|
|
16726
|
+
}
|
|
16727
|
+
},
|
|
16728
|
+
"CardId": {
|
|
16729
|
+
"name": "card_id",
|
|
16730
|
+
"in": "path",
|
|
16731
|
+
"required": true,
|
|
16732
|
+
"schema": {
|
|
16733
|
+
"type": "string",
|
|
16734
|
+
"format": "uuid"
|
|
16735
|
+
}
|
|
16736
|
+
},
|
|
16737
|
+
"IncludeSignedTx": {
|
|
16738
|
+
"name": "include_signed_tx",
|
|
16739
|
+
"in": "query",
|
|
16740
|
+
"required": false,
|
|
16741
|
+
"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",
|
|
16742
|
+
"schema": {
|
|
16743
|
+
"type": "boolean",
|
|
16744
|
+
"default": false,
|
|
16745
|
+
"example": false
|
|
16746
|
+
}
|
|
16747
|
+
}
|
|
16748
|
+
},
|
|
16749
|
+
"responses": {
|
|
16750
|
+
"BadRequest": {
|
|
16751
|
+
"description": "Invalid request",
|
|
16752
|
+
"content": {
|
|
16753
|
+
"application/json": {
|
|
16754
|
+
"schema": {
|
|
16755
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16756
|
+
}
|
|
16757
|
+
}
|
|
16758
|
+
}
|
|
16759
|
+
},
|
|
16760
|
+
"Unauthorized": {
|
|
16761
|
+
"description": "Authentication required or invalid",
|
|
16762
|
+
"content": {
|
|
16763
|
+
"application/json": {
|
|
16764
|
+
"schema": {
|
|
16765
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16766
|
+
}
|
|
16767
|
+
}
|
|
16768
|
+
}
|
|
16769
|
+
},
|
|
16770
|
+
"Forbidden": {
|
|
16771
|
+
"description": "Insufficient permissions",
|
|
16772
|
+
"content": {
|
|
16773
|
+
"application/json": {
|
|
16774
|
+
"schema": {
|
|
16775
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16776
|
+
}
|
|
16777
|
+
}
|
|
16778
|
+
}
|
|
16779
|
+
},
|
|
16780
|
+
"NotFound": {
|
|
16781
|
+
"description": "Resource not found",
|
|
16782
|
+
"content": {
|
|
16783
|
+
"application/json": {
|
|
16784
|
+
"schema": {
|
|
16785
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16786
|
+
}
|
|
16787
|
+
}
|
|
16788
|
+
}
|
|
16789
|
+
},
|
|
16790
|
+
"PaymentRequired": {
|
|
16791
|
+
"description": "x402 payment required",
|
|
16792
|
+
"content": {
|
|
16793
|
+
"application/json": {
|
|
16794
|
+
"schema": {
|
|
16795
|
+
"$ref": "#/components/schemas/PaymentRequirement"
|
|
16796
|
+
}
|
|
16797
|
+
}
|
|
16798
|
+
}
|
|
16799
|
+
},
|
|
16800
|
+
"Conflict": {
|
|
16801
|
+
"description": "Resource already exists or conflict",
|
|
16802
|
+
"content": {
|
|
16803
|
+
"application/json": {
|
|
16804
|
+
"schema": {
|
|
16805
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
16806
|
+
}
|
|
16807
|
+
}
|
|
16808
|
+
}
|
|
16809
|
+
}
|
|
16810
|
+
},
|
|
16811
|
+
"schemas": {
|
|
16812
|
+
"OrderCardRequest": {
|
|
16093
16813
|
"type": "object",
|
|
16094
16814
|
"required": [
|
|
16095
16815
|
"kind",
|
|
@@ -17419,6 +18139,16 @@
|
|
|
17419
18139
|
},
|
|
17420
18140
|
"tx_conditions": {
|
|
17421
18141
|
"$ref": "#/components/schemas/TxConditions"
|
|
18142
|
+
},
|
|
18143
|
+
"approval_id": {
|
|
18144
|
+
"type": "string",
|
|
18145
|
+
"format": "uuid",
|
|
18146
|
+
"description": "Optional completed approval ID for control-plane consensus bypass. When control-plane consensus policies match, resubmit with this field after the approval has been executed.\n"
|
|
18147
|
+
},
|
|
18148
|
+
"policy_schema_version": {
|
|
18149
|
+
"type": "integer",
|
|
18150
|
+
"default": 2,
|
|
18151
|
+
"description": "Policy schema version. Version 1 = legacy field-matching only.\nVersion 2 = expression engine support in tx_conditions.\n"
|
|
17422
18152
|
}
|
|
17423
18153
|
}
|
|
17424
18154
|
},
|
|
@@ -17461,6 +18191,11 @@
|
|
|
17461
18191
|
},
|
|
17462
18192
|
"tx_conditions": {
|
|
17463
18193
|
"$ref": "#/components/schemas/TxConditions"
|
|
18194
|
+
},
|
|
18195
|
+
"approval_id": {
|
|
18196
|
+
"type": "string",
|
|
18197
|
+
"format": "uuid",
|
|
18198
|
+
"description": "Optional completed approval ID for control-plane consensus bypass.\n"
|
|
17464
18199
|
}
|
|
17465
18200
|
}
|
|
17466
18201
|
},
|
|
@@ -17539,6 +18274,10 @@
|
|
|
17539
18274
|
},
|
|
17540
18275
|
"tx_conditions": {
|
|
17541
18276
|
"$ref": "#/components/schemas/TxConditions"
|
|
18277
|
+
},
|
|
18278
|
+
"policy_schema_version": {
|
|
18279
|
+
"type": "integer",
|
|
18280
|
+
"description": "Policy schema version (1 = legacy, 2 = expression engine)"
|
|
17542
18281
|
}
|
|
17543
18282
|
}
|
|
17544
18283
|
},
|
|
@@ -17803,6 +18542,11 @@
|
|
|
17803
18542
|
"type": "boolean",
|
|
17804
18543
|
"default": false,
|
|
17805
18544
|
"description": "When true, env var resolve endpoints auto-fill environment from this agent's tag."
|
|
18545
|
+
},
|
|
18546
|
+
"approval_id": {
|
|
18547
|
+
"type": "string",
|
|
18548
|
+
"format": "uuid",
|
|
18549
|
+
"description": "Optional completed approval ID for control-plane consensus bypass when creating an agent under a control-plane governance policy.\n"
|
|
17806
18550
|
}
|
|
17807
18551
|
}
|
|
17808
18552
|
},
|
|
@@ -19235,6 +19979,15 @@
|
|
|
19235
19979
|
"type": "string",
|
|
19236
19980
|
"format": "uuid",
|
|
19237
19981
|
"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"
|
|
19982
|
+
},
|
|
19983
|
+
"raw_transaction": {
|
|
19984
|
+
"type": "string",
|
|
19985
|
+
"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"
|
|
19986
|
+
},
|
|
19987
|
+
"tron_transaction": {
|
|
19988
|
+
"type": "object",
|
|
19989
|
+
"additionalProperties": true,
|
|
19990
|
+
"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"
|
|
19238
19991
|
}
|
|
19239
19992
|
}
|
|
19240
19993
|
},
|
|
@@ -19889,6 +20642,15 @@
|
|
|
19889
20642
|
"type": "string",
|
|
19890
20643
|
"format": "uuid",
|
|
19891
20644
|
"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"
|
|
20645
|
+
},
|
|
20646
|
+
"raw_transaction": {
|
|
20647
|
+
"type": "string",
|
|
20648
|
+
"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"
|
|
20649
|
+
},
|
|
20650
|
+
"tron_transaction": {
|
|
20651
|
+
"type": "object",
|
|
20652
|
+
"additionalProperties": true,
|
|
20653
|
+
"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"
|
|
19892
20654
|
}
|
|
19893
20655
|
}
|
|
19894
20656
|
},
|
|
@@ -20937,6 +21699,99 @@
|
|
|
20937
21699
|
}
|
|
20938
21700
|
}
|
|
20939
21701
|
},
|
|
21702
|
+
"AuditVerifyResponse": {
|
|
21703
|
+
"type": "object",
|
|
21704
|
+
"required": [
|
|
21705
|
+
"chain_valid",
|
|
21706
|
+
"events_verified",
|
|
21707
|
+
"events_checked",
|
|
21708
|
+
"scheme"
|
|
21709
|
+
],
|
|
21710
|
+
"properties": {
|
|
21711
|
+
"chain_valid": {
|
|
21712
|
+
"type": "boolean",
|
|
21713
|
+
"description": "Whether the integrity hash chain is unbroken"
|
|
21714
|
+
},
|
|
21715
|
+
"events_verified": {
|
|
21716
|
+
"type": "integer",
|
|
21717
|
+
"format": "int64",
|
|
21718
|
+
"description": "Number of events with valid integrity hashes"
|
|
21719
|
+
},
|
|
21720
|
+
"events_checked": {
|
|
21721
|
+
"type": "integer",
|
|
21722
|
+
"description": "Total events examined"
|
|
21723
|
+
},
|
|
21724
|
+
"broken_at_event_id": {
|
|
21725
|
+
"type": "string",
|
|
21726
|
+
"format": "uuid",
|
|
21727
|
+
"nullable": true,
|
|
21728
|
+
"description": "First event where chain integrity broke (null if valid)"
|
|
21729
|
+
},
|
|
21730
|
+
"scheme": {
|
|
21731
|
+
"type": "object",
|
|
21732
|
+
"properties": {
|
|
21733
|
+
"algorithm": {
|
|
21734
|
+
"type": "string",
|
|
21735
|
+
"example": "HMAC-SHA256"
|
|
21736
|
+
},
|
|
21737
|
+
"chain_structure": {
|
|
21738
|
+
"type": "string"
|
|
21739
|
+
},
|
|
21740
|
+
"hash_field": {
|
|
21741
|
+
"type": "string"
|
|
21742
|
+
},
|
|
21743
|
+
"link_field": {
|
|
21744
|
+
"type": "string"
|
|
21745
|
+
},
|
|
21746
|
+
"documentation": {
|
|
21747
|
+
"type": "string",
|
|
21748
|
+
"format": "uri"
|
|
21749
|
+
}
|
|
21750
|
+
}
|
|
21751
|
+
}
|
|
21752
|
+
}
|
|
21753
|
+
},
|
|
21754
|
+
"ShroudAttestationResponse": {
|
|
21755
|
+
"type": "object",
|
|
21756
|
+
"required": [
|
|
21757
|
+
"attested",
|
|
21758
|
+
"image_hash",
|
|
21759
|
+
"identity_token",
|
|
21760
|
+
"verification"
|
|
21761
|
+
],
|
|
21762
|
+
"properties": {
|
|
21763
|
+
"attested": {
|
|
21764
|
+
"type": "boolean",
|
|
21765
|
+
"description": "Whether TEE attestation was successfully fetched"
|
|
21766
|
+
},
|
|
21767
|
+
"image_hash": {
|
|
21768
|
+
"type": "string",
|
|
21769
|
+
"description": "Confidential VM image hash (compare against published Docker digest)"
|
|
21770
|
+
},
|
|
21771
|
+
"identity_token": {
|
|
21772
|
+
"type": "string",
|
|
21773
|
+
"description": "GCE metadata identity JWT (verify against Google public keys)"
|
|
21774
|
+
},
|
|
21775
|
+
"verification": {
|
|
21776
|
+
"type": "object",
|
|
21777
|
+
"properties": {
|
|
21778
|
+
"steps": {
|
|
21779
|
+
"type": "array",
|
|
21780
|
+
"items": {
|
|
21781
|
+
"type": "string"
|
|
21782
|
+
}
|
|
21783
|
+
},
|
|
21784
|
+
"google_certs_url": {
|
|
21785
|
+
"type": "string",
|
|
21786
|
+
"format": "uri"
|
|
21787
|
+
},
|
|
21788
|
+
"expected_audience": {
|
|
21789
|
+
"type": "string"
|
|
21790
|
+
}
|
|
21791
|
+
}
|
|
21792
|
+
}
|
|
21793
|
+
}
|
|
21794
|
+
},
|
|
20940
21795
|
"AuditEvent": {
|
|
20941
21796
|
"type": "object",
|
|
20942
21797
|
"properties": {
|
|
@@ -26788,6 +27643,11 @@
|
|
|
26788
27643
|
"type": "boolean",
|
|
26789
27644
|
"default": false,
|
|
26790
27645
|
"description": "When true, conditions are also evaluated against inner calls\nextracted from wrapper transactions (multicall, Safe execTransaction,\nERC-4337 handleOps). A match on any inner call counts as an overall match.\n"
|
|
27646
|
+
},
|
|
27647
|
+
"expression": {
|
|
27648
|
+
"type": "string",
|
|
27649
|
+
"maxLength": 1024,
|
|
27650
|
+
"description": "Mini expression DSL for policy conditions (schema version 2+).\nReferences transaction context fields (chain, value_wei, to_address,\nfunction_selector, etc.) with boolean operators. Fail-closed on parse\nor evaluation errors. Example: `chain == 'ethereum' && value_wei > 1000000000000000000`\n"
|
|
26791
27651
|
}
|
|
26792
27652
|
}
|
|
26793
27653
|
},
|
|
@@ -26877,6 +27737,20 @@
|
|
|
26877
27737
|
"always": {
|
|
26878
27738
|
"type": "boolean",
|
|
26879
27739
|
"description": "When true, this entry always matches regardless of other fields"
|
|
27740
|
+
},
|
|
27741
|
+
"action_in": {
|
|
27742
|
+
"type": "array",
|
|
27743
|
+
"items": {
|
|
27744
|
+
"type": "string"
|
|
27745
|
+
},
|
|
27746
|
+
"description": "Control-plane actions to match (e.g. policy.create, signing_key.export)"
|
|
27747
|
+
},
|
|
27748
|
+
"action_kind_in": {
|
|
27749
|
+
"type": "array",
|
|
27750
|
+
"items": {
|
|
27751
|
+
"type": "string"
|
|
27752
|
+
},
|
|
27753
|
+
"description": "Version-agnostic action kind groups (e.g. signing_key.*, policy.*, member.*)\n"
|
|
26880
27754
|
}
|
|
26881
27755
|
}
|
|
26882
27756
|
},
|
|
@@ -27076,6 +27950,28 @@
|
|
|
27076
27950
|
"description": "Control-plane actions to match, e.g. policy.create, policy.update,\npolicy.delete, signing_key.export, member.role_change, member.remove\n"
|
|
27077
27951
|
}
|
|
27078
27952
|
}
|
|
27953
|
+
},
|
|
27954
|
+
{
|
|
27955
|
+
"type": "object",
|
|
27956
|
+
"required": [
|
|
27957
|
+
"type",
|
|
27958
|
+
"action_kinds"
|
|
27959
|
+
],
|
|
27960
|
+
"properties": {
|
|
27961
|
+
"type": {
|
|
27962
|
+
"type": "string",
|
|
27963
|
+
"enum": [
|
|
27964
|
+
"action_kind_in"
|
|
27965
|
+
]
|
|
27966
|
+
},
|
|
27967
|
+
"action_kinds": {
|
|
27968
|
+
"type": "array",
|
|
27969
|
+
"items": {
|
|
27970
|
+
"type": "string"
|
|
27971
|
+
},
|
|
27972
|
+
"description": "Version-agnostic action kind groups, e.g. signing_key.*, policy.*, member.*\n"
|
|
27973
|
+
}
|
|
27974
|
+
}
|
|
27079
27975
|
}
|
|
27080
27976
|
]
|
|
27081
27977
|
},
|
|
@@ -27116,734 +28012,1228 @@
|
|
|
27116
28012
|
}
|
|
27117
28013
|
}
|
|
27118
28014
|
},
|
|
27119
|
-
"SubmitPendingApprovalRequest": {
|
|
28015
|
+
"SubmitPendingApprovalRequest": {
|
|
28016
|
+
"type": "object",
|
|
28017
|
+
"required": [
|
|
28018
|
+
"policy_id",
|
|
28019
|
+
"action",
|
|
28020
|
+
"action_payload"
|
|
28021
|
+
],
|
|
28022
|
+
"properties": {
|
|
28023
|
+
"policy_id": {
|
|
28024
|
+
"type": "string",
|
|
28025
|
+
"format": "uuid"
|
|
28026
|
+
},
|
|
28027
|
+
"action": {
|
|
28028
|
+
"type": "string"
|
|
28029
|
+
},
|
|
28030
|
+
"action_payload": {
|
|
28031
|
+
"type": "object"
|
|
28032
|
+
}
|
|
28033
|
+
}
|
|
28034
|
+
},
|
|
28035
|
+
"SubmitPendingApprovalResponse": {
|
|
28036
|
+
"type": "object",
|
|
28037
|
+
"properties": {
|
|
28038
|
+
"pending_approval_id": {
|
|
28039
|
+
"type": "string",
|
|
28040
|
+
"format": "uuid"
|
|
28041
|
+
},
|
|
28042
|
+
"required_approvals": {
|
|
28043
|
+
"type": "integer"
|
|
28044
|
+
},
|
|
28045
|
+
"current_approvals": {
|
|
28046
|
+
"type": "integer"
|
|
28047
|
+
},
|
|
28048
|
+
"expires_at": {
|
|
28049
|
+
"type": "string",
|
|
28050
|
+
"format": "date-time"
|
|
28051
|
+
},
|
|
28052
|
+
"status": {
|
|
28053
|
+
"type": "string"
|
|
28054
|
+
},
|
|
28055
|
+
"message": {
|
|
28056
|
+
"type": "string"
|
|
28057
|
+
}
|
|
28058
|
+
}
|
|
28059
|
+
},
|
|
28060
|
+
"ApprovePendingApprovalRequest": {
|
|
28061
|
+
"type": "object",
|
|
28062
|
+
"required": [
|
|
28063
|
+
"decision",
|
|
28064
|
+
"payload_hash"
|
|
28065
|
+
],
|
|
28066
|
+
"properties": {
|
|
28067
|
+
"decision": {
|
|
28068
|
+
"type": "string",
|
|
28069
|
+
"enum": [
|
|
28070
|
+
"approve",
|
|
28071
|
+
"reject"
|
|
28072
|
+
]
|
|
28073
|
+
},
|
|
28074
|
+
"payload_hash": {
|
|
28075
|
+
"type": "string"
|
|
28076
|
+
},
|
|
28077
|
+
"reason": {
|
|
28078
|
+
"type": "string"
|
|
28079
|
+
},
|
|
28080
|
+
"credential_type": {
|
|
28081
|
+
"type": "string",
|
|
28082
|
+
"enum": [
|
|
28083
|
+
"password",
|
|
28084
|
+
"passkey",
|
|
28085
|
+
"totp",
|
|
28086
|
+
"biometric",
|
|
28087
|
+
"api_key"
|
|
28088
|
+
],
|
|
28089
|
+
"description": "Authentication method used for this approval vote"
|
|
28090
|
+
}
|
|
28091
|
+
}
|
|
28092
|
+
},
|
|
28093
|
+
"PendingApprovalResponse": {
|
|
28094
|
+
"type": "object",
|
|
28095
|
+
"properties": {
|
|
28096
|
+
"id": {
|
|
28097
|
+
"type": "string",
|
|
28098
|
+
"format": "uuid"
|
|
28099
|
+
},
|
|
28100
|
+
"org_id": {
|
|
28101
|
+
"type": "string",
|
|
28102
|
+
"format": "uuid"
|
|
28103
|
+
},
|
|
28104
|
+
"policy_id": {
|
|
28105
|
+
"type": "string",
|
|
28106
|
+
"format": "uuid"
|
|
28107
|
+
},
|
|
28108
|
+
"action": {
|
|
28109
|
+
"type": "string"
|
|
28110
|
+
},
|
|
28111
|
+
"action_payload": {
|
|
28112
|
+
"type": "object"
|
|
28113
|
+
},
|
|
28114
|
+
"payload_hash": {
|
|
28115
|
+
"type": "string"
|
|
28116
|
+
},
|
|
28117
|
+
"submitted_by": {
|
|
28118
|
+
"type": "string",
|
|
28119
|
+
"format": "uuid"
|
|
28120
|
+
},
|
|
28121
|
+
"submitted_by_type": {
|
|
28122
|
+
"type": "string"
|
|
28123
|
+
},
|
|
28124
|
+
"status": {
|
|
28125
|
+
"type": "string"
|
|
28126
|
+
},
|
|
28127
|
+
"required_approvals": {
|
|
28128
|
+
"type": "integer"
|
|
28129
|
+
},
|
|
28130
|
+
"current_approvals": {
|
|
28131
|
+
"type": "integer"
|
|
28132
|
+
},
|
|
28133
|
+
"expires_at": {
|
|
28134
|
+
"type": "string",
|
|
28135
|
+
"format": "date-time"
|
|
28136
|
+
},
|
|
28137
|
+
"executed_at": {
|
|
28138
|
+
"type": "string",
|
|
28139
|
+
"format": "date-time"
|
|
28140
|
+
},
|
|
28141
|
+
"created_at": {
|
|
28142
|
+
"type": "string",
|
|
28143
|
+
"format": "date-time"
|
|
28144
|
+
},
|
|
28145
|
+
"updated_at": {
|
|
28146
|
+
"type": "string",
|
|
28147
|
+
"format": "date-time"
|
|
28148
|
+
},
|
|
28149
|
+
"signatures": {
|
|
28150
|
+
"type": "array",
|
|
28151
|
+
"items": {
|
|
28152
|
+
"$ref": "#/components/schemas/ApprovalSignatureResponse"
|
|
28153
|
+
}
|
|
28154
|
+
}
|
|
28155
|
+
}
|
|
28156
|
+
},
|
|
28157
|
+
"ApprovalSignatureResponse": {
|
|
28158
|
+
"type": "object",
|
|
28159
|
+
"properties": {
|
|
28160
|
+
"id": {
|
|
28161
|
+
"type": "string",
|
|
28162
|
+
"format": "uuid"
|
|
28163
|
+
},
|
|
28164
|
+
"approver_id": {
|
|
28165
|
+
"type": "string",
|
|
28166
|
+
"format": "uuid"
|
|
28167
|
+
},
|
|
28168
|
+
"approver_type": {
|
|
28169
|
+
"type": "string"
|
|
28170
|
+
},
|
|
28171
|
+
"decision": {
|
|
28172
|
+
"type": "string"
|
|
28173
|
+
},
|
|
28174
|
+
"reason": {
|
|
28175
|
+
"type": "string"
|
|
28176
|
+
},
|
|
28177
|
+
"created_at": {
|
|
28178
|
+
"type": "string",
|
|
28179
|
+
"format": "date-time"
|
|
28180
|
+
}
|
|
28181
|
+
}
|
|
28182
|
+
},
|
|
28183
|
+
"PendingApprovalListResponse": {
|
|
27120
28184
|
"type": "object",
|
|
27121
|
-
"required": [
|
|
27122
|
-
"policy_id",
|
|
27123
|
-
"action",
|
|
27124
|
-
"action_payload"
|
|
27125
|
-
],
|
|
27126
28185
|
"properties": {
|
|
27127
|
-
"
|
|
27128
|
-
"type": "
|
|
27129
|
-
"
|
|
27130
|
-
|
|
27131
|
-
|
|
27132
|
-
"type": "string"
|
|
28186
|
+
"pending_approvals": {
|
|
28187
|
+
"type": "array",
|
|
28188
|
+
"items": {
|
|
28189
|
+
"$ref": "#/components/schemas/PendingApprovalResponse"
|
|
28190
|
+
}
|
|
27133
28191
|
},
|
|
27134
|
-
"
|
|
27135
|
-
"type": "
|
|
28192
|
+
"total": {
|
|
28193
|
+
"type": "integer",
|
|
28194
|
+
"format": "int64"
|
|
27136
28195
|
}
|
|
27137
28196
|
}
|
|
27138
28197
|
},
|
|
27139
|
-
"
|
|
28198
|
+
"ExecutePendingApprovalResponse": {
|
|
27140
28199
|
"type": "object",
|
|
27141
28200
|
"properties": {
|
|
27142
28201
|
"pending_approval_id": {
|
|
27143
28202
|
"type": "string",
|
|
27144
28203
|
"format": "uuid"
|
|
27145
28204
|
},
|
|
27146
|
-
"
|
|
27147
|
-
"type": "
|
|
27148
|
-
},
|
|
27149
|
-
"current_approvals": {
|
|
27150
|
-
"type": "integer"
|
|
28205
|
+
"status": {
|
|
28206
|
+
"type": "string"
|
|
27151
28207
|
},
|
|
27152
|
-
"
|
|
28208
|
+
"executed_at": {
|
|
27153
28209
|
"type": "string",
|
|
27154
28210
|
"format": "date-time"
|
|
27155
28211
|
},
|
|
27156
|
-
"
|
|
27157
|
-
"type": "
|
|
27158
|
-
},
|
|
27159
|
-
"message": {
|
|
27160
|
-
"type": "string"
|
|
28212
|
+
"result": {
|
|
28213
|
+
"type": "object"
|
|
27161
28214
|
}
|
|
27162
28215
|
}
|
|
27163
28216
|
},
|
|
27164
|
-
"
|
|
28217
|
+
"CreateSubOrgRequest": {
|
|
27165
28218
|
"type": "object",
|
|
27166
28219
|
"required": [
|
|
27167
|
-
"
|
|
27168
|
-
"payload_hash"
|
|
28220
|
+
"name"
|
|
27169
28221
|
],
|
|
27170
28222
|
"properties": {
|
|
27171
|
-
"
|
|
28223
|
+
"name": {
|
|
27172
28224
|
"type": "string",
|
|
27173
|
-
"
|
|
27174
|
-
|
|
27175
|
-
"reject"
|
|
27176
|
-
]
|
|
27177
|
-
},
|
|
27178
|
-
"payload_hash": {
|
|
27179
|
-
"type": "string"
|
|
28225
|
+
"minLength": 1,
|
|
28226
|
+
"maxLength": 128
|
|
27180
28227
|
},
|
|
27181
|
-
"
|
|
28228
|
+
"description": {
|
|
27182
28229
|
"type": "string"
|
|
27183
28230
|
},
|
|
27184
|
-
"
|
|
28231
|
+
"billing_model": {
|
|
27185
28232
|
"type": "string",
|
|
27186
28233
|
"enum": [
|
|
27187
|
-
"
|
|
27188
|
-
"
|
|
27189
|
-
"totp",
|
|
27190
|
-
"biometric",
|
|
27191
|
-
"api_key"
|
|
28234
|
+
"inherit",
|
|
28235
|
+
"independent"
|
|
27192
28236
|
],
|
|
27193
|
-
"
|
|
28237
|
+
"default": "inherit"
|
|
27194
28238
|
}
|
|
27195
28239
|
}
|
|
27196
28240
|
},
|
|
27197
|
-
"
|
|
28241
|
+
"SubOrgResponse": {
|
|
27198
28242
|
"type": "object",
|
|
27199
28243
|
"properties": {
|
|
27200
28244
|
"id": {
|
|
27201
28245
|
"type": "string",
|
|
27202
28246
|
"format": "uuid"
|
|
27203
28247
|
},
|
|
27204
|
-
"
|
|
28248
|
+
"parent_org_id": {
|
|
27205
28249
|
"type": "string",
|
|
27206
28250
|
"format": "uuid"
|
|
27207
28251
|
},
|
|
27208
|
-
"
|
|
28252
|
+
"name": {
|
|
28253
|
+
"type": "string"
|
|
28254
|
+
},
|
|
28255
|
+
"description": {
|
|
28256
|
+
"type": "string"
|
|
28257
|
+
},
|
|
28258
|
+
"billing_model": {
|
|
28259
|
+
"type": "string"
|
|
28260
|
+
},
|
|
28261
|
+
"status": {
|
|
28262
|
+
"type": "string",
|
|
28263
|
+
"enum": [
|
|
28264
|
+
"active",
|
|
28265
|
+
"archived"
|
|
28266
|
+
]
|
|
28267
|
+
},
|
|
28268
|
+
"created_at": {
|
|
28269
|
+
"type": "string",
|
|
28270
|
+
"format": "date-time"
|
|
28271
|
+
}
|
|
28272
|
+
}
|
|
28273
|
+
},
|
|
28274
|
+
"SubOrgListResponse": {
|
|
28275
|
+
"type": "object",
|
|
28276
|
+
"properties": {
|
|
28277
|
+
"sub_orgs": {
|
|
28278
|
+
"type": "array",
|
|
28279
|
+
"items": {
|
|
28280
|
+
"$ref": "#/components/schemas/SubOrgResponse"
|
|
28281
|
+
}
|
|
28282
|
+
}
|
|
28283
|
+
}
|
|
28284
|
+
},
|
|
28285
|
+
"SubOrgPermissionRequest": {
|
|
28286
|
+
"type": "object",
|
|
28287
|
+
"required": [
|
|
28288
|
+
"permission"
|
|
28289
|
+
],
|
|
28290
|
+
"properties": {
|
|
28291
|
+
"permission": {
|
|
28292
|
+
"type": "string",
|
|
28293
|
+
"description": "Permission to grant (e.g. vaults:read, agents:write)"
|
|
28294
|
+
},
|
|
28295
|
+
"resource_ids": {
|
|
28296
|
+
"type": "array",
|
|
28297
|
+
"items": {
|
|
28298
|
+
"type": "string",
|
|
28299
|
+
"format": "uuid"
|
|
28300
|
+
}
|
|
28301
|
+
}
|
|
28302
|
+
}
|
|
28303
|
+
},
|
|
28304
|
+
"SubOrgAddUserRequest": {
|
|
28305
|
+
"type": "object",
|
|
28306
|
+
"required": [
|
|
28307
|
+
"user_id"
|
|
28308
|
+
],
|
|
28309
|
+
"properties": {
|
|
28310
|
+
"user_id": {
|
|
27209
28311
|
"type": "string",
|
|
27210
28312
|
"format": "uuid"
|
|
27211
28313
|
},
|
|
27212
|
-
"
|
|
28314
|
+
"role": {
|
|
28315
|
+
"type": "string",
|
|
28316
|
+
"enum": [
|
|
28317
|
+
"admin",
|
|
28318
|
+
"member",
|
|
28319
|
+
"viewer"
|
|
28320
|
+
],
|
|
28321
|
+
"default": "member"
|
|
28322
|
+
}
|
|
28323
|
+
}
|
|
28324
|
+
},
|
|
28325
|
+
"SubOrgGenerateWalletsRequest": {
|
|
28326
|
+
"type": "object",
|
|
28327
|
+
"properties": {
|
|
28328
|
+
"chains": {
|
|
28329
|
+
"type": "array",
|
|
28330
|
+
"items": {
|
|
28331
|
+
"type": "string"
|
|
28332
|
+
}
|
|
28333
|
+
}
|
|
28334
|
+
}
|
|
28335
|
+
},
|
|
28336
|
+
"PortfolioResponse": {
|
|
28337
|
+
"type": "object",
|
|
28338
|
+
"properties": {
|
|
28339
|
+
"wallets": {
|
|
28340
|
+
"type": "array",
|
|
28341
|
+
"items": {
|
|
28342
|
+
"$ref": "#/components/schemas/PortfolioWalletEntry"
|
|
28343
|
+
}
|
|
28344
|
+
},
|
|
28345
|
+
"total_usd_estimate": {
|
|
27213
28346
|
"type": "string"
|
|
28347
|
+
}
|
|
28348
|
+
}
|
|
28349
|
+
},
|
|
28350
|
+
"PortfolioWalletEntry": {
|
|
28351
|
+
"type": "object",
|
|
28352
|
+
"properties": {
|
|
28353
|
+
"wallet_type": {
|
|
28354
|
+
"type": "string",
|
|
28355
|
+
"enum": [
|
|
28356
|
+
"treasury",
|
|
28357
|
+
"signing_key",
|
|
28358
|
+
"smart_account"
|
|
28359
|
+
]
|
|
27214
28360
|
},
|
|
27215
|
-
"
|
|
27216
|
-
"type": "
|
|
28361
|
+
"chain": {
|
|
28362
|
+
"type": "string"
|
|
27217
28363
|
},
|
|
27218
|
-
"
|
|
28364
|
+
"address": {
|
|
27219
28365
|
"type": "string"
|
|
27220
28366
|
},
|
|
27221
|
-
"
|
|
27222
|
-
"type": "string"
|
|
27223
|
-
"format": "uuid"
|
|
28367
|
+
"native_balance": {
|
|
28368
|
+
"type": "string"
|
|
27224
28369
|
},
|
|
27225
|
-
"
|
|
28370
|
+
"native_balance_usd": {
|
|
27226
28371
|
"type": "string"
|
|
27227
28372
|
},
|
|
27228
|
-
"
|
|
28373
|
+
"tokens": {
|
|
28374
|
+
"type": "array",
|
|
28375
|
+
"items": {
|
|
28376
|
+
"$ref": "#/components/schemas/PortfolioTokenBalance"
|
|
28377
|
+
}
|
|
28378
|
+
}
|
|
28379
|
+
}
|
|
28380
|
+
},
|
|
28381
|
+
"PortfolioTokenBalance": {
|
|
28382
|
+
"type": "object",
|
|
28383
|
+
"properties": {
|
|
28384
|
+
"contract_address": {
|
|
27229
28385
|
"type": "string"
|
|
27230
28386
|
},
|
|
27231
|
-
"
|
|
27232
|
-
"type": "
|
|
28387
|
+
"symbol": {
|
|
28388
|
+
"type": "string"
|
|
27233
28389
|
},
|
|
27234
|
-
"
|
|
27235
|
-
"type": "
|
|
28390
|
+
"name": {
|
|
28391
|
+
"type": "string"
|
|
27236
28392
|
},
|
|
27237
|
-
"
|
|
27238
|
-
"type": "string"
|
|
27239
|
-
"format": "date-time"
|
|
28393
|
+
"balance": {
|
|
28394
|
+
"type": "string"
|
|
27240
28395
|
},
|
|
27241
|
-
"
|
|
27242
|
-
"type": "string"
|
|
27243
|
-
"format": "date-time"
|
|
28396
|
+
"balance_usd": {
|
|
28397
|
+
"type": "string"
|
|
27244
28398
|
},
|
|
27245
|
-
"
|
|
27246
|
-
"type": "
|
|
27247
|
-
|
|
28399
|
+
"decimals": {
|
|
28400
|
+
"type": "integer"
|
|
28401
|
+
}
|
|
28402
|
+
}
|
|
28403
|
+
},
|
|
28404
|
+
"ImportSmartAccountRequest": {
|
|
28405
|
+
"type": "object",
|
|
28406
|
+
"required": [
|
|
28407
|
+
"chain",
|
|
28408
|
+
"chain_id",
|
|
28409
|
+
"safe_address"
|
|
28410
|
+
],
|
|
28411
|
+
"properties": {
|
|
28412
|
+
"chain": {
|
|
28413
|
+
"type": "string"
|
|
27248
28414
|
},
|
|
27249
|
-
"
|
|
27250
|
-
"type": "
|
|
27251
|
-
"format": "date-time"
|
|
28415
|
+
"chain_id": {
|
|
28416
|
+
"type": "integer"
|
|
27252
28417
|
},
|
|
27253
|
-
"
|
|
27254
|
-
"type": "
|
|
27255
|
-
|
|
27256
|
-
|
|
27257
|
-
|
|
28418
|
+
"safe_address": {
|
|
28419
|
+
"type": "string"
|
|
28420
|
+
},
|
|
28421
|
+
"verify": {
|
|
28422
|
+
"type": "boolean",
|
|
28423
|
+
"default": true,
|
|
28424
|
+
"description": "Verify on-chain Safe ownership"
|
|
27258
28425
|
}
|
|
27259
28426
|
}
|
|
27260
28427
|
},
|
|
27261
|
-
"
|
|
28428
|
+
"ImportSmartAccountResponse": {
|
|
27262
28429
|
"type": "object",
|
|
27263
28430
|
"properties": {
|
|
27264
28431
|
"id": {
|
|
27265
28432
|
"type": "string",
|
|
27266
28433
|
"format": "uuid"
|
|
27267
28434
|
},
|
|
27268
|
-
"
|
|
28435
|
+
"agent_id": {
|
|
27269
28436
|
"type": "string",
|
|
27270
28437
|
"format": "uuid"
|
|
27271
28438
|
},
|
|
27272
|
-
"
|
|
28439
|
+
"chain": {
|
|
27273
28440
|
"type": "string"
|
|
27274
28441
|
},
|
|
27275
|
-
"
|
|
27276
|
-
"type": "
|
|
28442
|
+
"chain_id": {
|
|
28443
|
+
"type": "integer"
|
|
27277
28444
|
},
|
|
27278
|
-
"
|
|
28445
|
+
"safe_address": {
|
|
27279
28446
|
"type": "string"
|
|
27280
28447
|
},
|
|
28448
|
+
"nonce": {
|
|
28449
|
+
"type": "integer",
|
|
28450
|
+
"nullable": true
|
|
28451
|
+
},
|
|
27281
28452
|
"created_at": {
|
|
27282
28453
|
"type": "string",
|
|
27283
28454
|
"format": "date-time"
|
|
27284
28455
|
}
|
|
27285
28456
|
}
|
|
27286
28457
|
},
|
|
27287
|
-
"
|
|
28458
|
+
"EnvVar": {
|
|
27288
28459
|
"type": "object",
|
|
27289
28460
|
"properties": {
|
|
27290
|
-
"
|
|
28461
|
+
"id": {
|
|
28462
|
+
"type": "string",
|
|
28463
|
+
"format": "uuid"
|
|
28464
|
+
},
|
|
28465
|
+
"key": {
|
|
28466
|
+
"type": "string"
|
|
28467
|
+
},
|
|
28468
|
+
"environments": {
|
|
27291
28469
|
"type": "array",
|
|
27292
28470
|
"items": {
|
|
27293
|
-
"
|
|
28471
|
+
"type": "string"
|
|
27294
28472
|
}
|
|
27295
28473
|
},
|
|
27296
|
-
"
|
|
27297
|
-
"type": "integer",
|
|
27298
|
-
"format": "int64"
|
|
27299
|
-
}
|
|
27300
|
-
}
|
|
27301
|
-
},
|
|
27302
|
-
"ExecutePendingApprovalResponse": {
|
|
27303
|
-
"type": "object",
|
|
27304
|
-
"properties": {
|
|
27305
|
-
"pending_approval_id": {
|
|
28474
|
+
"git_branch": {
|
|
27306
28475
|
"type": "string",
|
|
27307
|
-
"
|
|
28476
|
+
"nullable": true
|
|
27308
28477
|
},
|
|
27309
|
-
"
|
|
27310
|
-
"type": "
|
|
28478
|
+
"sensitive": {
|
|
28479
|
+
"type": "boolean"
|
|
27311
28480
|
},
|
|
27312
|
-
"
|
|
28481
|
+
"comment": {
|
|
28482
|
+
"type": "string",
|
|
28483
|
+
"nullable": true
|
|
28484
|
+
},
|
|
28485
|
+
"value": {
|
|
28486
|
+
"type": "string",
|
|
28487
|
+
"nullable": true,
|
|
28488
|
+
"description": "Null for sensitive vars in list responses"
|
|
28489
|
+
},
|
|
28490
|
+
"version": {
|
|
28491
|
+
"type": "integer"
|
|
28492
|
+
},
|
|
28493
|
+
"created_by": {
|
|
28494
|
+
"type": "string",
|
|
28495
|
+
"nullable": true
|
|
28496
|
+
},
|
|
28497
|
+
"created_at": {
|
|
27313
28498
|
"type": "string",
|
|
27314
28499
|
"format": "date-time"
|
|
27315
28500
|
},
|
|
27316
|
-
"
|
|
27317
|
-
"type": "
|
|
28501
|
+
"updated_at": {
|
|
28502
|
+
"type": "string",
|
|
28503
|
+
"format": "date-time"
|
|
27318
28504
|
}
|
|
27319
28505
|
}
|
|
27320
28506
|
},
|
|
27321
|
-
"
|
|
28507
|
+
"CreateEnvVarRequest": {
|
|
27322
28508
|
"type": "object",
|
|
27323
28509
|
"required": [
|
|
27324
|
-
"
|
|
28510
|
+
"key",
|
|
28511
|
+
"value"
|
|
27325
28512
|
],
|
|
27326
28513
|
"properties": {
|
|
27327
|
-
"
|
|
28514
|
+
"key": {
|
|
27328
28515
|
"type": "string",
|
|
27329
|
-
"
|
|
27330
|
-
"maxLength": 128
|
|
28516
|
+
"description": "Uppercase alphanumeric + underscore, 1-256 chars"
|
|
27331
28517
|
},
|
|
27332
|
-
"
|
|
28518
|
+
"value": {
|
|
27333
28519
|
"type": "string"
|
|
27334
28520
|
},
|
|
27335
|
-
"
|
|
27336
|
-
"type": "
|
|
27337
|
-
"
|
|
27338
|
-
"
|
|
27339
|
-
|
|
27340
|
-
|
|
27341
|
-
|
|
27342
|
-
|
|
27343
|
-
|
|
27344
|
-
|
|
27345
|
-
"SubOrgResponse": {
|
|
27346
|
-
"type": "object",
|
|
27347
|
-
"properties": {
|
|
27348
|
-
"id": {
|
|
27349
|
-
"type": "string",
|
|
27350
|
-
"format": "uuid"
|
|
28521
|
+
"environments": {
|
|
28522
|
+
"type": "array",
|
|
28523
|
+
"items": {
|
|
28524
|
+
"type": "string"
|
|
28525
|
+
},
|
|
28526
|
+
"default": [
|
|
28527
|
+
"production",
|
|
28528
|
+
"preview",
|
|
28529
|
+
"development"
|
|
28530
|
+
]
|
|
27351
28531
|
},
|
|
27352
|
-
"
|
|
28532
|
+
"git_branch": {
|
|
27353
28533
|
"type": "string",
|
|
27354
|
-
"
|
|
27355
|
-
},
|
|
27356
|
-
"name": {
|
|
27357
|
-
"type": "string"
|
|
28534
|
+
"description": "Branch override (preview only)"
|
|
27358
28535
|
},
|
|
27359
|
-
"
|
|
27360
|
-
"type": "
|
|
28536
|
+
"sensitive": {
|
|
28537
|
+
"type": "boolean",
|
|
28538
|
+
"default": false
|
|
27361
28539
|
},
|
|
27362
|
-
"
|
|
28540
|
+
"comment": {
|
|
27363
28541
|
"type": "string"
|
|
27364
|
-
},
|
|
27365
|
-
"status": {
|
|
27366
|
-
"type": "string",
|
|
27367
|
-
"enum": [
|
|
27368
|
-
"active",
|
|
27369
|
-
"archived"
|
|
27370
|
-
]
|
|
27371
|
-
},
|
|
27372
|
-
"created_at": {
|
|
27373
|
-
"type": "string",
|
|
27374
|
-
"format": "date-time"
|
|
27375
28542
|
}
|
|
27376
28543
|
}
|
|
27377
28544
|
},
|
|
27378
|
-
"
|
|
28545
|
+
"UpdateEnvVarRequest": {
|
|
27379
28546
|
"type": "object",
|
|
27380
28547
|
"properties": {
|
|
27381
|
-
"
|
|
28548
|
+
"value": {
|
|
28549
|
+
"type": "string"
|
|
28550
|
+
},
|
|
28551
|
+
"environments": {
|
|
27382
28552
|
"type": "array",
|
|
27383
28553
|
"items": {
|
|
27384
|
-
"
|
|
28554
|
+
"type": "string"
|
|
27385
28555
|
}
|
|
28556
|
+
},
|
|
28557
|
+
"sensitive": {
|
|
28558
|
+
"type": "boolean"
|
|
28559
|
+
},
|
|
28560
|
+
"comment": {
|
|
28561
|
+
"type": "string"
|
|
27386
28562
|
}
|
|
27387
28563
|
}
|
|
27388
28564
|
},
|
|
27389
|
-
"
|
|
28565
|
+
"ResolveEnvVarsResponse": {
|
|
27390
28566
|
"type": "object",
|
|
27391
|
-
"required": [
|
|
27392
|
-
"permission"
|
|
27393
|
-
],
|
|
27394
28567
|
"properties": {
|
|
27395
|
-
"
|
|
27396
|
-
"type": "
|
|
27397
|
-
"
|
|
28568
|
+
"vars": {
|
|
28569
|
+
"type": "object",
|
|
28570
|
+
"additionalProperties": {
|
|
28571
|
+
"type": "string"
|
|
28572
|
+
}
|
|
27398
28573
|
},
|
|
27399
|
-
"
|
|
27400
|
-
"type": "
|
|
27401
|
-
"
|
|
28574
|
+
"sources": {
|
|
28575
|
+
"type": "object",
|
|
28576
|
+
"additionalProperties": {
|
|
27402
28577
|
"type": "string",
|
|
27403
|
-
"
|
|
28578
|
+
"enum": [
|
|
28579
|
+
"shared",
|
|
28580
|
+
"vault",
|
|
28581
|
+
"branch_override"
|
|
28582
|
+
]
|
|
27404
28583
|
}
|
|
28584
|
+
},
|
|
28585
|
+
"environment": {
|
|
28586
|
+
"type": "string"
|
|
28587
|
+
},
|
|
28588
|
+
"git_branch": {
|
|
28589
|
+
"type": "string",
|
|
28590
|
+
"nullable": true
|
|
28591
|
+
},
|
|
28592
|
+
"resolved_at": {
|
|
28593
|
+
"type": "string",
|
|
28594
|
+
"format": "date-time"
|
|
27405
28595
|
}
|
|
27406
28596
|
}
|
|
27407
28597
|
},
|
|
27408
|
-
"
|
|
28598
|
+
"VaultEnvironment": {
|
|
27409
28599
|
"type": "object",
|
|
27410
|
-
"required": [
|
|
27411
|
-
"user_id"
|
|
27412
|
-
],
|
|
27413
28600
|
"properties": {
|
|
27414
|
-
"
|
|
28601
|
+
"id": {
|
|
27415
28602
|
"type": "string",
|
|
27416
28603
|
"format": "uuid"
|
|
27417
28604
|
},
|
|
27418
|
-
"
|
|
28605
|
+
"slug": {
|
|
28606
|
+
"type": "string"
|
|
28607
|
+
},
|
|
28608
|
+
"description": {
|
|
27419
28609
|
"type": "string",
|
|
27420
|
-
"
|
|
27421
|
-
|
|
27422
|
-
|
|
27423
|
-
|
|
27424
|
-
|
|
27425
|
-
|
|
27426
|
-
|
|
27427
|
-
|
|
27428
|
-
|
|
27429
|
-
|
|
27430
|
-
|
|
27431
|
-
|
|
27432
|
-
"
|
|
27433
|
-
"type": "
|
|
27434
|
-
"
|
|
27435
|
-
"type": "string"
|
|
27436
|
-
}
|
|
28610
|
+
"nullable": true
|
|
28611
|
+
},
|
|
28612
|
+
"is_builtin": {
|
|
28613
|
+
"type": "boolean"
|
|
28614
|
+
},
|
|
28615
|
+
"copied_from": {
|
|
28616
|
+
"type": "string",
|
|
28617
|
+
"nullable": true
|
|
28618
|
+
},
|
|
28619
|
+
"is_detached": {
|
|
28620
|
+
"type": "boolean"
|
|
28621
|
+
},
|
|
28622
|
+
"created_at": {
|
|
28623
|
+
"type": "string",
|
|
28624
|
+
"format": "date-time"
|
|
27437
28625
|
}
|
|
27438
28626
|
}
|
|
27439
28627
|
},
|
|
27440
|
-
"
|
|
28628
|
+
"CreateEnvironmentRequest": {
|
|
27441
28629
|
"type": "object",
|
|
28630
|
+
"required": [
|
|
28631
|
+
"slug"
|
|
28632
|
+
],
|
|
27442
28633
|
"properties": {
|
|
27443
|
-
"
|
|
27444
|
-
"type": "
|
|
27445
|
-
"
|
|
27446
|
-
"$ref": "#/components/schemas/PortfolioWalletEntry"
|
|
27447
|
-
}
|
|
28634
|
+
"slug": {
|
|
28635
|
+
"type": "string",
|
|
28636
|
+
"description": "Lowercase alphanumeric + hyphens, 2-30 chars"
|
|
27448
28637
|
},
|
|
27449
|
-
"
|
|
28638
|
+
"description": {
|
|
27450
28639
|
"type": "string"
|
|
28640
|
+
},
|
|
28641
|
+
"copy_from": {
|
|
28642
|
+
"type": "string",
|
|
28643
|
+
"description": "Copy env vars from this environment"
|
|
27451
28644
|
}
|
|
27452
28645
|
}
|
|
27453
28646
|
},
|
|
27454
|
-
"
|
|
28647
|
+
"OrgEnvVar": {
|
|
27455
28648
|
"type": "object",
|
|
27456
28649
|
"properties": {
|
|
27457
|
-
"
|
|
28650
|
+
"id": {
|
|
27458
28651
|
"type": "string",
|
|
27459
|
-
"
|
|
27460
|
-
"treasury",
|
|
27461
|
-
"signing_key",
|
|
27462
|
-
"smart_account"
|
|
27463
|
-
]
|
|
28652
|
+
"format": "uuid"
|
|
27464
28653
|
},
|
|
27465
|
-
"
|
|
28654
|
+
"key": {
|
|
27466
28655
|
"type": "string"
|
|
27467
28656
|
},
|
|
27468
|
-
"
|
|
27469
|
-
"type": "
|
|
28657
|
+
"environments": {
|
|
28658
|
+
"type": "array",
|
|
28659
|
+
"items": {
|
|
28660
|
+
"type": "string"
|
|
28661
|
+
}
|
|
27470
28662
|
},
|
|
27471
|
-
"
|
|
27472
|
-
"type": "
|
|
28663
|
+
"sensitive": {
|
|
28664
|
+
"type": "boolean"
|
|
27473
28665
|
},
|
|
27474
|
-
"
|
|
27475
|
-
"type": "string"
|
|
28666
|
+
"comment": {
|
|
28667
|
+
"type": "string",
|
|
28668
|
+
"nullable": true
|
|
27476
28669
|
},
|
|
27477
|
-
"
|
|
28670
|
+
"value": {
|
|
28671
|
+
"type": "string",
|
|
28672
|
+
"nullable": true
|
|
28673
|
+
},
|
|
28674
|
+
"version": {
|
|
28675
|
+
"type": "integer"
|
|
28676
|
+
},
|
|
28677
|
+
"linked_vaults": {
|
|
27478
28678
|
"type": "array",
|
|
27479
28679
|
"items": {
|
|
27480
|
-
"
|
|
28680
|
+
"type": "string",
|
|
28681
|
+
"format": "uuid"
|
|
27481
28682
|
}
|
|
28683
|
+
},
|
|
28684
|
+
"created_at": {
|
|
28685
|
+
"type": "string",
|
|
28686
|
+
"format": "date-time"
|
|
28687
|
+
},
|
|
28688
|
+
"updated_at": {
|
|
28689
|
+
"type": "string",
|
|
28690
|
+
"format": "date-time"
|
|
27482
28691
|
}
|
|
27483
28692
|
}
|
|
27484
28693
|
},
|
|
27485
|
-
"
|
|
28694
|
+
"CreateOrgEnvVarRequest": {
|
|
27486
28695
|
"type": "object",
|
|
28696
|
+
"required": [
|
|
28697
|
+
"key",
|
|
28698
|
+
"value"
|
|
28699
|
+
],
|
|
27487
28700
|
"properties": {
|
|
27488
|
-
"
|
|
28701
|
+
"key": {
|
|
27489
28702
|
"type": "string"
|
|
27490
28703
|
},
|
|
27491
|
-
"
|
|
28704
|
+
"value": {
|
|
27492
28705
|
"type": "string"
|
|
27493
28706
|
},
|
|
27494
|
-
"
|
|
27495
|
-
"type": "
|
|
28707
|
+
"environments": {
|
|
28708
|
+
"type": "array",
|
|
28709
|
+
"items": {
|
|
28710
|
+
"type": "string"
|
|
28711
|
+
},
|
|
28712
|
+
"default": [
|
|
28713
|
+
"production",
|
|
28714
|
+
"preview",
|
|
28715
|
+
"development"
|
|
28716
|
+
]
|
|
27496
28717
|
},
|
|
27497
|
-
"
|
|
27498
|
-
"type": "
|
|
28718
|
+
"sensitive": {
|
|
28719
|
+
"type": "boolean",
|
|
28720
|
+
"default": false
|
|
27499
28721
|
},
|
|
27500
|
-
"
|
|
28722
|
+
"comment": {
|
|
27501
28723
|
"type": "string"
|
|
27502
|
-
},
|
|
27503
|
-
"decimals": {
|
|
27504
|
-
"type": "integer"
|
|
27505
28724
|
}
|
|
27506
28725
|
}
|
|
27507
28726
|
},
|
|
27508
|
-
"
|
|
28727
|
+
"UpdateOrgEnvVarRequest": {
|
|
27509
28728
|
"type": "object",
|
|
27510
|
-
"required": [
|
|
27511
|
-
"chain",
|
|
27512
|
-
"chain_id",
|
|
27513
|
-
"safe_address"
|
|
27514
|
-
],
|
|
27515
28729
|
"properties": {
|
|
27516
|
-
"
|
|
28730
|
+
"value": {
|
|
27517
28731
|
"type": "string"
|
|
27518
28732
|
},
|
|
27519
|
-
"
|
|
27520
|
-
"type": "
|
|
28733
|
+
"environments": {
|
|
28734
|
+
"type": "array",
|
|
28735
|
+
"items": {
|
|
28736
|
+
"type": "string"
|
|
28737
|
+
}
|
|
27521
28738
|
},
|
|
27522
|
-
"
|
|
28739
|
+
"comment": {
|
|
27523
28740
|
"type": "string"
|
|
27524
|
-
},
|
|
27525
|
-
"verify": {
|
|
27526
|
-
"type": "boolean",
|
|
27527
|
-
"default": true,
|
|
27528
|
-
"description": "Verify on-chain Safe ownership"
|
|
27529
28741
|
}
|
|
27530
28742
|
}
|
|
27531
28743
|
},
|
|
27532
|
-
"
|
|
28744
|
+
"CreateWalletAccessPolicyRequest": {
|
|
27533
28745
|
"type": "object",
|
|
28746
|
+
"required": [
|
|
28747
|
+
"wallet_chain",
|
|
28748
|
+
"permissions"
|
|
28749
|
+
],
|
|
27534
28750
|
"properties": {
|
|
27535
|
-
"
|
|
28751
|
+
"wallet_chain": {
|
|
27536
28752
|
"type": "string",
|
|
27537
|
-
"
|
|
28753
|
+
"description": "Chain for which the policy applies (e.g. ethereum, solana)"
|
|
27538
28754
|
},
|
|
27539
|
-
"
|
|
28755
|
+
"target_agent_id": {
|
|
27540
28756
|
"type": "string",
|
|
27541
|
-
"format": "uuid"
|
|
27542
|
-
|
|
27543
|
-
"chain": {
|
|
27544
|
-
"type": "string"
|
|
28757
|
+
"format": "uuid",
|
|
28758
|
+
"description": "Agent granted access (mutually exclusive with target_user_id)"
|
|
27545
28759
|
},
|
|
27546
|
-
"
|
|
27547
|
-
"type": "
|
|
28760
|
+
"target_user_id": {
|
|
28761
|
+
"type": "string",
|
|
28762
|
+
"format": "uuid",
|
|
28763
|
+
"description": "User granted access (mutually exclusive with target_agent_id)"
|
|
27548
28764
|
},
|
|
27549
|
-
"
|
|
27550
|
-
"type": "
|
|
28765
|
+
"permissions": {
|
|
28766
|
+
"type": "array",
|
|
28767
|
+
"items": {
|
|
28768
|
+
"type": "string",
|
|
28769
|
+
"enum": [
|
|
28770
|
+
"send",
|
|
28771
|
+
"swap",
|
|
28772
|
+
"receive"
|
|
28773
|
+
]
|
|
28774
|
+
}
|
|
27551
28775
|
},
|
|
27552
|
-
"
|
|
27553
|
-
"type": "
|
|
27554
|
-
"
|
|
28776
|
+
"conditions": {
|
|
28777
|
+
"type": "object",
|
|
28778
|
+
"properties": {
|
|
28779
|
+
"max_value_per_tx_eth": {
|
|
28780
|
+
"type": "string",
|
|
28781
|
+
"description": "Max value per transaction in ETH"
|
|
28782
|
+
},
|
|
28783
|
+
"daily_limit_eth": {
|
|
28784
|
+
"type": "string",
|
|
28785
|
+
"description": "Daily spend limit in ETH"
|
|
28786
|
+
},
|
|
28787
|
+
"allowed_chains": {
|
|
28788
|
+
"type": "array",
|
|
28789
|
+
"items": {
|
|
28790
|
+
"type": "string"
|
|
28791
|
+
}
|
|
28792
|
+
},
|
|
28793
|
+
"allowed_tokens": {
|
|
28794
|
+
"type": "array",
|
|
28795
|
+
"items": {
|
|
28796
|
+
"type": "string"
|
|
28797
|
+
}
|
|
28798
|
+
}
|
|
28799
|
+
}
|
|
27555
28800
|
},
|
|
27556
|
-
"
|
|
28801
|
+
"expires_at": {
|
|
27557
28802
|
"type": "string",
|
|
27558
28803
|
"format": "date-time"
|
|
27559
28804
|
}
|
|
27560
28805
|
}
|
|
27561
28806
|
},
|
|
27562
|
-
"
|
|
28807
|
+
"WalletAccessPolicyResponse": {
|
|
27563
28808
|
"type": "object",
|
|
27564
28809
|
"properties": {
|
|
27565
28810
|
"id": {
|
|
27566
28811
|
"type": "string",
|
|
27567
28812
|
"format": "uuid"
|
|
27568
28813
|
},
|
|
27569
|
-
"
|
|
27570
|
-
"type": "string"
|
|
28814
|
+
"org_id": {
|
|
28815
|
+
"type": "string",
|
|
28816
|
+
"format": "uuid"
|
|
27571
28817
|
},
|
|
27572
|
-
"
|
|
27573
|
-
"type": "
|
|
27574
|
-
"items": {
|
|
27575
|
-
"type": "string"
|
|
27576
|
-
}
|
|
28818
|
+
"wallet_chain": {
|
|
28819
|
+
"type": "string"
|
|
27577
28820
|
},
|
|
27578
|
-
"
|
|
28821
|
+
"target_agent_id": {
|
|
27579
28822
|
"type": "string",
|
|
28823
|
+
"format": "uuid",
|
|
27580
28824
|
"nullable": true
|
|
27581
28825
|
},
|
|
27582
|
-
"
|
|
27583
|
-
"type": "boolean"
|
|
27584
|
-
},
|
|
27585
|
-
"comment": {
|
|
28826
|
+
"target_user_id": {
|
|
27586
28827
|
"type": "string",
|
|
28828
|
+
"format": "uuid",
|
|
27587
28829
|
"nullable": true
|
|
27588
28830
|
},
|
|
27589
|
-
"
|
|
27590
|
-
"type": "
|
|
27591
|
-
"
|
|
27592
|
-
|
|
28831
|
+
"permissions": {
|
|
28832
|
+
"type": "array",
|
|
28833
|
+
"items": {
|
|
28834
|
+
"type": "string",
|
|
28835
|
+
"enum": [
|
|
28836
|
+
"send",
|
|
28837
|
+
"swap",
|
|
28838
|
+
"receive"
|
|
28839
|
+
]
|
|
28840
|
+
}
|
|
27593
28841
|
},
|
|
27594
|
-
"
|
|
27595
|
-
"type": "
|
|
28842
|
+
"conditions": {
|
|
28843
|
+
"type": "object",
|
|
28844
|
+
"nullable": true,
|
|
28845
|
+
"properties": {
|
|
28846
|
+
"max_value_per_tx_eth": {
|
|
28847
|
+
"type": "string",
|
|
28848
|
+
"nullable": true
|
|
28849
|
+
},
|
|
28850
|
+
"daily_limit_eth": {
|
|
28851
|
+
"type": "string",
|
|
28852
|
+
"nullable": true
|
|
28853
|
+
},
|
|
28854
|
+
"allowed_chains": {
|
|
28855
|
+
"type": "array",
|
|
28856
|
+
"items": {
|
|
28857
|
+
"type": "string"
|
|
28858
|
+
},
|
|
28859
|
+
"nullable": true
|
|
28860
|
+
},
|
|
28861
|
+
"allowed_tokens": {
|
|
28862
|
+
"type": "array",
|
|
28863
|
+
"items": {
|
|
28864
|
+
"type": "string"
|
|
28865
|
+
},
|
|
28866
|
+
"nullable": true
|
|
28867
|
+
}
|
|
28868
|
+
}
|
|
27596
28869
|
},
|
|
27597
|
-
"
|
|
28870
|
+
"expires_at": {
|
|
27598
28871
|
"type": "string",
|
|
28872
|
+
"format": "date-time",
|
|
27599
28873
|
"nullable": true
|
|
27600
28874
|
},
|
|
27601
28875
|
"created_at": {
|
|
27602
28876
|
"type": "string",
|
|
27603
28877
|
"format": "date-time"
|
|
27604
|
-
},
|
|
27605
|
-
"updated_at": {
|
|
27606
|
-
"type": "string",
|
|
27607
|
-
"format": "date-time"
|
|
27608
28878
|
}
|
|
27609
28879
|
}
|
|
27610
28880
|
},
|
|
27611
|
-
"
|
|
28881
|
+
"WalletAccessPolicyListResponse": {
|
|
28882
|
+
"type": "object",
|
|
28883
|
+
"properties": {
|
|
28884
|
+
"policies": {
|
|
28885
|
+
"type": "array",
|
|
28886
|
+
"items": {
|
|
28887
|
+
"$ref": "#/components/schemas/WalletAccessPolicyResponse"
|
|
28888
|
+
}
|
|
28889
|
+
}
|
|
28890
|
+
}
|
|
28891
|
+
},
|
|
28892
|
+
"CredentialRecoveryRequest": {
|
|
27612
28893
|
"type": "object",
|
|
27613
28894
|
"required": [
|
|
27614
|
-
"
|
|
27615
|
-
"value"
|
|
28895
|
+
"recovery_type"
|
|
27616
28896
|
],
|
|
27617
28897
|
"properties": {
|
|
27618
|
-
"
|
|
28898
|
+
"recovery_type": {
|
|
27619
28899
|
"type": "string",
|
|
27620
|
-
"
|
|
28900
|
+
"enum": [
|
|
28901
|
+
"mfa_reset",
|
|
28902
|
+
"passkey_reset",
|
|
28903
|
+
"password_reset"
|
|
28904
|
+
]
|
|
27621
28905
|
},
|
|
27622
|
-
"
|
|
27623
|
-
"type": "string"
|
|
28906
|
+
"reason": {
|
|
28907
|
+
"type": "string",
|
|
28908
|
+
"description": "Optional justification for the recovery request"
|
|
28909
|
+
}
|
|
28910
|
+
}
|
|
28911
|
+
},
|
|
28912
|
+
"CredentialRecoveryResponse": {
|
|
28913
|
+
"type": "object",
|
|
28914
|
+
"properties": {
|
|
28915
|
+
"request_id": {
|
|
28916
|
+
"type": "string",
|
|
28917
|
+
"format": "uuid"
|
|
27624
28918
|
},
|
|
27625
|
-
"
|
|
27626
|
-
"type": "
|
|
27627
|
-
"
|
|
27628
|
-
"
|
|
27629
|
-
|
|
27630
|
-
|
|
27631
|
-
"
|
|
27632
|
-
"preview",
|
|
27633
|
-
"development"
|
|
28919
|
+
"status": {
|
|
28920
|
+
"type": "string",
|
|
28921
|
+
"enum": [
|
|
28922
|
+
"pending_approval",
|
|
28923
|
+
"approved",
|
|
28924
|
+
"rejected",
|
|
28925
|
+
"expired"
|
|
27634
28926
|
]
|
|
27635
28927
|
},
|
|
27636
|
-
"
|
|
28928
|
+
"recovery_type": {
|
|
27637
28929
|
"type": "string",
|
|
27638
|
-
"
|
|
27639
|
-
|
|
27640
|
-
|
|
27641
|
-
|
|
27642
|
-
|
|
28930
|
+
"enum": [
|
|
28931
|
+
"mfa_reset",
|
|
28932
|
+
"passkey_reset",
|
|
28933
|
+
"password_reset"
|
|
28934
|
+
]
|
|
27643
28935
|
},
|
|
27644
|
-
"
|
|
27645
|
-
"type": "string"
|
|
28936
|
+
"created_at": {
|
|
28937
|
+
"type": "string",
|
|
28938
|
+
"format": "date-time"
|
|
27646
28939
|
}
|
|
27647
28940
|
}
|
|
27648
28941
|
},
|
|
27649
|
-
"
|
|
28942
|
+
"CredentialRecoveryListResponse": {
|
|
27650
28943
|
"type": "object",
|
|
27651
28944
|
"properties": {
|
|
27652
|
-
"
|
|
27653
|
-
"type": "string"
|
|
27654
|
-
},
|
|
27655
|
-
"environments": {
|
|
28945
|
+
"requests": {
|
|
27656
28946
|
"type": "array",
|
|
27657
28947
|
"items": {
|
|
27658
|
-
"
|
|
28948
|
+
"$ref": "#/components/schemas/CredentialRecoveryResponse"
|
|
27659
28949
|
}
|
|
27660
|
-
},
|
|
27661
|
-
"sensitive": {
|
|
27662
|
-
"type": "boolean"
|
|
27663
|
-
},
|
|
27664
|
-
"comment": {
|
|
27665
|
-
"type": "string"
|
|
27666
28950
|
}
|
|
27667
28951
|
}
|
|
27668
28952
|
},
|
|
27669
|
-
"
|
|
28953
|
+
"CredentialRecoveryApproveResponse": {
|
|
27670
28954
|
"type": "object",
|
|
27671
28955
|
"properties": {
|
|
27672
|
-
"
|
|
27673
|
-
"type": "
|
|
27674
|
-
"
|
|
27675
|
-
"type": "string"
|
|
27676
|
-
}
|
|
27677
|
-
},
|
|
27678
|
-
"sources": {
|
|
27679
|
-
"type": "object",
|
|
27680
|
-
"additionalProperties": {
|
|
27681
|
-
"type": "string",
|
|
27682
|
-
"enum": [
|
|
27683
|
-
"shared",
|
|
27684
|
-
"vault",
|
|
27685
|
-
"branch_override"
|
|
27686
|
-
]
|
|
27687
|
-
}
|
|
27688
|
-
},
|
|
27689
|
-
"environment": {
|
|
27690
|
-
"type": "string"
|
|
28956
|
+
"request_id": {
|
|
28957
|
+
"type": "string",
|
|
28958
|
+
"format": "uuid"
|
|
27691
28959
|
},
|
|
27692
|
-
"
|
|
28960
|
+
"status": {
|
|
27693
28961
|
"type": "string",
|
|
27694
|
-
"
|
|
28962
|
+
"enum": [
|
|
28963
|
+
"approved"
|
|
28964
|
+
]
|
|
27695
28965
|
},
|
|
27696
|
-
"
|
|
28966
|
+
"recovery_code": {
|
|
27697
28967
|
"type": "string",
|
|
27698
|
-
"
|
|
28968
|
+
"nullable": true,
|
|
28969
|
+
"description": "One-time recovery code (only present for certain recovery types)"
|
|
27699
28970
|
}
|
|
27700
28971
|
}
|
|
27701
28972
|
},
|
|
27702
|
-
"
|
|
28973
|
+
"CredentialRecoveryExecuteResponse": {
|
|
27703
28974
|
"type": "object",
|
|
27704
28975
|
"properties": {
|
|
27705
|
-
"
|
|
28976
|
+
"request_id": {
|
|
27706
28977
|
"type": "string",
|
|
27707
28978
|
"format": "uuid"
|
|
27708
28979
|
},
|
|
27709
|
-
"
|
|
28980
|
+
"status": {
|
|
28981
|
+
"type": "string",
|
|
28982
|
+
"enum": [
|
|
28983
|
+
"executed"
|
|
28984
|
+
]
|
|
28985
|
+
},
|
|
28986
|
+
"recovery_type": {
|
|
27710
28987
|
"type": "string"
|
|
27711
28988
|
},
|
|
27712
|
-
"
|
|
28989
|
+
"executed_at": {
|
|
27713
28990
|
"type": "string",
|
|
27714
|
-
"
|
|
28991
|
+
"format": "date-time"
|
|
28992
|
+
}
|
|
28993
|
+
}
|
|
28994
|
+
},
|
|
28995
|
+
"CredentialRecoveryPolicyResponse": {
|
|
28996
|
+
"type": "object",
|
|
28997
|
+
"properties": {
|
|
28998
|
+
"enabled": {
|
|
28999
|
+
"type": "boolean"
|
|
27715
29000
|
},
|
|
27716
|
-
"
|
|
29001
|
+
"require_admin_approval": {
|
|
27717
29002
|
"type": "boolean"
|
|
27718
29003
|
},
|
|
27719
|
-
"
|
|
27720
|
-
"type": "
|
|
27721
|
-
"
|
|
29004
|
+
"delay_hours": {
|
|
29005
|
+
"type": "integer",
|
|
29006
|
+
"description": "Waiting period before recovery takes effect"
|
|
27722
29007
|
},
|
|
27723
|
-
"
|
|
29008
|
+
"allowed_types": {
|
|
29009
|
+
"type": "array",
|
|
29010
|
+
"items": {
|
|
29011
|
+
"type": "string",
|
|
29012
|
+
"enum": [
|
|
29013
|
+
"mfa_reset",
|
|
29014
|
+
"passkey_reset",
|
|
29015
|
+
"password_reset"
|
|
29016
|
+
]
|
|
29017
|
+
}
|
|
29018
|
+
}
|
|
29019
|
+
}
|
|
29020
|
+
},
|
|
29021
|
+
"CredentialRecoveryPolicyRequest": {
|
|
29022
|
+
"type": "object",
|
|
29023
|
+
"properties": {
|
|
29024
|
+
"enabled": {
|
|
27724
29025
|
"type": "boolean"
|
|
27725
29026
|
},
|
|
27726
|
-
"
|
|
27727
|
-
"type": "
|
|
27728
|
-
|
|
29027
|
+
"require_admin_approval": {
|
|
29028
|
+
"type": "boolean"
|
|
29029
|
+
},
|
|
29030
|
+
"delay_hours": {
|
|
29031
|
+
"type": "integer"
|
|
29032
|
+
},
|
|
29033
|
+
"allowed_types": {
|
|
29034
|
+
"type": "array",
|
|
29035
|
+
"items": {
|
|
29036
|
+
"type": "string",
|
|
29037
|
+
"enum": [
|
|
29038
|
+
"mfa_reset",
|
|
29039
|
+
"passkey_reset",
|
|
29040
|
+
"password_reset"
|
|
29041
|
+
]
|
|
29042
|
+
}
|
|
27729
29043
|
}
|
|
27730
29044
|
}
|
|
27731
29045
|
},
|
|
27732
|
-
"
|
|
29046
|
+
"ShamirKekSetupRequest": {
|
|
27733
29047
|
"type": "object",
|
|
27734
29048
|
"required": [
|
|
27735
|
-
"
|
|
29049
|
+
"threshold",
|
|
29050
|
+
"total_shares",
|
|
29051
|
+
"custodian_emails"
|
|
27736
29052
|
],
|
|
27737
29053
|
"properties": {
|
|
27738
|
-
"
|
|
27739
|
-
"type": "
|
|
27740
|
-
"
|
|
29054
|
+
"threshold": {
|
|
29055
|
+
"type": "integer",
|
|
29056
|
+
"enum": [
|
|
29057
|
+
2,
|
|
29058
|
+
3
|
|
29059
|
+
],
|
|
29060
|
+
"description": "Minimum shares required to reconstruct the KEK"
|
|
27741
29061
|
},
|
|
27742
|
-
"
|
|
27743
|
-
"type": "
|
|
29062
|
+
"total_shares": {
|
|
29063
|
+
"type": "integer",
|
|
29064
|
+
"enum": [
|
|
29065
|
+
3,
|
|
29066
|
+
5
|
|
29067
|
+
],
|
|
29068
|
+
"description": "Total number of shares to generate"
|
|
27744
29069
|
},
|
|
27745
|
-
"
|
|
27746
|
-
"type": "
|
|
27747
|
-
"
|
|
29070
|
+
"custodian_emails": {
|
|
29071
|
+
"type": "array",
|
|
29072
|
+
"items": {
|
|
29073
|
+
"type": "string",
|
|
29074
|
+
"format": "email"
|
|
29075
|
+
},
|
|
29076
|
+
"description": "Email addresses of share custodians"
|
|
27748
29077
|
}
|
|
27749
29078
|
}
|
|
27750
29079
|
},
|
|
27751
|
-
"
|
|
29080
|
+
"ShamirKekSetupResponse": {
|
|
27752
29081
|
"type": "object",
|
|
27753
29082
|
"properties": {
|
|
27754
|
-
"
|
|
27755
|
-
"type": "string",
|
|
27756
|
-
"format": "uuid"
|
|
27757
|
-
},
|
|
27758
|
-
"key": {
|
|
29083
|
+
"kek_id": {
|
|
27759
29084
|
"type": "string"
|
|
27760
29085
|
},
|
|
27761
|
-
"
|
|
29086
|
+
"threshold": {
|
|
29087
|
+
"type": "integer"
|
|
29088
|
+
},
|
|
29089
|
+
"total_shares": {
|
|
29090
|
+
"type": "integer"
|
|
29091
|
+
},
|
|
29092
|
+
"shares": {
|
|
27762
29093
|
"type": "array",
|
|
29094
|
+
"description": "One-time share distribution (never returned again)",
|
|
27763
29095
|
"items": {
|
|
27764
|
-
"type": "
|
|
29096
|
+
"type": "object",
|
|
29097
|
+
"properties": {
|
|
29098
|
+
"index": {
|
|
29099
|
+
"type": "integer"
|
|
29100
|
+
},
|
|
29101
|
+
"custodian_email": {
|
|
29102
|
+
"type": "string",
|
|
29103
|
+
"format": "email"
|
|
29104
|
+
},
|
|
29105
|
+
"share_b64": {
|
|
29106
|
+
"type": "string",
|
|
29107
|
+
"description": "Base64-encoded share"
|
|
29108
|
+
}
|
|
29109
|
+
}
|
|
27765
29110
|
}
|
|
27766
29111
|
},
|
|
27767
|
-
"
|
|
29112
|
+
"custody_mode": {
|
|
29113
|
+
"type": "string"
|
|
29114
|
+
},
|
|
29115
|
+
"created_at": {
|
|
29116
|
+
"type": "string",
|
|
29117
|
+
"format": "date-time"
|
|
29118
|
+
}
|
|
29119
|
+
}
|
|
29120
|
+
},
|
|
29121
|
+
"ShamirKekStatusResponse": {
|
|
29122
|
+
"type": "object",
|
|
29123
|
+
"properties": {
|
|
29124
|
+
"configured": {
|
|
27768
29125
|
"type": "boolean"
|
|
27769
29126
|
},
|
|
27770
|
-
"
|
|
29127
|
+
"kek_id": {
|
|
27771
29128
|
"type": "string",
|
|
27772
29129
|
"nullable": true
|
|
27773
29130
|
},
|
|
27774
|
-
"
|
|
27775
|
-
"type": "
|
|
29131
|
+
"threshold": {
|
|
29132
|
+
"type": "integer",
|
|
27776
29133
|
"nullable": true
|
|
27777
29134
|
},
|
|
27778
|
-
"
|
|
27779
|
-
"type": "integer"
|
|
29135
|
+
"total_shares": {
|
|
29136
|
+
"type": "integer",
|
|
29137
|
+
"nullable": true
|
|
27780
29138
|
},
|
|
27781
|
-
"
|
|
29139
|
+
"custody_mode": {
|
|
29140
|
+
"type": "string",
|
|
29141
|
+
"nullable": true
|
|
29142
|
+
},
|
|
29143
|
+
"custodians": {
|
|
27782
29144
|
"type": "array",
|
|
29145
|
+
"nullable": true,
|
|
27783
29146
|
"items": {
|
|
27784
|
-
"type": "
|
|
27785
|
-
"
|
|
29147
|
+
"type": "object",
|
|
29148
|
+
"properties": {
|
|
29149
|
+
"email": {
|
|
29150
|
+
"type": "string",
|
|
29151
|
+
"format": "email"
|
|
29152
|
+
},
|
|
29153
|
+
"share_provided": {
|
|
29154
|
+
"type": "boolean"
|
|
29155
|
+
}
|
|
29156
|
+
}
|
|
27786
29157
|
}
|
|
27787
29158
|
},
|
|
27788
29159
|
"created_at": {
|
|
27789
29160
|
"type": "string",
|
|
27790
|
-
"format": "date-time"
|
|
27791
|
-
|
|
27792
|
-
"updated_at": {
|
|
27793
|
-
"type": "string",
|
|
27794
|
-
"format": "date-time"
|
|
29161
|
+
"format": "date-time",
|
|
29162
|
+
"nullable": true
|
|
27795
29163
|
}
|
|
27796
29164
|
}
|
|
27797
29165
|
},
|
|
27798
|
-
"
|
|
29166
|
+
"ShamirKekReconstructRequest": {
|
|
27799
29167
|
"type": "object",
|
|
27800
29168
|
"required": [
|
|
27801
|
-
"
|
|
27802
|
-
"value"
|
|
29169
|
+
"shares"
|
|
27803
29170
|
],
|
|
27804
29171
|
"properties": {
|
|
27805
|
-
"
|
|
27806
|
-
"type": "string"
|
|
27807
|
-
},
|
|
27808
|
-
"value": {
|
|
27809
|
-
"type": "string"
|
|
27810
|
-
},
|
|
27811
|
-
"environments": {
|
|
29172
|
+
"shares": {
|
|
27812
29173
|
"type": "array",
|
|
27813
29174
|
"items": {
|
|
27814
|
-
"type": "
|
|
27815
|
-
|
|
27816
|
-
|
|
27817
|
-
|
|
27818
|
-
|
|
27819
|
-
"
|
|
29175
|
+
"type": "object",
|
|
29176
|
+
"required": [
|
|
29177
|
+
"index",
|
|
29178
|
+
"share_b64"
|
|
29179
|
+
],
|
|
29180
|
+
"properties": {
|
|
29181
|
+
"index": {
|
|
29182
|
+
"type": "integer"
|
|
29183
|
+
},
|
|
29184
|
+
"share_b64": {
|
|
29185
|
+
"type": "string",
|
|
29186
|
+
"description": "Base64-encoded share"
|
|
29187
|
+
}
|
|
29188
|
+
}
|
|
29189
|
+
}
|
|
29190
|
+
}
|
|
29191
|
+
}
|
|
29192
|
+
},
|
|
29193
|
+
"ShamirKekReconstructResponse": {
|
|
29194
|
+
"type": "object",
|
|
29195
|
+
"properties": {
|
|
29196
|
+
"status": {
|
|
29197
|
+
"type": "string",
|
|
29198
|
+
"enum": [
|
|
29199
|
+
"accepted",
|
|
29200
|
+
"reconstructed"
|
|
27820
29201
|
]
|
|
27821
29202
|
},
|
|
27822
|
-
"
|
|
27823
|
-
"type": "boolean",
|
|
27824
|
-
"default": false
|
|
27825
|
-
},
|
|
27826
|
-
"comment": {
|
|
29203
|
+
"message": {
|
|
27827
29204
|
"type": "string"
|
|
27828
29205
|
}
|
|
27829
29206
|
}
|
|
27830
29207
|
},
|
|
27831
|
-
"
|
|
29208
|
+
"ShamirKekRecoveryCodesResponse": {
|
|
27832
29209
|
"type": "object",
|
|
27833
29210
|
"properties": {
|
|
27834
|
-
"
|
|
27835
|
-
"type": "string"
|
|
27836
|
-
},
|
|
27837
|
-
"environments": {
|
|
29211
|
+
"codes": {
|
|
27838
29212
|
"type": "array",
|
|
27839
29213
|
"items": {
|
|
27840
29214
|
"type": "string"
|
|
27841
29215
|
}
|
|
27842
|
-
}
|
|
27843
|
-
|
|
29216
|
+
}
|
|
29217
|
+
}
|
|
29218
|
+
},
|
|
29219
|
+
"ShamirKekVerifyCodeRequest": {
|
|
29220
|
+
"type": "object",
|
|
29221
|
+
"required": [
|
|
29222
|
+
"code"
|
|
29223
|
+
],
|
|
29224
|
+
"properties": {
|
|
29225
|
+
"code": {
|
|
27844
29226
|
"type": "string"
|
|
27845
29227
|
}
|
|
27846
29228
|
}
|
|
29229
|
+
},
|
|
29230
|
+
"ShamirKekVerifyCodeResponse": {
|
|
29231
|
+
"type": "object",
|
|
29232
|
+
"properties": {
|
|
29233
|
+
"valid": {
|
|
29234
|
+
"type": "boolean"
|
|
29235
|
+
}
|
|
29236
|
+
}
|
|
27847
29237
|
}
|
|
27848
29238
|
}
|
|
27849
29239
|
}
|