@1claw/openapi-spec 0.59.2 → 0.59.5
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 +11 -1
- package/openapi.json +861 -72
- package/openapi.yaml +510 -1
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -9374,6 +9374,46 @@
|
|
|
9374
9374
|
}
|
|
9375
9375
|
}
|
|
9376
9376
|
},
|
|
9377
|
+
"/v1/shroud/inspect-content": {
|
|
9378
|
+
"post": {
|
|
9379
|
+
"tags": [
|
|
9380
|
+
"Shroud"
|
|
9381
|
+
],
|
|
9382
|
+
"summary": "Inspect text for security threats",
|
|
9383
|
+
"description": "Standalone content inspection (MCP `inspect_content` parity). Scans for command\ninjection, encoding tricks, social engineering, PII, and suspicious URLs.\nFail-closed — returns `safe: false` when high/critical threats match.\nAccepts plt_ platform keys, agent JWTs, and user JWTs.\n",
|
|
9384
|
+
"operationId": "inspectContent",
|
|
9385
|
+
"security": [
|
|
9386
|
+
{
|
|
9387
|
+
"BearerAuth": []
|
|
9388
|
+
}
|
|
9389
|
+
],
|
|
9390
|
+
"requestBody": {
|
|
9391
|
+
"required": true,
|
|
9392
|
+
"content": {
|
|
9393
|
+
"application/json": {
|
|
9394
|
+
"schema": {
|
|
9395
|
+
"$ref": "#/components/schemas/InspectContentRequest"
|
|
9396
|
+
}
|
|
9397
|
+
}
|
|
9398
|
+
}
|
|
9399
|
+
},
|
|
9400
|
+
"responses": {
|
|
9401
|
+
"200": {
|
|
9402
|
+
"description": "Inspection report",
|
|
9403
|
+
"content": {
|
|
9404
|
+
"application/json": {
|
|
9405
|
+
"schema": {
|
|
9406
|
+
"$ref": "#/components/schemas/InspectContentResponse"
|
|
9407
|
+
}
|
|
9408
|
+
}
|
|
9409
|
+
}
|
|
9410
|
+
},
|
|
9411
|
+
"400": {
|
|
9412
|
+
"$ref": "#/components/responses/BadRequest"
|
|
9413
|
+
}
|
|
9414
|
+
}
|
|
9415
|
+
}
|
|
9416
|
+
},
|
|
9377
9417
|
"/v1/shroud/activity": {
|
|
9378
9418
|
"get": {
|
|
9379
9419
|
"tags": [
|
|
@@ -9898,6 +9938,47 @@
|
|
|
9898
9938
|
}
|
|
9899
9939
|
}
|
|
9900
9940
|
},
|
|
9941
|
+
"/v1/platform/apps/{appId}/webhooks": {
|
|
9942
|
+
"get": {
|
|
9943
|
+
"tags": [
|
|
9944
|
+
"Platform"
|
|
9945
|
+
],
|
|
9946
|
+
"summary": "Platform webhook delivery catalog",
|
|
9947
|
+
"description": "Returns whether `webhook_url` is configured and the event types delivered to\nthe platform app webhook (payload includes `connection_id` when applicable).\nOrg-scoped webhook subscriptions (`GET /v1/webhooks`) are separate.\n",
|
|
9948
|
+
"operationId": "getPlatformWebhooks",
|
|
9949
|
+
"security": [
|
|
9950
|
+
{
|
|
9951
|
+
"BearerAuth": []
|
|
9952
|
+
}
|
|
9953
|
+
],
|
|
9954
|
+
"parameters": [
|
|
9955
|
+
{
|
|
9956
|
+
"name": "appId",
|
|
9957
|
+
"in": "path",
|
|
9958
|
+
"required": true,
|
|
9959
|
+
"schema": {
|
|
9960
|
+
"type": "string",
|
|
9961
|
+
"format": "uuid"
|
|
9962
|
+
}
|
|
9963
|
+
}
|
|
9964
|
+
],
|
|
9965
|
+
"responses": {
|
|
9966
|
+
"200": {
|
|
9967
|
+
"description": "Webhook configuration summary",
|
|
9968
|
+
"content": {
|
|
9969
|
+
"application/json": {
|
|
9970
|
+
"schema": {
|
|
9971
|
+
"$ref": "#/components/schemas/PlatformWebhookInfoResponse"
|
|
9972
|
+
}
|
|
9973
|
+
}
|
|
9974
|
+
}
|
|
9975
|
+
},
|
|
9976
|
+
"404": {
|
|
9977
|
+
"$ref": "#/components/responses/NotFound"
|
|
9978
|
+
}
|
|
9979
|
+
}
|
|
9980
|
+
}
|
|
9981
|
+
},
|
|
9901
9982
|
"/v1/platform/apps/{appId}/rotate-webhook-secret": {
|
|
9902
9983
|
"post": {
|
|
9903
9984
|
"tags": [
|
|
@@ -11672,6 +11753,58 @@
|
|
|
11672
11753
|
"$ref": "#/components/responses/NotFound"
|
|
11673
11754
|
}
|
|
11674
11755
|
}
|
|
11756
|
+
},
|
|
11757
|
+
"post": {
|
|
11758
|
+
"tags": [
|
|
11759
|
+
"Platform"
|
|
11760
|
+
],
|
|
11761
|
+
"summary": "Create a pending consensus approval for a connection agent",
|
|
11762
|
+
"description": "Platform apps submit over-cap or consensus-gated actions on behalf of a\nconnected user's agent. When `policy_id` is omitted, the server resolves the\nmatching agent `consensus_trigger` policy from `action_payload` (chain, to, value).\nReturns **202** with `pending_approval_id` and `payload_hash` for decide/execute.\nRequires plt_ auth; agent must be provisioned on the connection.\n",
|
|
11763
|
+
"operationId": "createConnectionPendingApproval",
|
|
11764
|
+
"security": [
|
|
11765
|
+
{
|
|
11766
|
+
"BearerAuth": []
|
|
11767
|
+
}
|
|
11768
|
+
],
|
|
11769
|
+
"parameters": [
|
|
11770
|
+
{
|
|
11771
|
+
"in": "path",
|
|
11772
|
+
"name": "connectionId",
|
|
11773
|
+
"required": true,
|
|
11774
|
+
"schema": {
|
|
11775
|
+
"type": "string",
|
|
11776
|
+
"format": "uuid"
|
|
11777
|
+
}
|
|
11778
|
+
}
|
|
11779
|
+
],
|
|
11780
|
+
"requestBody": {
|
|
11781
|
+
"required": true,
|
|
11782
|
+
"content": {
|
|
11783
|
+
"application/json": {
|
|
11784
|
+
"schema": {
|
|
11785
|
+
"$ref": "#/components/schemas/ConnectionSubmitPendingApprovalRequest"
|
|
11786
|
+
}
|
|
11787
|
+
}
|
|
11788
|
+
}
|
|
11789
|
+
},
|
|
11790
|
+
"responses": {
|
|
11791
|
+
"202": {
|
|
11792
|
+
"description": "Pending approval created",
|
|
11793
|
+
"content": {
|
|
11794
|
+
"application/json": {
|
|
11795
|
+
"schema": {
|
|
11796
|
+
"$ref": "#/components/schemas/SubmitPendingApprovalResponse"
|
|
11797
|
+
}
|
|
11798
|
+
}
|
|
11799
|
+
}
|
|
11800
|
+
},
|
|
11801
|
+
"400": {
|
|
11802
|
+
"$ref": "#/components/responses/BadRequest"
|
|
11803
|
+
},
|
|
11804
|
+
"404": {
|
|
11805
|
+
"$ref": "#/components/responses/NotFound"
|
|
11806
|
+
}
|
|
11807
|
+
}
|
|
11675
11808
|
}
|
|
11676
11809
|
},
|
|
11677
11810
|
"/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}": {
|
|
@@ -11792,14 +11925,517 @@
|
|
|
11792
11925
|
}
|
|
11793
11926
|
}
|
|
11794
11927
|
},
|
|
11795
|
-
"/v1/platform/connections/{connectionId}/approvals/{approvalId}/decide": {
|
|
11928
|
+
"/v1/platform/connections/{connectionId}/approvals/{approvalId}/decide": {
|
|
11929
|
+
"post": {
|
|
11930
|
+
"tags": [
|
|
11931
|
+
"Platform"
|
|
11932
|
+
],
|
|
11933
|
+
"summary": "Decide a mobile/agent approval for a connection user",
|
|
11934
|
+
"description": "Platform apps decide agent approval requests on behalf of the connected user.\nAccepts `decision`: `approved` or `rejected` (aliases `approve` / `reject`).\nplt_ auth only.\n",
|
|
11935
|
+
"operationId": "decideConnectionApproval",
|
|
11936
|
+
"security": [
|
|
11937
|
+
{
|
|
11938
|
+
"BearerAuth": []
|
|
11939
|
+
}
|
|
11940
|
+
],
|
|
11941
|
+
"parameters": [
|
|
11942
|
+
{
|
|
11943
|
+
"in": "path",
|
|
11944
|
+
"name": "connectionId",
|
|
11945
|
+
"required": true,
|
|
11946
|
+
"schema": {
|
|
11947
|
+
"type": "string",
|
|
11948
|
+
"format": "uuid"
|
|
11949
|
+
}
|
|
11950
|
+
},
|
|
11951
|
+
{
|
|
11952
|
+
"in": "path",
|
|
11953
|
+
"name": "approvalId",
|
|
11954
|
+
"required": true,
|
|
11955
|
+
"schema": {
|
|
11956
|
+
"type": "string",
|
|
11957
|
+
"format": "uuid"
|
|
11958
|
+
}
|
|
11959
|
+
}
|
|
11960
|
+
],
|
|
11961
|
+
"requestBody": {
|
|
11962
|
+
"required": true,
|
|
11963
|
+
"content": {
|
|
11964
|
+
"application/json": {
|
|
11965
|
+
"schema": {
|
|
11966
|
+
"type": "object",
|
|
11967
|
+
"required": [
|
|
11968
|
+
"decision"
|
|
11969
|
+
],
|
|
11970
|
+
"properties": {
|
|
11971
|
+
"decision": {
|
|
11972
|
+
"type": "string",
|
|
11973
|
+
"enum": [
|
|
11974
|
+
"approved",
|
|
11975
|
+
"rejected",
|
|
11976
|
+
"approve",
|
|
11977
|
+
"reject"
|
|
11978
|
+
]
|
|
11979
|
+
},
|
|
11980
|
+
"reason": {
|
|
11981
|
+
"type": "string"
|
|
11982
|
+
}
|
|
11983
|
+
}
|
|
11984
|
+
}
|
|
11985
|
+
}
|
|
11986
|
+
}
|
|
11987
|
+
},
|
|
11988
|
+
"responses": {
|
|
11989
|
+
"200": {
|
|
11990
|
+
"description": "Decided approval",
|
|
11991
|
+
"content": {
|
|
11992
|
+
"application/json": {
|
|
11993
|
+
"schema": {
|
|
11994
|
+
"$ref": "#/components/schemas/ApprovalResponse"
|
|
11995
|
+
}
|
|
11996
|
+
}
|
|
11997
|
+
}
|
|
11998
|
+
},
|
|
11999
|
+
"403": {
|
|
12000
|
+
"$ref": "#/components/responses/Forbidden"
|
|
12001
|
+
},
|
|
12002
|
+
"404": {
|
|
12003
|
+
"$ref": "#/components/responses/NotFound"
|
|
12004
|
+
},
|
|
12005
|
+
"409": {
|
|
12006
|
+
"description": "Already decided"
|
|
12007
|
+
}
|
|
12008
|
+
}
|
|
12009
|
+
}
|
|
12010
|
+
},
|
|
12011
|
+
"/v1/platform/connections/{connectionId}/signing-keys": {
|
|
12012
|
+
"get": {
|
|
12013
|
+
"tags": [
|
|
12014
|
+
"Platform"
|
|
12015
|
+
],
|
|
12016
|
+
"summary": "List signing keys for a connection agent",
|
|
12017
|
+
"description": "Returns public signing-key metadata (chain, address, public_key, curve) for\nagent(s) provisioned on the connection. Never includes private keys.\nWhen multiple agents exist, pass `agent_id` query param. plt_ auth only.\n",
|
|
12018
|
+
"operationId": "listConnectionSigningKeys",
|
|
12019
|
+
"security": [
|
|
12020
|
+
{
|
|
12021
|
+
"BearerAuth": []
|
|
12022
|
+
}
|
|
12023
|
+
],
|
|
12024
|
+
"parameters": [
|
|
12025
|
+
{
|
|
12026
|
+
"in": "path",
|
|
12027
|
+
"name": "connectionId",
|
|
12028
|
+
"required": true,
|
|
12029
|
+
"schema": {
|
|
12030
|
+
"type": "string",
|
|
12031
|
+
"format": "uuid"
|
|
12032
|
+
}
|
|
12033
|
+
},
|
|
12034
|
+
{
|
|
12035
|
+
"in": "query",
|
|
12036
|
+
"name": "agent_id",
|
|
12037
|
+
"required": false,
|
|
12038
|
+
"schema": {
|
|
12039
|
+
"type": "string",
|
|
12040
|
+
"format": "uuid"
|
|
12041
|
+
}
|
|
12042
|
+
}
|
|
12043
|
+
],
|
|
12044
|
+
"responses": {
|
|
12045
|
+
"200": {
|
|
12046
|
+
"description": "Signing keys for the connection agent",
|
|
12047
|
+
"content": {
|
|
12048
|
+
"application/json": {
|
|
12049
|
+
"schema": {
|
|
12050
|
+
"$ref": "#/components/schemas/ConnectionSigningKeyListResponse"
|
|
12051
|
+
}
|
|
12052
|
+
}
|
|
12053
|
+
}
|
|
12054
|
+
},
|
|
12055
|
+
"400": {
|
|
12056
|
+
"description": "Multiple agents — agent_id required"
|
|
12057
|
+
},
|
|
12058
|
+
"404": {
|
|
12059
|
+
"$ref": "#/components/responses/NotFound"
|
|
12060
|
+
}
|
|
12061
|
+
}
|
|
12062
|
+
}
|
|
12063
|
+
},
|
|
12064
|
+
"/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
|
|
12065
|
+
"get": {
|
|
12066
|
+
"tags": [
|
|
12067
|
+
"Platform"
|
|
12068
|
+
],
|
|
12069
|
+
"summary": "Get a signing key for a connection agent by chain",
|
|
12070
|
+
"description": "Returns public signing-key metadata for one chain on a connection agent.\nNetwork names (e.g. `base`, `sepolia`) resolve to canonical signing keys\n(e.g. `ethereum`). Never includes private keys. plt_ auth only.\n",
|
|
12071
|
+
"operationId": "getConnectionSigningKey",
|
|
12072
|
+
"security": [
|
|
12073
|
+
{
|
|
12074
|
+
"BearerAuth": []
|
|
12075
|
+
}
|
|
12076
|
+
],
|
|
12077
|
+
"parameters": [
|
|
12078
|
+
{
|
|
12079
|
+
"in": "path",
|
|
12080
|
+
"name": "connectionId",
|
|
12081
|
+
"required": true,
|
|
12082
|
+
"schema": {
|
|
12083
|
+
"type": "string",
|
|
12084
|
+
"format": "uuid"
|
|
12085
|
+
}
|
|
12086
|
+
},
|
|
12087
|
+
{
|
|
12088
|
+
"in": "path",
|
|
12089
|
+
"name": "chain",
|
|
12090
|
+
"required": true,
|
|
12091
|
+
"schema": {
|
|
12092
|
+
"type": "string"
|
|
12093
|
+
}
|
|
12094
|
+
},
|
|
12095
|
+
{
|
|
12096
|
+
"in": "query",
|
|
12097
|
+
"name": "agent_id",
|
|
12098
|
+
"required": false,
|
|
12099
|
+
"schema": {
|
|
12100
|
+
"type": "string",
|
|
12101
|
+
"format": "uuid"
|
|
12102
|
+
}
|
|
12103
|
+
}
|
|
12104
|
+
],
|
|
12105
|
+
"responses": {
|
|
12106
|
+
"200": {
|
|
12107
|
+
"description": "Signing key metadata",
|
|
12108
|
+
"content": {
|
|
12109
|
+
"application/json": {
|
|
12110
|
+
"schema": {
|
|
12111
|
+
"$ref": "#/components/schemas/ConnectionSigningKeyDetailResponse"
|
|
12112
|
+
}
|
|
12113
|
+
}
|
|
12114
|
+
}
|
|
12115
|
+
},
|
|
12116
|
+
"400": {
|
|
12117
|
+
"description": "Multiple agents — agent_id required"
|
|
12118
|
+
},
|
|
12119
|
+
"404": {
|
|
12120
|
+
"$ref": "#/components/responses/NotFound"
|
|
12121
|
+
}
|
|
12122
|
+
}
|
|
12123
|
+
},
|
|
12124
|
+
"delete": {
|
|
12125
|
+
"tags": [
|
|
12126
|
+
"Platform"
|
|
12127
|
+
],
|
|
12128
|
+
"summary": "Deactivate a signing key for a connection agent",
|
|
12129
|
+
"description": "Deactivates the signing key for an agent provisioned on the connection.\nWhen multiple agents exist, pass `agent_id` query param. plt_ auth only.\n",
|
|
12130
|
+
"operationId": "deactivateConnectionSigningKey",
|
|
12131
|
+
"security": [
|
|
12132
|
+
{
|
|
12133
|
+
"BearerAuth": []
|
|
12134
|
+
}
|
|
12135
|
+
],
|
|
12136
|
+
"parameters": [
|
|
12137
|
+
{
|
|
12138
|
+
"in": "path",
|
|
12139
|
+
"name": "connectionId",
|
|
12140
|
+
"required": true,
|
|
12141
|
+
"schema": {
|
|
12142
|
+
"type": "string",
|
|
12143
|
+
"format": "uuid"
|
|
12144
|
+
}
|
|
12145
|
+
},
|
|
12146
|
+
{
|
|
12147
|
+
"in": "path",
|
|
12148
|
+
"name": "chain",
|
|
12149
|
+
"required": true,
|
|
12150
|
+
"schema": {
|
|
12151
|
+
"type": "string"
|
|
12152
|
+
}
|
|
12153
|
+
},
|
|
12154
|
+
{
|
|
12155
|
+
"in": "query",
|
|
12156
|
+
"name": "agent_id",
|
|
12157
|
+
"required": false,
|
|
12158
|
+
"schema": {
|
|
12159
|
+
"type": "string",
|
|
12160
|
+
"format": "uuid"
|
|
12161
|
+
}
|
|
12162
|
+
}
|
|
12163
|
+
],
|
|
12164
|
+
"responses": {
|
|
12165
|
+
"204": {
|
|
12166
|
+
"description": "Key deactivated"
|
|
12167
|
+
},
|
|
12168
|
+
"400": {
|
|
12169
|
+
"description": "Multiple agents — agent_id required"
|
|
12170
|
+
},
|
|
12171
|
+
"404": {
|
|
12172
|
+
"$ref": "#/components/responses/NotFound"
|
|
12173
|
+
}
|
|
12174
|
+
}
|
|
12175
|
+
}
|
|
12176
|
+
},
|
|
12177
|
+
"/v1/platform/connections/{connectionId}/agents/{agentId}": {
|
|
12178
|
+
"patch": {
|
|
12179
|
+
"tags": [
|
|
12180
|
+
"Platform"
|
|
12181
|
+
],
|
|
12182
|
+
"summary": "Update limited agent settings for a connection",
|
|
12183
|
+
"description": "Platform-scoped agent update for connected end-users. Allows enabling Intents API,\nExecution Intents, and updating the default system prompt without human dashboard access.\nAgent must be provisioned on the connection. plt_ auth only.\n",
|
|
12184
|
+
"operationId": "patchConnectionAgent",
|
|
12185
|
+
"security": [
|
|
12186
|
+
{
|
|
12187
|
+
"BearerAuth": []
|
|
12188
|
+
}
|
|
12189
|
+
],
|
|
12190
|
+
"parameters": [
|
|
12191
|
+
{
|
|
12192
|
+
"in": "path",
|
|
12193
|
+
"name": "connectionId",
|
|
12194
|
+
"required": true,
|
|
12195
|
+
"schema": {
|
|
12196
|
+
"type": "string",
|
|
12197
|
+
"format": "uuid"
|
|
12198
|
+
}
|
|
12199
|
+
},
|
|
12200
|
+
{
|
|
12201
|
+
"in": "path",
|
|
12202
|
+
"name": "agentId",
|
|
12203
|
+
"required": true,
|
|
12204
|
+
"schema": {
|
|
12205
|
+
"type": "string",
|
|
12206
|
+
"format": "uuid"
|
|
12207
|
+
}
|
|
12208
|
+
}
|
|
12209
|
+
],
|
|
12210
|
+
"requestBody": {
|
|
12211
|
+
"required": true,
|
|
12212
|
+
"content": {
|
|
12213
|
+
"application/json": {
|
|
12214
|
+
"schema": {
|
|
12215
|
+
"$ref": "#/components/schemas/PatchConnectionAgentRequest"
|
|
12216
|
+
}
|
|
12217
|
+
}
|
|
12218
|
+
}
|
|
12219
|
+
},
|
|
12220
|
+
"responses": {
|
|
12221
|
+
"200": {
|
|
12222
|
+
"description": "Updated agent settings",
|
|
12223
|
+
"content": {
|
|
12224
|
+
"application/json": {
|
|
12225
|
+
"schema": {
|
|
12226
|
+
"$ref": "#/components/schemas/PatchConnectionAgentResponse"
|
|
12227
|
+
}
|
|
12228
|
+
}
|
|
12229
|
+
}
|
|
12230
|
+
},
|
|
12231
|
+
"400": {
|
|
12232
|
+
"$ref": "#/components/responses/BadRequest"
|
|
12233
|
+
},
|
|
12234
|
+
"403": {
|
|
12235
|
+
"$ref": "#/components/responses/Forbidden"
|
|
12236
|
+
},
|
|
12237
|
+
"404": {
|
|
12238
|
+
"$ref": "#/components/responses/NotFound"
|
|
12239
|
+
}
|
|
12240
|
+
}
|
|
12241
|
+
}
|
|
12242
|
+
},
|
|
12243
|
+
"/v1/platform/connections/{connectionId}/portfolio": {
|
|
12244
|
+
"get": {
|
|
12245
|
+
"tags": [
|
|
12246
|
+
"Platform"
|
|
12247
|
+
],
|
|
12248
|
+
"summary": "Portfolio for connection agents",
|
|
12249
|
+
"description": "Aggregates signing-key and smart-account balances for agents provisioned on\nthe connection. plt_ auth only.\n",
|
|
12250
|
+
"operationId": "getConnectionPortfolio",
|
|
12251
|
+
"security": [
|
|
12252
|
+
{
|
|
12253
|
+
"BearerAuth": []
|
|
12254
|
+
}
|
|
12255
|
+
],
|
|
12256
|
+
"parameters": [
|
|
12257
|
+
{
|
|
12258
|
+
"in": "path",
|
|
12259
|
+
"name": "connectionId",
|
|
12260
|
+
"required": true,
|
|
12261
|
+
"schema": {
|
|
12262
|
+
"type": "string",
|
|
12263
|
+
"format": "uuid"
|
|
12264
|
+
}
|
|
12265
|
+
},
|
|
12266
|
+
{
|
|
12267
|
+
"in": "query",
|
|
12268
|
+
"name": "chains",
|
|
12269
|
+
"required": false,
|
|
12270
|
+
"schema": {
|
|
12271
|
+
"type": "string",
|
|
12272
|
+
"description": "Comma-separated chain filter (e.g. `ethereum,base`)"
|
|
12273
|
+
}
|
|
12274
|
+
},
|
|
12275
|
+
{
|
|
12276
|
+
"in": "query",
|
|
12277
|
+
"name": "include_tokens",
|
|
12278
|
+
"required": false,
|
|
12279
|
+
"schema": {
|
|
12280
|
+
"type": "boolean"
|
|
12281
|
+
}
|
|
12282
|
+
}
|
|
12283
|
+
],
|
|
12284
|
+
"responses": {
|
|
12285
|
+
"200": {
|
|
12286
|
+
"description": "Connection-scoped portfolio",
|
|
12287
|
+
"content": {
|
|
12288
|
+
"application/json": {
|
|
12289
|
+
"schema": {
|
|
12290
|
+
"$ref": "#/components/schemas/PortfolioResponse"
|
|
12291
|
+
}
|
|
12292
|
+
}
|
|
12293
|
+
}
|
|
12294
|
+
},
|
|
12295
|
+
"404": {
|
|
12296
|
+
"$ref": "#/components/responses/NotFound"
|
|
12297
|
+
}
|
|
12298
|
+
}
|
|
12299
|
+
}
|
|
12300
|
+
},
|
|
12301
|
+
"/v1/platform/connections/{connectionId}/balances": {
|
|
12302
|
+
"get": {
|
|
12303
|
+
"tags": [
|
|
12304
|
+
"Platform"
|
|
12305
|
+
],
|
|
12306
|
+
"summary": "Balances alias for connection portfolio",
|
|
12307
|
+
"description": "Alias of `GET .../portfolio`. plt_ auth only.",
|
|
12308
|
+
"operationId": "getConnectionBalances",
|
|
12309
|
+
"security": [
|
|
12310
|
+
{
|
|
12311
|
+
"BearerAuth": []
|
|
12312
|
+
}
|
|
12313
|
+
],
|
|
12314
|
+
"parameters": [
|
|
12315
|
+
{
|
|
12316
|
+
"in": "path",
|
|
12317
|
+
"name": "connectionId",
|
|
12318
|
+
"required": true,
|
|
12319
|
+
"schema": {
|
|
12320
|
+
"type": "string",
|
|
12321
|
+
"format": "uuid"
|
|
12322
|
+
}
|
|
12323
|
+
},
|
|
12324
|
+
{
|
|
12325
|
+
"in": "query",
|
|
12326
|
+
"name": "chains",
|
|
12327
|
+
"required": false,
|
|
12328
|
+
"schema": {
|
|
12329
|
+
"type": "string"
|
|
12330
|
+
}
|
|
12331
|
+
}
|
|
12332
|
+
],
|
|
12333
|
+
"responses": {
|
|
12334
|
+
"200": {
|
|
12335
|
+
"description": "Connection-scoped portfolio",
|
|
12336
|
+
"content": {
|
|
12337
|
+
"application/json": {
|
|
12338
|
+
"schema": {
|
|
12339
|
+
"$ref": "#/components/schemas/PortfolioResponse"
|
|
12340
|
+
}
|
|
12341
|
+
}
|
|
12342
|
+
}
|
|
12343
|
+
}
|
|
12344
|
+
}
|
|
12345
|
+
}
|
|
12346
|
+
},
|
|
12347
|
+
"/v1/platform/connections/{connectionId}/automations": {
|
|
12348
|
+
"get": {
|
|
12349
|
+
"tags": [
|
|
12350
|
+
"Platform"
|
|
12351
|
+
],
|
|
12352
|
+
"summary": "List automations for connection agents",
|
|
12353
|
+
"operationId": "listConnectionAutomations",
|
|
12354
|
+
"security": [
|
|
12355
|
+
{
|
|
12356
|
+
"BearerAuth": []
|
|
12357
|
+
}
|
|
12358
|
+
],
|
|
12359
|
+
"parameters": [
|
|
12360
|
+
{
|
|
12361
|
+
"in": "path",
|
|
12362
|
+
"name": "connectionId",
|
|
12363
|
+
"required": true,
|
|
12364
|
+
"schema": {
|
|
12365
|
+
"type": "string",
|
|
12366
|
+
"format": "uuid"
|
|
12367
|
+
}
|
|
12368
|
+
}
|
|
12369
|
+
],
|
|
12370
|
+
"responses": {
|
|
12371
|
+
"200": {
|
|
12372
|
+
"description": "Automations scoped to connection agents",
|
|
12373
|
+
"content": {
|
|
12374
|
+
"application/json": {
|
|
12375
|
+
"schema": {
|
|
12376
|
+
"$ref": "#/components/schemas/AutomationListResponse"
|
|
12377
|
+
}
|
|
12378
|
+
}
|
|
12379
|
+
}
|
|
12380
|
+
}
|
|
12381
|
+
}
|
|
12382
|
+
},
|
|
12383
|
+
"post": {
|
|
12384
|
+
"tags": [
|
|
12385
|
+
"Platform"
|
|
12386
|
+
],
|
|
12387
|
+
"summary": "Create automation for a connection agent",
|
|
12388
|
+
"operationId": "createConnectionAutomation",
|
|
12389
|
+
"security": [
|
|
12390
|
+
{
|
|
12391
|
+
"BearerAuth": []
|
|
12392
|
+
}
|
|
12393
|
+
],
|
|
12394
|
+
"parameters": [
|
|
12395
|
+
{
|
|
12396
|
+
"in": "path",
|
|
12397
|
+
"name": "connectionId",
|
|
12398
|
+
"required": true,
|
|
12399
|
+
"schema": {
|
|
12400
|
+
"type": "string",
|
|
12401
|
+
"format": "uuid"
|
|
12402
|
+
}
|
|
12403
|
+
}
|
|
12404
|
+
],
|
|
12405
|
+
"requestBody": {
|
|
12406
|
+
"required": true,
|
|
12407
|
+
"content": {
|
|
12408
|
+
"application/json": {
|
|
12409
|
+
"schema": {
|
|
12410
|
+
"$ref": "#/components/schemas/CreateAutomationRequest"
|
|
12411
|
+
}
|
|
12412
|
+
}
|
|
12413
|
+
}
|
|
12414
|
+
},
|
|
12415
|
+
"responses": {
|
|
12416
|
+
"201": {
|
|
12417
|
+
"description": "Automation created",
|
|
12418
|
+
"content": {
|
|
12419
|
+
"application/json": {
|
|
12420
|
+
"schema": {
|
|
12421
|
+
"$ref": "#/components/schemas/AutomationCreatedResponse"
|
|
12422
|
+
}
|
|
12423
|
+
}
|
|
12424
|
+
}
|
|
12425
|
+
},
|
|
12426
|
+
"403": {
|
|
12427
|
+
"$ref": "#/components/responses/Forbidden"
|
|
12428
|
+
}
|
|
12429
|
+
}
|
|
12430
|
+
}
|
|
12431
|
+
},
|
|
12432
|
+
"/v1/platform/connections/{connectionId}/automations/{automationId}/runs/{runId}/cancel": {
|
|
11796
12433
|
"post": {
|
|
11797
12434
|
"tags": [
|
|
11798
12435
|
"Platform"
|
|
11799
12436
|
],
|
|
11800
|
-
"summary": "
|
|
11801
|
-
"
|
|
11802
|
-
"operationId": "decideConnectionApproval",
|
|
12437
|
+
"summary": "Cancel an automation run (connection-scoped)",
|
|
12438
|
+
"operationId": "cancelConnectionAutomationRun",
|
|
11803
12439
|
"security": [
|
|
11804
12440
|
{
|
|
11805
12441
|
"BearerAuth": []
|
|
@@ -11817,72 +12453,47 @@
|
|
|
11817
12453
|
},
|
|
11818
12454
|
{
|
|
11819
12455
|
"in": "path",
|
|
11820
|
-
"name": "
|
|
12456
|
+
"name": "automationId",
|
|
11821
12457
|
"required": true,
|
|
11822
12458
|
"schema": {
|
|
11823
12459
|
"type": "string",
|
|
11824
12460
|
"format": "uuid"
|
|
11825
12461
|
}
|
|
11826
|
-
}
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
"
|
|
11832
|
-
"
|
|
11833
|
-
|
|
11834
|
-
"required": [
|
|
11835
|
-
"decision"
|
|
11836
|
-
],
|
|
11837
|
-
"properties": {
|
|
11838
|
-
"decision": {
|
|
11839
|
-
"type": "string",
|
|
11840
|
-
"enum": [
|
|
11841
|
-
"approved",
|
|
11842
|
-
"rejected",
|
|
11843
|
-
"approve",
|
|
11844
|
-
"reject"
|
|
11845
|
-
]
|
|
11846
|
-
},
|
|
11847
|
-
"reason": {
|
|
11848
|
-
"type": "string"
|
|
11849
|
-
}
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
12462
|
+
},
|
|
12463
|
+
{
|
|
12464
|
+
"in": "path",
|
|
12465
|
+
"name": "runId",
|
|
12466
|
+
"required": true,
|
|
12467
|
+
"schema": {
|
|
12468
|
+
"type": "string",
|
|
12469
|
+
"format": "uuid"
|
|
11852
12470
|
}
|
|
11853
12471
|
}
|
|
11854
|
-
|
|
12472
|
+
],
|
|
11855
12473
|
"responses": {
|
|
11856
12474
|
"200": {
|
|
11857
|
-
"description": "
|
|
12475
|
+
"description": "Run cancelled",
|
|
11858
12476
|
"content": {
|
|
11859
12477
|
"application/json": {
|
|
11860
12478
|
"schema": {
|
|
11861
|
-
"$ref": "#/components/schemas/
|
|
12479
|
+
"$ref": "#/components/schemas/AutomationRunResponse"
|
|
11862
12480
|
}
|
|
11863
12481
|
}
|
|
11864
12482
|
}
|
|
11865
12483
|
},
|
|
11866
|
-
"403": {
|
|
11867
|
-
"$ref": "#/components/responses/Forbidden"
|
|
11868
|
-
},
|
|
11869
12484
|
"404": {
|
|
11870
12485
|
"$ref": "#/components/responses/NotFound"
|
|
11871
|
-
},
|
|
11872
|
-
"409": {
|
|
11873
|
-
"description": "Already decided"
|
|
11874
12486
|
}
|
|
11875
12487
|
}
|
|
11876
12488
|
}
|
|
11877
12489
|
},
|
|
11878
|
-
"/v1/platform/connections/{connectionId}/
|
|
12490
|
+
"/v1/platform/connections/{connectionId}/memory/{namespace}/{key}": {
|
|
11879
12491
|
"get": {
|
|
11880
12492
|
"tags": [
|
|
11881
12493
|
"Platform"
|
|
11882
12494
|
],
|
|
11883
|
-
"summary": "
|
|
11884
|
-
"
|
|
11885
|
-
"operationId": "listConnectionSigningKeys",
|
|
12495
|
+
"summary": "Get agent memory entry (connection-scoped)",
|
|
12496
|
+
"operationId": "getConnectionMemory",
|
|
11886
12497
|
"security": [
|
|
11887
12498
|
{
|
|
11888
12499
|
"BearerAuth": []
|
|
@@ -11898,6 +12509,22 @@
|
|
|
11898
12509
|
"format": "uuid"
|
|
11899
12510
|
}
|
|
11900
12511
|
},
|
|
12512
|
+
{
|
|
12513
|
+
"in": "path",
|
|
12514
|
+
"name": "namespace",
|
|
12515
|
+
"required": true,
|
|
12516
|
+
"schema": {
|
|
12517
|
+
"type": "string"
|
|
12518
|
+
}
|
|
12519
|
+
},
|
|
12520
|
+
{
|
|
12521
|
+
"in": "path",
|
|
12522
|
+
"name": "key",
|
|
12523
|
+
"required": true,
|
|
12524
|
+
"schema": {
|
|
12525
|
+
"type": "string"
|
|
12526
|
+
}
|
|
12527
|
+
},
|
|
11901
12528
|
{
|
|
11902
12529
|
"in": "query",
|
|
11903
12530
|
"name": "agent_id",
|
|
@@ -11910,32 +12537,29 @@
|
|
|
11910
12537
|
],
|
|
11911
12538
|
"responses": {
|
|
11912
12539
|
"200": {
|
|
11913
|
-
"description": "
|
|
12540
|
+
"description": "Memory entry",
|
|
11914
12541
|
"content": {
|
|
11915
12542
|
"application/json": {
|
|
11916
12543
|
"schema": {
|
|
11917
|
-
"$ref": "#/components/schemas/
|
|
12544
|
+
"$ref": "#/components/schemas/MemoryEntry"
|
|
11918
12545
|
}
|
|
11919
12546
|
}
|
|
11920
12547
|
}
|
|
11921
12548
|
},
|
|
11922
|
-
"
|
|
11923
|
-
"
|
|
12549
|
+
"403": {
|
|
12550
|
+
"$ref": "#/components/responses/Forbidden"
|
|
11924
12551
|
},
|
|
11925
12552
|
"404": {
|
|
11926
12553
|
"$ref": "#/components/responses/NotFound"
|
|
11927
12554
|
}
|
|
11928
12555
|
}
|
|
11929
|
-
}
|
|
11930
|
-
|
|
11931
|
-
"/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
|
|
11932
|
-
"get": {
|
|
12556
|
+
},
|
|
12557
|
+
"put": {
|
|
11933
12558
|
"tags": [
|
|
11934
12559
|
"Platform"
|
|
11935
12560
|
],
|
|
11936
|
-
"summary": "
|
|
11937
|
-
"
|
|
11938
|
-
"operationId": "getConnectionSigningKey",
|
|
12561
|
+
"summary": "Upsert agent memory entry (connection-scoped)",
|
|
12562
|
+
"operationId": "putConnectionMemory",
|
|
11939
12563
|
"security": [
|
|
11940
12564
|
{
|
|
11941
12565
|
"BearerAuth": []
|
|
@@ -11953,7 +12577,15 @@
|
|
|
11953
12577
|
},
|
|
11954
12578
|
{
|
|
11955
12579
|
"in": "path",
|
|
11956
|
-
"name": "
|
|
12580
|
+
"name": "namespace",
|
|
12581
|
+
"required": true,
|
|
12582
|
+
"schema": {
|
|
12583
|
+
"type": "string"
|
|
12584
|
+
}
|
|
12585
|
+
},
|
|
12586
|
+
{
|
|
12587
|
+
"in": "path",
|
|
12588
|
+
"name": "key",
|
|
11957
12589
|
"required": true,
|
|
11958
12590
|
"schema": {
|
|
11959
12591
|
"type": "string"
|
|
@@ -11969,22 +12601,26 @@
|
|
|
11969
12601
|
}
|
|
11970
12602
|
}
|
|
11971
12603
|
],
|
|
12604
|
+
"requestBody": {
|
|
12605
|
+
"required": true,
|
|
12606
|
+
"content": {
|
|
12607
|
+
"application/json": {
|
|
12608
|
+
"schema": {
|
|
12609
|
+
"$ref": "#/components/schemas/PutMemoryRequest"
|
|
12610
|
+
}
|
|
12611
|
+
}
|
|
12612
|
+
}
|
|
12613
|
+
},
|
|
11972
12614
|
"responses": {
|
|
11973
12615
|
"200": {
|
|
11974
|
-
"description": "
|
|
12616
|
+
"description": "Memory entry stored",
|
|
11975
12617
|
"content": {
|
|
11976
12618
|
"application/json": {
|
|
11977
12619
|
"schema": {
|
|
11978
|
-
"$ref": "#/components/schemas/
|
|
12620
|
+
"$ref": "#/components/schemas/MemoryEntry"
|
|
11979
12621
|
}
|
|
11980
12622
|
}
|
|
11981
12623
|
}
|
|
11982
|
-
},
|
|
11983
|
-
"400": {
|
|
11984
|
-
"description": "Multiple agents — agent_id required"
|
|
11985
|
-
},
|
|
11986
|
-
"404": {
|
|
11987
|
-
"$ref": "#/components/responses/NotFound"
|
|
11988
12624
|
}
|
|
11989
12625
|
}
|
|
11990
12626
|
},
|
|
@@ -11992,9 +12628,8 @@
|
|
|
11992
12628
|
"tags": [
|
|
11993
12629
|
"Platform"
|
|
11994
12630
|
],
|
|
11995
|
-
"summary": "
|
|
11996
|
-
"
|
|
11997
|
-
"operationId": "deactivateConnectionSigningKey",
|
|
12631
|
+
"summary": "Delete agent memory entry (connection-scoped)",
|
|
12632
|
+
"operationId": "deleteConnectionMemory",
|
|
11998
12633
|
"security": [
|
|
11999
12634
|
{
|
|
12000
12635
|
"BearerAuth": []
|
|
@@ -12012,7 +12647,15 @@
|
|
|
12012
12647
|
},
|
|
12013
12648
|
{
|
|
12014
12649
|
"in": "path",
|
|
12015
|
-
"name": "
|
|
12650
|
+
"name": "namespace",
|
|
12651
|
+
"required": true,
|
|
12652
|
+
"schema": {
|
|
12653
|
+
"type": "string"
|
|
12654
|
+
}
|
|
12655
|
+
},
|
|
12656
|
+
{
|
|
12657
|
+
"in": "path",
|
|
12658
|
+
"name": "key",
|
|
12016
12659
|
"required": true,
|
|
12017
12660
|
"schema": {
|
|
12018
12661
|
"type": "string"
|
|
@@ -12030,10 +12673,7 @@
|
|
|
12030
12673
|
],
|
|
12031
12674
|
"responses": {
|
|
12032
12675
|
"204": {
|
|
12033
|
-
"description": "
|
|
12034
|
-
},
|
|
12035
|
-
"400": {
|
|
12036
|
-
"description": "Multiple agents — agent_id required"
|
|
12676
|
+
"description": "Deleted"
|
|
12037
12677
|
},
|
|
12038
12678
|
"404": {
|
|
12039
12679
|
"$ref": "#/components/responses/NotFound"
|
|
@@ -22977,6 +23617,40 @@
|
|
|
22977
23617
|
}
|
|
22978
23618
|
}
|
|
22979
23619
|
},
|
|
23620
|
+
"PatchConnectionAgentRequest": {
|
|
23621
|
+
"type": "object",
|
|
23622
|
+
"properties": {
|
|
23623
|
+
"intents_api_enabled": {
|
|
23624
|
+
"type": "boolean"
|
|
23625
|
+
},
|
|
23626
|
+
"execution_intents_enabled": {
|
|
23627
|
+
"type": "boolean"
|
|
23628
|
+
},
|
|
23629
|
+
"system_prompt": {
|
|
23630
|
+
"type": "string",
|
|
23631
|
+
"nullable": true
|
|
23632
|
+
}
|
|
23633
|
+
}
|
|
23634
|
+
},
|
|
23635
|
+
"PatchConnectionAgentResponse": {
|
|
23636
|
+
"type": "object",
|
|
23637
|
+
"properties": {
|
|
23638
|
+
"agent_id": {
|
|
23639
|
+
"type": "string",
|
|
23640
|
+
"format": "uuid"
|
|
23641
|
+
},
|
|
23642
|
+
"intents_api_enabled": {
|
|
23643
|
+
"type": "boolean"
|
|
23644
|
+
},
|
|
23645
|
+
"execution_intents_enabled": {
|
|
23646
|
+
"type": "boolean"
|
|
23647
|
+
},
|
|
23648
|
+
"system_prompt": {
|
|
23649
|
+
"type": "string",
|
|
23650
|
+
"nullable": true
|
|
23651
|
+
}
|
|
23652
|
+
}
|
|
23653
|
+
},
|
|
22980
23654
|
"LeaseBankrKeyRequest": {
|
|
22981
23655
|
"type": "object",
|
|
22982
23656
|
"properties": {
|
|
@@ -32398,6 +33072,121 @@
|
|
|
32398
33072
|
}
|
|
32399
33073
|
}
|
|
32400
33074
|
},
|
|
33075
|
+
"ConnectionSubmitPendingApprovalRequest": {
|
|
33076
|
+
"type": "object",
|
|
33077
|
+
"required": [
|
|
33078
|
+
"action_payload"
|
|
33079
|
+
],
|
|
33080
|
+
"properties": {
|
|
33081
|
+
"agent_id": {
|
|
33082
|
+
"type": "string",
|
|
33083
|
+
"format": "uuid",
|
|
33084
|
+
"description": "Required when the connection has multiple agents"
|
|
33085
|
+
},
|
|
33086
|
+
"policy_id": {
|
|
33087
|
+
"type": "string",
|
|
33088
|
+
"format": "uuid",
|
|
33089
|
+
"description": "Optional — auto-resolved from agent consensus policies when omitted"
|
|
33090
|
+
},
|
|
33091
|
+
"action": {
|
|
33092
|
+
"type": "string",
|
|
33093
|
+
"default": "transaction"
|
|
33094
|
+
},
|
|
33095
|
+
"action_payload": {
|
|
33096
|
+
"type": "object",
|
|
33097
|
+
"description": "Transaction/intent fields (chain, to, value, …) hashed for decide binding"
|
|
33098
|
+
},
|
|
33099
|
+
"summary": {
|
|
33100
|
+
"type": "string",
|
|
33101
|
+
"description": "Human-readable label included in webhook payloads"
|
|
33102
|
+
}
|
|
33103
|
+
}
|
|
33104
|
+
},
|
|
33105
|
+
"InspectContentRequest": {
|
|
33106
|
+
"type": "object",
|
|
33107
|
+
"required": [
|
|
33108
|
+
"content"
|
|
33109
|
+
],
|
|
33110
|
+
"properties": {
|
|
33111
|
+
"content": {
|
|
33112
|
+
"type": "string",
|
|
33113
|
+
"maxLength": 102400
|
|
33114
|
+
},
|
|
33115
|
+
"context": {
|
|
33116
|
+
"type": "string",
|
|
33117
|
+
"enum": [
|
|
33118
|
+
"input",
|
|
33119
|
+
"output"
|
|
33120
|
+
],
|
|
33121
|
+
"description": "Inspection context (reserved for future rules)"
|
|
33122
|
+
}
|
|
33123
|
+
}
|
|
33124
|
+
},
|
|
33125
|
+
"InspectContentResponse": {
|
|
33126
|
+
"type": "object",
|
|
33127
|
+
"properties": {
|
|
33128
|
+
"safe": {
|
|
33129
|
+
"type": "boolean"
|
|
33130
|
+
},
|
|
33131
|
+
"verdict": {
|
|
33132
|
+
"type": "string",
|
|
33133
|
+
"enum": [
|
|
33134
|
+
"clean",
|
|
33135
|
+
"malicious"
|
|
33136
|
+
]
|
|
33137
|
+
},
|
|
33138
|
+
"threat_count": {
|
|
33139
|
+
"type": "integer"
|
|
33140
|
+
},
|
|
33141
|
+
"threats": {
|
|
33142
|
+
"type": "array",
|
|
33143
|
+
"items": {
|
|
33144
|
+
"type": "object",
|
|
33145
|
+
"properties": {
|
|
33146
|
+
"type": {
|
|
33147
|
+
"type": "string"
|
|
33148
|
+
},
|
|
33149
|
+
"pattern": {
|
|
33150
|
+
"type": "string"
|
|
33151
|
+
},
|
|
33152
|
+
"severity": {
|
|
33153
|
+
"type": "string"
|
|
33154
|
+
}
|
|
33155
|
+
}
|
|
33156
|
+
}
|
|
33157
|
+
},
|
|
33158
|
+
"unicode_normalized": {
|
|
33159
|
+
"type": "boolean"
|
|
33160
|
+
},
|
|
33161
|
+
"normalized_content": {
|
|
33162
|
+
"type": "string"
|
|
33163
|
+
}
|
|
33164
|
+
}
|
|
33165
|
+
},
|
|
33166
|
+
"PlatformWebhookInfoResponse": {
|
|
33167
|
+
"type": "object",
|
|
33168
|
+
"properties": {
|
|
33169
|
+
"app_id": {
|
|
33170
|
+
"type": "string",
|
|
33171
|
+
"format": "uuid"
|
|
33172
|
+
},
|
|
33173
|
+
"webhook_configured": {
|
|
33174
|
+
"type": "boolean"
|
|
33175
|
+
},
|
|
33176
|
+
"webhook_url_host": {
|
|
33177
|
+
"type": "string"
|
|
33178
|
+
},
|
|
33179
|
+
"platform_events": {
|
|
33180
|
+
"type": "array",
|
|
33181
|
+
"items": {
|
|
33182
|
+
"type": "string"
|
|
33183
|
+
}
|
|
33184
|
+
},
|
|
33185
|
+
"org_webhooks_note": {
|
|
33186
|
+
"type": "string"
|
|
33187
|
+
}
|
|
33188
|
+
}
|
|
33189
|
+
},
|
|
32401
33190
|
"SubmitPendingApprovalResponse": {
|
|
32402
33191
|
"type": "object",
|
|
32403
33192
|
"properties": {
|