@1claw/openapi-spec 0.54.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +223 -0
- package/openapi.yaml +153 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -5611,6 +5611,80 @@
|
|
|
5611
5611
|
}
|
|
5612
5612
|
}
|
|
5613
5613
|
},
|
|
5614
|
+
"/v1/org/freeze": {
|
|
5615
|
+
"post": {
|
|
5616
|
+
"tags": [
|
|
5617
|
+
"Organization"
|
|
5618
|
+
],
|
|
5619
|
+
"summary": "Emergency org-wide freeze",
|
|
5620
|
+
"description": "Sets organizations.frozen_at — blocks agent tx/execution until unfreeze. Owner/admin only.",
|
|
5621
|
+
"operationId": "freezeOrg",
|
|
5622
|
+
"responses": {
|
|
5623
|
+
"200": {
|
|
5624
|
+
"description": "Organization frozen",
|
|
5625
|
+
"content": {
|
|
5626
|
+
"application/json": {
|
|
5627
|
+
"schema": {
|
|
5628
|
+
"type": "object",
|
|
5629
|
+
"properties": {
|
|
5630
|
+
"status": {
|
|
5631
|
+
"type": "string",
|
|
5632
|
+
"enum": [
|
|
5633
|
+
"frozen"
|
|
5634
|
+
]
|
|
5635
|
+
},
|
|
5636
|
+
"org_id": {
|
|
5637
|
+
"type": "string",
|
|
5638
|
+
"format": "uuid"
|
|
5639
|
+
}
|
|
5640
|
+
}
|
|
5641
|
+
}
|
|
5642
|
+
}
|
|
5643
|
+
}
|
|
5644
|
+
},
|
|
5645
|
+
"403": {
|
|
5646
|
+
"description": "Forbidden"
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
"/v1/org/unfreeze": {
|
|
5652
|
+
"post": {
|
|
5653
|
+
"tags": [
|
|
5654
|
+
"Organization"
|
|
5655
|
+
],
|
|
5656
|
+
"summary": "Clear org-wide freeze",
|
|
5657
|
+
"description": "Clears organizations.frozen_at. Owner/admin only.",
|
|
5658
|
+
"operationId": "unfreezeOrg",
|
|
5659
|
+
"responses": {
|
|
5660
|
+
"200": {
|
|
5661
|
+
"description": "Organization unfrozen",
|
|
5662
|
+
"content": {
|
|
5663
|
+
"application/json": {
|
|
5664
|
+
"schema": {
|
|
5665
|
+
"type": "object",
|
|
5666
|
+
"properties": {
|
|
5667
|
+
"status": {
|
|
5668
|
+
"type": "string",
|
|
5669
|
+
"enum": [
|
|
5670
|
+
"unfrozen"
|
|
5671
|
+
]
|
|
5672
|
+
},
|
|
5673
|
+
"org_id": {
|
|
5674
|
+
"type": "string",
|
|
5675
|
+
"format": "uuid"
|
|
5676
|
+
}
|
|
5677
|
+
}
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
},
|
|
5682
|
+
"403": {
|
|
5683
|
+
"description": "Forbidden"
|
|
5684
|
+
}
|
|
5685
|
+
}
|
|
5686
|
+
}
|
|
5687
|
+
},
|
|
5614
5688
|
"/v1/org/bankr-config": {
|
|
5615
5689
|
"get": {
|
|
5616
5690
|
"tags": [
|
|
@@ -18643,6 +18717,61 @@
|
|
|
18643
18717
|
],
|
|
18644
18718
|
"description": "Simulation failure escalation — deny (422) or route to HITL (approve)."
|
|
18645
18719
|
},
|
|
18720
|
+
"tx_block_unlimited_approvals": {
|
|
18721
|
+
"type": "boolean",
|
|
18722
|
+
"default": false,
|
|
18723
|
+
"description": "Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll)."
|
|
18724
|
+
},
|
|
18725
|
+
"tx_per_recipient_max_per_day": {
|
|
18726
|
+
"type": "integer",
|
|
18727
|
+
"nullable": true,
|
|
18728
|
+
"description": "Max transactions to the same recipient address per UTC day."
|
|
18729
|
+
},
|
|
18730
|
+
"tx_per_recipient_daily_limit": {
|
|
18731
|
+
"type": "string",
|
|
18732
|
+
"nullable": true,
|
|
18733
|
+
"description": "Max native-unit spend to the same recipient per UTC day."
|
|
18734
|
+
},
|
|
18735
|
+
"new_recipient_cap_native": {
|
|
18736
|
+
"type": "string",
|
|
18737
|
+
"nullable": true,
|
|
18738
|
+
"description": "Cap on first-time recipient spend in native units."
|
|
18739
|
+
},
|
|
18740
|
+
"tx_max_value_usd": {
|
|
18741
|
+
"type": "string",
|
|
18742
|
+
"nullable": true,
|
|
18743
|
+
"description": "Per-transaction USD cap (requires price oracle)."
|
|
18744
|
+
},
|
|
18745
|
+
"tx_daily_limit_usd": {
|
|
18746
|
+
"type": "string",
|
|
18747
|
+
"nullable": true,
|
|
18748
|
+
"description": "Rolling 24h USD spend cap (requires price oracle)."
|
|
18749
|
+
},
|
|
18750
|
+
"raw_signing_policy": {
|
|
18751
|
+
"type": "string",
|
|
18752
|
+
"enum": [
|
|
18753
|
+
"allow",
|
|
18754
|
+
"deny",
|
|
18755
|
+
"approve"
|
|
18756
|
+
],
|
|
18757
|
+
"default": "allow",
|
|
18758
|
+
"description": "Raw digest signing policy — allow, deny, or route to HITL (approve)."
|
|
18759
|
+
},
|
|
18760
|
+
"personal_sign_policy": {
|
|
18761
|
+
"type": "object",
|
|
18762
|
+
"additionalProperties": true,
|
|
18763
|
+
"description": "personal_sign guardrails (message allowlist, max bytes, etc.)."
|
|
18764
|
+
},
|
|
18765
|
+
"allow_erc4337": {
|
|
18766
|
+
"type": "boolean",
|
|
18767
|
+
"default": false,
|
|
18768
|
+
"description": "Allow ERC-4337 gasless UserOperations."
|
|
18769
|
+
},
|
|
18770
|
+
"allow_eip7702": {
|
|
18771
|
+
"type": "boolean",
|
|
18772
|
+
"default": false,
|
|
18773
|
+
"description": "Allow EIP-7702 (tx type 4) set-code transactions."
|
|
18774
|
+
},
|
|
18646
18775
|
"api_key_expires_at": {
|
|
18647
18776
|
"type": "string",
|
|
18648
18777
|
"format": "date-time",
|
|
@@ -18830,6 +18959,57 @@
|
|
|
18830
18959
|
"nullable": true,
|
|
18831
18960
|
"description": "Simulation failure escalation policy."
|
|
18832
18961
|
},
|
|
18962
|
+
"tx_block_unlimited_approvals": {
|
|
18963
|
+
"type": "boolean",
|
|
18964
|
+
"description": "Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll)."
|
|
18965
|
+
},
|
|
18966
|
+
"tx_per_recipient_max_per_day": {
|
|
18967
|
+
"type": "integer",
|
|
18968
|
+
"nullable": true,
|
|
18969
|
+
"description": "Max transactions to the same recipient per UTC day. Null clears."
|
|
18970
|
+
},
|
|
18971
|
+
"tx_per_recipient_daily_limit": {
|
|
18972
|
+
"type": "string",
|
|
18973
|
+
"nullable": true,
|
|
18974
|
+
"description": "Max native spend to same recipient per UTC day. Null clears."
|
|
18975
|
+
},
|
|
18976
|
+
"new_recipient_cap_native": {
|
|
18977
|
+
"type": "string",
|
|
18978
|
+
"nullable": true,
|
|
18979
|
+
"description": "First-time recipient native cap. Null clears."
|
|
18980
|
+
},
|
|
18981
|
+
"tx_max_value_usd": {
|
|
18982
|
+
"type": "string",
|
|
18983
|
+
"nullable": true,
|
|
18984
|
+
"description": "Per-tx USD cap. Null clears."
|
|
18985
|
+
},
|
|
18986
|
+
"tx_daily_limit_usd": {
|
|
18987
|
+
"type": "string",
|
|
18988
|
+
"nullable": true,
|
|
18989
|
+
"description": "Rolling 24h USD spend cap. Null clears."
|
|
18990
|
+
},
|
|
18991
|
+
"raw_signing_policy": {
|
|
18992
|
+
"type": "string",
|
|
18993
|
+
"enum": [
|
|
18994
|
+
"allow",
|
|
18995
|
+
"deny",
|
|
18996
|
+
"approve"
|
|
18997
|
+
],
|
|
18998
|
+
"description": "Raw digest signing policy."
|
|
18999
|
+
},
|
|
19000
|
+
"personal_sign_policy": {
|
|
19001
|
+
"type": "object",
|
|
19002
|
+
"additionalProperties": true,
|
|
19003
|
+
"description": "personal_sign guardrails JSON."
|
|
19004
|
+
},
|
|
19005
|
+
"allow_erc4337": {
|
|
19006
|
+
"type": "boolean",
|
|
19007
|
+
"description": "Allow ERC-4337 gasless UserOperations."
|
|
19008
|
+
},
|
|
19009
|
+
"allow_eip7702": {
|
|
19010
|
+
"type": "boolean",
|
|
19011
|
+
"description": "Allow EIP-7702 (tx type 4)."
|
|
19012
|
+
},
|
|
18833
19013
|
"clear_auto_suspended": {
|
|
18834
19014
|
"type": "boolean",
|
|
18835
19015
|
"description": "When true, clears circuit-breaker auto-suspension (human owner/admin only)."
|
|
@@ -19108,6 +19288,49 @@
|
|
|
19108
19288
|
],
|
|
19109
19289
|
"nullable": true
|
|
19110
19290
|
},
|
|
19291
|
+
"tx_block_unlimited_approvals": {
|
|
19292
|
+
"type": "boolean",
|
|
19293
|
+
"description": "Block unlimited ERC-20 approvals."
|
|
19294
|
+
},
|
|
19295
|
+
"tx_per_recipient_max_per_day": {
|
|
19296
|
+
"type": "integer",
|
|
19297
|
+
"nullable": true
|
|
19298
|
+
},
|
|
19299
|
+
"tx_per_recipient_daily_limit": {
|
|
19300
|
+
"type": "string",
|
|
19301
|
+
"nullable": true
|
|
19302
|
+
},
|
|
19303
|
+
"new_recipient_cap_native": {
|
|
19304
|
+
"type": "string",
|
|
19305
|
+
"nullable": true
|
|
19306
|
+
},
|
|
19307
|
+
"tx_max_value_usd": {
|
|
19308
|
+
"type": "string",
|
|
19309
|
+
"nullable": true
|
|
19310
|
+
},
|
|
19311
|
+
"tx_daily_limit_usd": {
|
|
19312
|
+
"type": "string",
|
|
19313
|
+
"nullable": true
|
|
19314
|
+
},
|
|
19315
|
+
"raw_signing_policy": {
|
|
19316
|
+
"type": "string",
|
|
19317
|
+
"enum": [
|
|
19318
|
+
"allow",
|
|
19319
|
+
"deny",
|
|
19320
|
+
"approve"
|
|
19321
|
+
]
|
|
19322
|
+
},
|
|
19323
|
+
"personal_sign_policy": {
|
|
19324
|
+
"type": "object",
|
|
19325
|
+
"additionalProperties": true,
|
|
19326
|
+
"nullable": true
|
|
19327
|
+
},
|
|
19328
|
+
"allow_erc4337": {
|
|
19329
|
+
"type": "boolean"
|
|
19330
|
+
},
|
|
19331
|
+
"allow_eip7702": {
|
|
19332
|
+
"type": "boolean"
|
|
19333
|
+
},
|
|
19111
19334
|
"auto_suspended": {
|
|
19112
19335
|
"type": "boolean",
|
|
19113
19336
|
"description": "True when circuit breaker auto-suspended the agent after repeated guardrail denials."
|
package/openapi.yaml
CHANGED
|
@@ -3636,6 +3636,52 @@ paths:
|
|
|
3636
3636
|
"404":
|
|
3637
3637
|
description: Agent-keys vault not found
|
|
3638
3638
|
|
|
3639
|
+
/v1/org/freeze:
|
|
3640
|
+
post:
|
|
3641
|
+
tags: [Organization]
|
|
3642
|
+
summary: Emergency org-wide freeze
|
|
3643
|
+
description: Sets organizations.frozen_at — blocks agent tx/execution until unfreeze. Owner/admin only.
|
|
3644
|
+
operationId: freezeOrg
|
|
3645
|
+
responses:
|
|
3646
|
+
"200":
|
|
3647
|
+
description: Organization frozen
|
|
3648
|
+
content:
|
|
3649
|
+
application/json:
|
|
3650
|
+
schema:
|
|
3651
|
+
type: object
|
|
3652
|
+
properties:
|
|
3653
|
+
status:
|
|
3654
|
+
type: string
|
|
3655
|
+
enum: [frozen]
|
|
3656
|
+
org_id:
|
|
3657
|
+
type: string
|
|
3658
|
+
format: uuid
|
|
3659
|
+
"403":
|
|
3660
|
+
description: Forbidden
|
|
3661
|
+
|
|
3662
|
+
/v1/org/unfreeze:
|
|
3663
|
+
post:
|
|
3664
|
+
tags: [Organization]
|
|
3665
|
+
summary: Clear org-wide freeze
|
|
3666
|
+
description: Clears organizations.frozen_at. Owner/admin only.
|
|
3667
|
+
operationId: unfreezeOrg
|
|
3668
|
+
responses:
|
|
3669
|
+
"200":
|
|
3670
|
+
description: Organization unfrozen
|
|
3671
|
+
content:
|
|
3672
|
+
application/json:
|
|
3673
|
+
schema:
|
|
3674
|
+
type: object
|
|
3675
|
+
properties:
|
|
3676
|
+
status:
|
|
3677
|
+
type: string
|
|
3678
|
+
enum: [unfrozen]
|
|
3679
|
+
org_id:
|
|
3680
|
+
type: string
|
|
3681
|
+
format: uuid
|
|
3682
|
+
"403":
|
|
3683
|
+
description: Forbidden
|
|
3684
|
+
|
|
3639
3685
|
/v1/org/bankr-config:
|
|
3640
3686
|
get:
|
|
3641
3687
|
tags: [Organization]
|
|
@@ -12021,6 +12067,47 @@ components:
|
|
|
12021
12067
|
type: string
|
|
12022
12068
|
enum: [deny, approve]
|
|
12023
12069
|
description: Simulation failure escalation — deny (422) or route to HITL (approve).
|
|
12070
|
+
tx_block_unlimited_approvals:
|
|
12071
|
+
type: boolean
|
|
12072
|
+
default: false
|
|
12073
|
+
description: Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll).
|
|
12074
|
+
tx_per_recipient_max_per_day:
|
|
12075
|
+
type: integer
|
|
12076
|
+
nullable: true
|
|
12077
|
+
description: Max transactions to the same recipient address per UTC day.
|
|
12078
|
+
tx_per_recipient_daily_limit:
|
|
12079
|
+
type: string
|
|
12080
|
+
nullable: true
|
|
12081
|
+
description: Max native-unit spend to the same recipient per UTC day.
|
|
12082
|
+
new_recipient_cap_native:
|
|
12083
|
+
type: string
|
|
12084
|
+
nullable: true
|
|
12085
|
+
description: Cap on first-time recipient spend in native units.
|
|
12086
|
+
tx_max_value_usd:
|
|
12087
|
+
type: string
|
|
12088
|
+
nullable: true
|
|
12089
|
+
description: Per-transaction USD cap (requires price oracle).
|
|
12090
|
+
tx_daily_limit_usd:
|
|
12091
|
+
type: string
|
|
12092
|
+
nullable: true
|
|
12093
|
+
description: Rolling 24h USD spend cap (requires price oracle).
|
|
12094
|
+
raw_signing_policy:
|
|
12095
|
+
type: string
|
|
12096
|
+
enum: [allow, deny, approve]
|
|
12097
|
+
default: allow
|
|
12098
|
+
description: Raw digest signing policy — allow, deny, or route to HITL (approve).
|
|
12099
|
+
personal_sign_policy:
|
|
12100
|
+
type: object
|
|
12101
|
+
additionalProperties: true
|
|
12102
|
+
description: personal_sign guardrails (message allowlist, max bytes, etc.).
|
|
12103
|
+
allow_erc4337:
|
|
12104
|
+
type: boolean
|
|
12105
|
+
default: false
|
|
12106
|
+
description: Allow ERC-4337 gasless UserOperations.
|
|
12107
|
+
allow_eip7702:
|
|
12108
|
+
type: boolean
|
|
12109
|
+
default: false
|
|
12110
|
+
description: Allow EIP-7702 (tx type 4) set-code transactions.
|
|
12024
12111
|
api_key_expires_at:
|
|
12025
12112
|
type: string
|
|
12026
12113
|
format: date-time
|
|
@@ -12160,6 +12247,43 @@ components:
|
|
|
12160
12247
|
enum: [deny, approve]
|
|
12161
12248
|
nullable: true
|
|
12162
12249
|
description: Simulation failure escalation policy.
|
|
12250
|
+
tx_block_unlimited_approvals:
|
|
12251
|
+
type: boolean
|
|
12252
|
+
description: Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll).
|
|
12253
|
+
tx_per_recipient_max_per_day:
|
|
12254
|
+
type: integer
|
|
12255
|
+
nullable: true
|
|
12256
|
+
description: Max transactions to the same recipient per UTC day. Null clears.
|
|
12257
|
+
tx_per_recipient_daily_limit:
|
|
12258
|
+
type: string
|
|
12259
|
+
nullable: true
|
|
12260
|
+
description: Max native spend to same recipient per UTC day. Null clears.
|
|
12261
|
+
new_recipient_cap_native:
|
|
12262
|
+
type: string
|
|
12263
|
+
nullable: true
|
|
12264
|
+
description: First-time recipient native cap. Null clears.
|
|
12265
|
+
tx_max_value_usd:
|
|
12266
|
+
type: string
|
|
12267
|
+
nullable: true
|
|
12268
|
+
description: Per-tx USD cap. Null clears.
|
|
12269
|
+
tx_daily_limit_usd:
|
|
12270
|
+
type: string
|
|
12271
|
+
nullable: true
|
|
12272
|
+
description: Rolling 24h USD spend cap. Null clears.
|
|
12273
|
+
raw_signing_policy:
|
|
12274
|
+
type: string
|
|
12275
|
+
enum: [allow, deny, approve]
|
|
12276
|
+
description: Raw digest signing policy.
|
|
12277
|
+
personal_sign_policy:
|
|
12278
|
+
type: object
|
|
12279
|
+
additionalProperties: true
|
|
12280
|
+
description: personal_sign guardrails JSON.
|
|
12281
|
+
allow_erc4337:
|
|
12282
|
+
type: boolean
|
|
12283
|
+
description: Allow ERC-4337 gasless UserOperations.
|
|
12284
|
+
allow_eip7702:
|
|
12285
|
+
type: boolean
|
|
12286
|
+
description: Allow EIP-7702 (tx type 4).
|
|
12163
12287
|
clear_auto_suspended:
|
|
12164
12288
|
type: boolean
|
|
12165
12289
|
description: When true, clears circuit-breaker auto-suspension (human owner/admin only).
|
|
@@ -12377,6 +12501,35 @@ components:
|
|
|
12377
12501
|
type: string
|
|
12378
12502
|
enum: [deny, approve]
|
|
12379
12503
|
nullable: true
|
|
12504
|
+
tx_block_unlimited_approvals:
|
|
12505
|
+
type: boolean
|
|
12506
|
+
description: Block unlimited ERC-20 approvals.
|
|
12507
|
+
tx_per_recipient_max_per_day:
|
|
12508
|
+
type: integer
|
|
12509
|
+
nullable: true
|
|
12510
|
+
tx_per_recipient_daily_limit:
|
|
12511
|
+
type: string
|
|
12512
|
+
nullable: true
|
|
12513
|
+
new_recipient_cap_native:
|
|
12514
|
+
type: string
|
|
12515
|
+
nullable: true
|
|
12516
|
+
tx_max_value_usd:
|
|
12517
|
+
type: string
|
|
12518
|
+
nullable: true
|
|
12519
|
+
tx_daily_limit_usd:
|
|
12520
|
+
type: string
|
|
12521
|
+
nullable: true
|
|
12522
|
+
raw_signing_policy:
|
|
12523
|
+
type: string
|
|
12524
|
+
enum: [allow, deny, approve]
|
|
12525
|
+
personal_sign_policy:
|
|
12526
|
+
type: object
|
|
12527
|
+
additionalProperties: true
|
|
12528
|
+
nullable: true
|
|
12529
|
+
allow_erc4337:
|
|
12530
|
+
type: boolean
|
|
12531
|
+
allow_eip7702:
|
|
12532
|
+
type: boolean
|
|
12380
12533
|
auto_suspended:
|
|
12381
12534
|
type: boolean
|
|
12382
12535
|
description: True when circuit breaker auto-suspended the agent after repeated guardrail denials.
|