@1claw/openapi-spec 0.22.2 → 0.23.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/README.md +2 -1
- package/openapi.json +1677 -720
- package/openapi.yaml +609 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -98,6 +98,10 @@
|
|
|
98
98
|
{
|
|
99
99
|
"name": "Health",
|
|
100
100
|
"description": "Service health checks"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "Platform",
|
|
104
|
+
"description": "Platform API for developers building on 1Claw (plt_ keys, user provisioning, bootstrap templates)"
|
|
101
105
|
}
|
|
102
106
|
],
|
|
103
107
|
"paths": {
|
|
@@ -5125,166 +5129,693 @@
|
|
|
5125
5129
|
}
|
|
5126
5130
|
}
|
|
5127
5131
|
}
|
|
5128
|
-
}
|
|
5129
|
-
},
|
|
5130
|
-
"components": {
|
|
5131
|
-
"securitySchemes": {
|
|
5132
|
-
"BearerAuth": {
|
|
5133
|
-
"type": "http",
|
|
5134
|
-
"scheme": "bearer",
|
|
5135
|
-
"bearerFormat": "JWT"
|
|
5136
|
-
},
|
|
5137
|
-
"ApiKeyAuth": {
|
|
5138
|
-
"type": "http",
|
|
5139
|
-
"scheme": "bearer",
|
|
5140
|
-
"description": "1ck_ prefixed API key used as Bearer token"
|
|
5141
|
-
}
|
|
5142
5132
|
},
|
|
5143
|
-
"
|
|
5144
|
-
"
|
|
5145
|
-
"
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
"
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
"
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5133
|
+
"/v1/platform/apps": {
|
|
5134
|
+
"post": {
|
|
5135
|
+
"tags": [
|
|
5136
|
+
"Platform"
|
|
5137
|
+
],
|
|
5138
|
+
"summary": "Register a platform app",
|
|
5139
|
+
"description": "Register a new platform app for building on top of 1Claw. Returns an API key (plt_ prefix) that must be saved immediately.",
|
|
5140
|
+
"security": [
|
|
5141
|
+
{
|
|
5142
|
+
"BearerAuth": []
|
|
5143
|
+
}
|
|
5144
|
+
],
|
|
5145
|
+
"requestBody": {
|
|
5146
|
+
"required": true,
|
|
5147
|
+
"content": {
|
|
5148
|
+
"application/json": {
|
|
5149
|
+
"schema": {
|
|
5150
|
+
"$ref": "#/components/schemas/CreatePlatformAppRequest"
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
}
|
|
5159
5154
|
},
|
|
5160
|
-
"
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
"format": "uuid"
|
|
5155
|
+
"responses": {
|
|
5156
|
+
"201": {
|
|
5157
|
+
"description": "Platform app created",
|
|
5158
|
+
"content": {
|
|
5159
|
+
"application/json": {
|
|
5160
|
+
"schema": {
|
|
5161
|
+
"$ref": "#/components/schemas/PlatformAppCreatedResponse"
|
|
5162
|
+
}
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
"400": {
|
|
5167
|
+
"description": "Invalid request"
|
|
5168
|
+
},
|
|
5169
|
+
"403": {
|
|
5170
|
+
"description": "Only human users can register platform apps"
|
|
5171
|
+
}
|
|
5178
5172
|
}
|
|
5179
5173
|
},
|
|
5180
|
-
"
|
|
5181
|
-
"
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
"
|
|
5185
|
-
"
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5174
|
+
"get": {
|
|
5175
|
+
"tags": [
|
|
5176
|
+
"Platform"
|
|
5177
|
+
],
|
|
5178
|
+
"summary": "List platform apps",
|
|
5179
|
+
"description": "List all platform apps in the organization.",
|
|
5180
|
+
"security": [
|
|
5181
|
+
{
|
|
5182
|
+
"BearerAuth": []
|
|
5183
|
+
}
|
|
5184
|
+
],
|
|
5185
|
+
"responses": {
|
|
5186
|
+
"200": {
|
|
5187
|
+
"description": "List of platform apps",
|
|
5188
|
+
"content": {
|
|
5189
|
+
"application/json": {
|
|
5190
|
+
"schema": {
|
|
5191
|
+
"type": "array",
|
|
5192
|
+
"items": {
|
|
5193
|
+
"$ref": "#/components/schemas/PlatformAppResponse"
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
}
|
|
5198
|
+
}
|
|
5189
5199
|
}
|
|
5190
5200
|
}
|
|
5191
5201
|
},
|
|
5192
|
-
"
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5195
|
-
|
|
5196
|
-
|
|
5202
|
+
"/v1/platform/apps/{appId}": {
|
|
5203
|
+
"get": {
|
|
5204
|
+
"tags": [
|
|
5205
|
+
"Platform"
|
|
5206
|
+
],
|
|
5207
|
+
"summary": "Get platform app details",
|
|
5208
|
+
"security": [
|
|
5209
|
+
{
|
|
5210
|
+
"BearerAuth": []
|
|
5211
|
+
}
|
|
5212
|
+
],
|
|
5213
|
+
"parameters": [
|
|
5214
|
+
{
|
|
5215
|
+
"in": "path",
|
|
5216
|
+
"name": "appId",
|
|
5217
|
+
"required": true,
|
|
5197
5218
|
"schema": {
|
|
5198
|
-
"
|
|
5219
|
+
"type": "string",
|
|
5220
|
+
"format": "uuid"
|
|
5199
5221
|
}
|
|
5200
5222
|
}
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5223
|
+
],
|
|
5224
|
+
"responses": {
|
|
5225
|
+
"200": {
|
|
5226
|
+
"description": "Platform app details",
|
|
5227
|
+
"content": {
|
|
5228
|
+
"application/json": {
|
|
5229
|
+
"schema": {
|
|
5230
|
+
"$ref": "#/components/schemas/PlatformAppResponse"
|
|
5231
|
+
}
|
|
5232
|
+
}
|
|
5209
5233
|
}
|
|
5234
|
+
},
|
|
5235
|
+
"404": {
|
|
5236
|
+
"description": "Not found"
|
|
5210
5237
|
}
|
|
5211
5238
|
}
|
|
5212
5239
|
},
|
|
5213
|
-
"
|
|
5214
|
-
"
|
|
5215
|
-
|
|
5216
|
-
|
|
5240
|
+
"patch": {
|
|
5241
|
+
"tags": [
|
|
5242
|
+
"Platform"
|
|
5243
|
+
],
|
|
5244
|
+
"summary": "Update platform app",
|
|
5245
|
+
"security": [
|
|
5246
|
+
{
|
|
5247
|
+
"BearerAuth": []
|
|
5248
|
+
}
|
|
5249
|
+
],
|
|
5250
|
+
"parameters": [
|
|
5251
|
+
{
|
|
5252
|
+
"in": "path",
|
|
5253
|
+
"name": "appId",
|
|
5254
|
+
"required": true,
|
|
5217
5255
|
"schema": {
|
|
5218
|
-
"
|
|
5256
|
+
"type": "string",
|
|
5257
|
+
"format": "uuid"
|
|
5219
5258
|
}
|
|
5220
5259
|
}
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5260
|
+
],
|
|
5261
|
+
"requestBody": {
|
|
5262
|
+
"required": true,
|
|
5263
|
+
"content": {
|
|
5264
|
+
"application/json": {
|
|
5265
|
+
"schema": {
|
|
5266
|
+
"$ref": "#/components/schemas/UpdatePlatformAppRequest"
|
|
5267
|
+
}
|
|
5229
5268
|
}
|
|
5230
5269
|
}
|
|
5231
|
-
}
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5270
|
+
},
|
|
5271
|
+
"responses": {
|
|
5272
|
+
"200": {
|
|
5273
|
+
"description": "Updated platform app",
|
|
5274
|
+
"content": {
|
|
5275
|
+
"application/json": {
|
|
5276
|
+
"schema": {
|
|
5277
|
+
"$ref": "#/components/schemas/PlatformAppResponse"
|
|
5278
|
+
}
|
|
5279
|
+
}
|
|
5239
5280
|
}
|
|
5240
5281
|
}
|
|
5241
5282
|
}
|
|
5242
5283
|
},
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5245
|
-
|
|
5246
|
-
|
|
5284
|
+
"delete": {
|
|
5285
|
+
"tags": [
|
|
5286
|
+
"Platform"
|
|
5287
|
+
],
|
|
5288
|
+
"summary": "Delete platform app",
|
|
5289
|
+
"security": [
|
|
5290
|
+
{
|
|
5291
|
+
"BearerAuth": []
|
|
5292
|
+
}
|
|
5293
|
+
],
|
|
5294
|
+
"parameters": [
|
|
5295
|
+
{
|
|
5296
|
+
"in": "path",
|
|
5297
|
+
"name": "appId",
|
|
5298
|
+
"required": true,
|
|
5247
5299
|
"schema": {
|
|
5248
|
-
"
|
|
5300
|
+
"type": "string",
|
|
5301
|
+
"format": "uuid"
|
|
5249
5302
|
}
|
|
5250
5303
|
}
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
"ProblemDetails": {
|
|
5256
|
-
"type": "object",
|
|
5257
|
-
"description": "RFC 7807 error envelope",
|
|
5258
|
-
"properties": {
|
|
5259
|
-
"type": {
|
|
5260
|
-
"type": "string"
|
|
5261
|
-
},
|
|
5262
|
-
"title": {
|
|
5263
|
-
"type": "string"
|
|
5264
|
-
},
|
|
5265
|
-
"status": {
|
|
5266
|
-
"type": "integer"
|
|
5304
|
+
],
|
|
5305
|
+
"responses": {
|
|
5306
|
+
"204": {
|
|
5307
|
+
"description": "Deleted"
|
|
5267
5308
|
},
|
|
5268
|
-
"
|
|
5269
|
-
"
|
|
5309
|
+
"403": {
|
|
5310
|
+
"description": "Only human users can delete platform apps"
|
|
5270
5311
|
}
|
|
5271
5312
|
}
|
|
5272
|
-
}
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5315
|
+
"/v1/platform/apps/{appId}/templates": {
|
|
5316
|
+
"post": {
|
|
5317
|
+
"tags": [
|
|
5318
|
+
"Platform"
|
|
5277
5319
|
],
|
|
5278
|
-
"
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
"
|
|
5320
|
+
"summary": "Create bootstrap template",
|
|
5321
|
+
"description": "Create a template that defines what vault, agents, and policies to bootstrap for each connected user.",
|
|
5322
|
+
"security": [
|
|
5323
|
+
{
|
|
5324
|
+
"BearerAuth": []
|
|
5283
5325
|
}
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5326
|
+
],
|
|
5327
|
+
"parameters": [
|
|
5328
|
+
{
|
|
5329
|
+
"in": "path",
|
|
5330
|
+
"name": "appId",
|
|
5331
|
+
"required": true,
|
|
5332
|
+
"schema": {
|
|
5333
|
+
"type": "string",
|
|
5334
|
+
"format": "uuid"
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
],
|
|
5338
|
+
"requestBody": {
|
|
5339
|
+
"required": true,
|
|
5340
|
+
"content": {
|
|
5341
|
+
"application/json": {
|
|
5342
|
+
"schema": {
|
|
5343
|
+
"$ref": "#/components/schemas/CreateTemplateRequest"
|
|
5344
|
+
}
|
|
5345
|
+
}
|
|
5346
|
+
}
|
|
5347
|
+
},
|
|
5348
|
+
"responses": {
|
|
5349
|
+
"201": {
|
|
5350
|
+
"description": "Template created",
|
|
5351
|
+
"content": {
|
|
5352
|
+
"application/json": {
|
|
5353
|
+
"schema": {
|
|
5354
|
+
"$ref": "#/components/schemas/PlatformTemplateResponse"
|
|
5355
|
+
}
|
|
5356
|
+
}
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
}
|
|
5360
|
+
},
|
|
5361
|
+
"get": {
|
|
5362
|
+
"tags": [
|
|
5363
|
+
"Platform"
|
|
5364
|
+
],
|
|
5365
|
+
"summary": "List templates",
|
|
5366
|
+
"security": [
|
|
5367
|
+
{
|
|
5368
|
+
"BearerAuth": []
|
|
5369
|
+
}
|
|
5370
|
+
],
|
|
5371
|
+
"parameters": [
|
|
5372
|
+
{
|
|
5373
|
+
"in": "path",
|
|
5374
|
+
"name": "appId",
|
|
5375
|
+
"required": true,
|
|
5376
|
+
"schema": {
|
|
5377
|
+
"type": "string",
|
|
5378
|
+
"format": "uuid"
|
|
5379
|
+
}
|
|
5380
|
+
}
|
|
5381
|
+
],
|
|
5382
|
+
"responses": {
|
|
5383
|
+
"200": {
|
|
5384
|
+
"description": "List of templates",
|
|
5385
|
+
"content": {
|
|
5386
|
+
"application/json": {
|
|
5387
|
+
"schema": {
|
|
5388
|
+
"type": "array",
|
|
5389
|
+
"items": {
|
|
5390
|
+
"$ref": "#/components/schemas/PlatformTemplateResponse"
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
}
|
|
5397
|
+
}
|
|
5398
|
+
},
|
|
5399
|
+
"/v1/platform/users/upsert": {
|
|
5400
|
+
"post": {
|
|
5401
|
+
"tags": [
|
|
5402
|
+
"Platform"
|
|
5403
|
+
],
|
|
5404
|
+
"summary": "Provision or look up a platform user",
|
|
5405
|
+
"description": "Upserts a user using either an OIDC subject_token (verified against the platform app's JWKS) or an email address. Returns the user handle and connection ID.",
|
|
5406
|
+
"security": [
|
|
5407
|
+
{
|
|
5408
|
+
"BearerAuth": []
|
|
5409
|
+
}
|
|
5410
|
+
],
|
|
5411
|
+
"requestBody": {
|
|
5412
|
+
"required": true,
|
|
5413
|
+
"content": {
|
|
5414
|
+
"application/json": {
|
|
5415
|
+
"schema": {
|
|
5416
|
+
"$ref": "#/components/schemas/UpsertPlatformUserRequest"
|
|
5417
|
+
}
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
},
|
|
5421
|
+
"responses": {
|
|
5422
|
+
"200": {
|
|
5423
|
+
"description": "Existing user found",
|
|
5424
|
+
"content": {
|
|
5425
|
+
"application/json": {
|
|
5426
|
+
"schema": {
|
|
5427
|
+
"$ref": "#/components/schemas/PlatformUserResponse"
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
},
|
|
5432
|
+
"201": {
|
|
5433
|
+
"description": "New user created",
|
|
5434
|
+
"content": {
|
|
5435
|
+
"application/json": {
|
|
5436
|
+
"schema": {
|
|
5437
|
+
"$ref": "#/components/schemas/PlatformUserResponse"
|
|
5438
|
+
}
|
|
5439
|
+
}
|
|
5440
|
+
}
|
|
5441
|
+
}
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
5444
|
+
},
|
|
5445
|
+
"/v1/platform/apps/{appId}/users": {
|
|
5446
|
+
"get": {
|
|
5447
|
+
"tags": [
|
|
5448
|
+
"Platform"
|
|
5449
|
+
],
|
|
5450
|
+
"summary": "List connected users",
|
|
5451
|
+
"description": "List all users connected to this platform app.",
|
|
5452
|
+
"security": [
|
|
5453
|
+
{
|
|
5454
|
+
"BearerAuth": []
|
|
5455
|
+
}
|
|
5456
|
+
],
|
|
5457
|
+
"parameters": [
|
|
5458
|
+
{
|
|
5459
|
+
"in": "path",
|
|
5460
|
+
"name": "appId",
|
|
5461
|
+
"required": true,
|
|
5462
|
+
"schema": {
|
|
5463
|
+
"type": "string",
|
|
5464
|
+
"format": "uuid"
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
],
|
|
5468
|
+
"responses": {
|
|
5469
|
+
"200": {
|
|
5470
|
+
"description": "Connected users",
|
|
5471
|
+
"content": {
|
|
5472
|
+
"application/json": {
|
|
5473
|
+
"schema": {
|
|
5474
|
+
"type": "array",
|
|
5475
|
+
"items": {
|
|
5476
|
+
"$ref": "#/components/schemas/PlatformConnectedUserResponse"
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
}
|
|
5482
|
+
}
|
|
5483
|
+
}
|
|
5484
|
+
},
|
|
5485
|
+
"/v1/platform/connections/{connectionId}/bootstrap": {
|
|
5486
|
+
"post": {
|
|
5487
|
+
"tags": [
|
|
5488
|
+
"Platform"
|
|
5489
|
+
],
|
|
5490
|
+
"summary": "Bootstrap resources for a connected user",
|
|
5491
|
+
"description": "Executes a template to create vault, agent, and policies for the connected user. Returns a claim URL and token for the user to claim their resources.",
|
|
5492
|
+
"security": [
|
|
5493
|
+
{
|
|
5494
|
+
"BearerAuth": []
|
|
5495
|
+
}
|
|
5496
|
+
],
|
|
5497
|
+
"parameters": [
|
|
5498
|
+
{
|
|
5499
|
+
"in": "path",
|
|
5500
|
+
"name": "connectionId",
|
|
5501
|
+
"required": true,
|
|
5502
|
+
"schema": {
|
|
5503
|
+
"type": "string",
|
|
5504
|
+
"format": "uuid"
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
],
|
|
5508
|
+
"requestBody": {
|
|
5509
|
+
"required": true,
|
|
5510
|
+
"content": {
|
|
5511
|
+
"application/json": {
|
|
5512
|
+
"schema": {
|
|
5513
|
+
"$ref": "#/components/schemas/BootstrapRequest"
|
|
5514
|
+
}
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5517
|
+
},
|
|
5518
|
+
"responses": {
|
|
5519
|
+
"201": {
|
|
5520
|
+
"description": "Resources bootstrapped",
|
|
5521
|
+
"content": {
|
|
5522
|
+
"application/json": {
|
|
5523
|
+
"schema": {
|
|
5524
|
+
"$ref": "#/components/schemas/BootstrapResponse"
|
|
5525
|
+
}
|
|
5526
|
+
}
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
5531
|
+
},
|
|
5532
|
+
"/v1/platform/apps/{appId}/audit": {
|
|
5533
|
+
"get": {
|
|
5534
|
+
"tags": [
|
|
5535
|
+
"Platform"
|
|
5536
|
+
],
|
|
5537
|
+
"summary": "Platform audit log",
|
|
5538
|
+
"description": "Returns audit events related to this platform app.",
|
|
5539
|
+
"security": [
|
|
5540
|
+
{
|
|
5541
|
+
"BearerAuth": []
|
|
5542
|
+
}
|
|
5543
|
+
],
|
|
5544
|
+
"parameters": [
|
|
5545
|
+
{
|
|
5546
|
+
"in": "path",
|
|
5547
|
+
"name": "appId",
|
|
5548
|
+
"required": true,
|
|
5549
|
+
"schema": {
|
|
5550
|
+
"type": "string",
|
|
5551
|
+
"format": "uuid"
|
|
5552
|
+
}
|
|
5553
|
+
},
|
|
5554
|
+
{
|
|
5555
|
+
"in": "query",
|
|
5556
|
+
"name": "limit",
|
|
5557
|
+
"schema": {
|
|
5558
|
+
"type": "integer",
|
|
5559
|
+
"default": 50
|
|
5560
|
+
}
|
|
5561
|
+
},
|
|
5562
|
+
{
|
|
5563
|
+
"in": "query",
|
|
5564
|
+
"name": "offset",
|
|
5565
|
+
"schema": {
|
|
5566
|
+
"type": "integer",
|
|
5567
|
+
"default": 0
|
|
5568
|
+
}
|
|
5569
|
+
}
|
|
5570
|
+
],
|
|
5571
|
+
"responses": {
|
|
5572
|
+
"200": {
|
|
5573
|
+
"description": "Audit events",
|
|
5574
|
+
"content": {
|
|
5575
|
+
"application/json": {
|
|
5576
|
+
"schema": {
|
|
5577
|
+
"type": "object",
|
|
5578
|
+
"properties": {
|
|
5579
|
+
"events": {
|
|
5580
|
+
"type": "array",
|
|
5581
|
+
"items": {
|
|
5582
|
+
"type": "object"
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
}
|
|
5588
|
+
}
|
|
5589
|
+
}
|
|
5590
|
+
}
|
|
5591
|
+
}
|
|
5592
|
+
},
|
|
5593
|
+
"/v1/platform/connected-apps": {
|
|
5594
|
+
"get": {
|
|
5595
|
+
"tags": [
|
|
5596
|
+
"Platform"
|
|
5597
|
+
],
|
|
5598
|
+
"summary": "List connected apps (user side)",
|
|
5599
|
+
"description": "Returns platform apps connected to the calling user's account.",
|
|
5600
|
+
"security": [
|
|
5601
|
+
{
|
|
5602
|
+
"BearerAuth": []
|
|
5603
|
+
}
|
|
5604
|
+
],
|
|
5605
|
+
"responses": {
|
|
5606
|
+
"200": {
|
|
5607
|
+
"description": "Connected apps",
|
|
5608
|
+
"content": {
|
|
5609
|
+
"application/json": {
|
|
5610
|
+
"schema": {
|
|
5611
|
+
"type": "object",
|
|
5612
|
+
"properties": {
|
|
5613
|
+
"connected_apps": {
|
|
5614
|
+
"type": "array",
|
|
5615
|
+
"items": {
|
|
5616
|
+
"$ref": "#/components/schemas/ConnectedAppResponse"
|
|
5617
|
+
}
|
|
5618
|
+
}
|
|
5619
|
+
}
|
|
5620
|
+
}
|
|
5621
|
+
}
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
}
|
|
5625
|
+
}
|
|
5626
|
+
},
|
|
5627
|
+
"/v1/platform/connected-apps/{connectionId}": {
|
|
5628
|
+
"delete": {
|
|
5629
|
+
"tags": [
|
|
5630
|
+
"Platform"
|
|
5631
|
+
],
|
|
5632
|
+
"summary": "Disconnect a platform app",
|
|
5633
|
+
"description": "Disconnect the calling user from a platform app.",
|
|
5634
|
+
"security": [
|
|
5635
|
+
{
|
|
5636
|
+
"BearerAuth": []
|
|
5637
|
+
}
|
|
5638
|
+
],
|
|
5639
|
+
"parameters": [
|
|
5640
|
+
{
|
|
5641
|
+
"in": "path",
|
|
5642
|
+
"name": "connectionId",
|
|
5643
|
+
"required": true,
|
|
5644
|
+
"schema": {
|
|
5645
|
+
"type": "string",
|
|
5646
|
+
"format": "uuid"
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
],
|
|
5650
|
+
"responses": {
|
|
5651
|
+
"204": {
|
|
5652
|
+
"description": "Disconnected"
|
|
5653
|
+
},
|
|
5654
|
+
"404": {
|
|
5655
|
+
"description": "Connection not found"
|
|
5656
|
+
}
|
|
5657
|
+
}
|
|
5658
|
+
}
|
|
5659
|
+
}
|
|
5660
|
+
},
|
|
5661
|
+
"components": {
|
|
5662
|
+
"securitySchemes": {
|
|
5663
|
+
"BearerAuth": {
|
|
5664
|
+
"type": "http",
|
|
5665
|
+
"scheme": "bearer",
|
|
5666
|
+
"bearerFormat": "JWT"
|
|
5667
|
+
},
|
|
5668
|
+
"ApiKeyAuth": {
|
|
5669
|
+
"type": "http",
|
|
5670
|
+
"scheme": "bearer",
|
|
5671
|
+
"description": "1ck_ prefixed API key used as Bearer token"
|
|
5672
|
+
}
|
|
5673
|
+
},
|
|
5674
|
+
"parameters": {
|
|
5675
|
+
"VaultId": {
|
|
5676
|
+
"name": "vault_id",
|
|
5677
|
+
"in": "path",
|
|
5678
|
+
"required": true,
|
|
5679
|
+
"schema": {
|
|
5680
|
+
"type": "string",
|
|
5681
|
+
"format": "uuid"
|
|
5682
|
+
}
|
|
5683
|
+
},
|
|
5684
|
+
"SecretPath": {
|
|
5685
|
+
"name": "path",
|
|
5686
|
+
"in": "path",
|
|
5687
|
+
"required": true,
|
|
5688
|
+
"schema": {
|
|
5689
|
+
"type": "string"
|
|
5690
|
+
},
|
|
5691
|
+
"description": "Secret path (e.g. \"db/credentials\")"
|
|
5692
|
+
},
|
|
5693
|
+
"AgentId": {
|
|
5694
|
+
"name": "agent_id",
|
|
5695
|
+
"in": "path",
|
|
5696
|
+
"required": true,
|
|
5697
|
+
"schema": {
|
|
5698
|
+
"type": "string",
|
|
5699
|
+
"format": "uuid"
|
|
5700
|
+
}
|
|
5701
|
+
},
|
|
5702
|
+
"PolicyId": {
|
|
5703
|
+
"name": "policy_id",
|
|
5704
|
+
"in": "path",
|
|
5705
|
+
"required": true,
|
|
5706
|
+
"schema": {
|
|
5707
|
+
"type": "string",
|
|
5708
|
+
"format": "uuid"
|
|
5709
|
+
}
|
|
5710
|
+
},
|
|
5711
|
+
"IncludeSignedTx": {
|
|
5712
|
+
"name": "include_signed_tx",
|
|
5713
|
+
"in": "query",
|
|
5714
|
+
"required": false,
|
|
5715
|
+
"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",
|
|
5716
|
+
"schema": {
|
|
5717
|
+
"type": "boolean",
|
|
5718
|
+
"default": false,
|
|
5719
|
+
"example": false
|
|
5720
|
+
}
|
|
5721
|
+
}
|
|
5722
|
+
},
|
|
5723
|
+
"responses": {
|
|
5724
|
+
"BadRequest": {
|
|
5725
|
+
"description": "Invalid request",
|
|
5726
|
+
"content": {
|
|
5727
|
+
"application/json": {
|
|
5728
|
+
"schema": {
|
|
5729
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5730
|
+
}
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5734
|
+
"Unauthorized": {
|
|
5735
|
+
"description": "Authentication required or invalid",
|
|
5736
|
+
"content": {
|
|
5737
|
+
"application/json": {
|
|
5738
|
+
"schema": {
|
|
5739
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5742
|
+
}
|
|
5743
|
+
},
|
|
5744
|
+
"Forbidden": {
|
|
5745
|
+
"description": "Insufficient permissions",
|
|
5746
|
+
"content": {
|
|
5747
|
+
"application/json": {
|
|
5748
|
+
"schema": {
|
|
5749
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5750
|
+
}
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
},
|
|
5754
|
+
"NotFound": {
|
|
5755
|
+
"description": "Resource not found",
|
|
5756
|
+
"content": {
|
|
5757
|
+
"application/json": {
|
|
5758
|
+
"schema": {
|
|
5759
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5760
|
+
}
|
|
5761
|
+
}
|
|
5762
|
+
}
|
|
5763
|
+
},
|
|
5764
|
+
"PaymentRequired": {
|
|
5765
|
+
"description": "x402 payment required",
|
|
5766
|
+
"content": {
|
|
5767
|
+
"application/json": {
|
|
5768
|
+
"schema": {
|
|
5769
|
+
"$ref": "#/components/schemas/PaymentRequirement"
|
|
5770
|
+
}
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5773
|
+
},
|
|
5774
|
+
"Conflict": {
|
|
5775
|
+
"description": "Resource already exists or conflict",
|
|
5776
|
+
"content": {
|
|
5777
|
+
"application/json": {
|
|
5778
|
+
"schema": {
|
|
5779
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
}
|
|
5783
|
+
}
|
|
5784
|
+
},
|
|
5785
|
+
"schemas": {
|
|
5786
|
+
"ProblemDetails": {
|
|
5787
|
+
"type": "object",
|
|
5788
|
+
"description": "RFC 7807 error envelope",
|
|
5789
|
+
"properties": {
|
|
5790
|
+
"type": {
|
|
5791
|
+
"type": "string"
|
|
5792
|
+
},
|
|
5793
|
+
"title": {
|
|
5794
|
+
"type": "string"
|
|
5795
|
+
},
|
|
5796
|
+
"status": {
|
|
5797
|
+
"type": "integer"
|
|
5798
|
+
},
|
|
5799
|
+
"detail": {
|
|
5800
|
+
"type": "string"
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
},
|
|
5804
|
+
"ResetUsageEventsResponse": {
|
|
5805
|
+
"type": "object",
|
|
5806
|
+
"required": [
|
|
5807
|
+
"deleted_events"
|
|
5808
|
+
],
|
|
5809
|
+
"properties": {
|
|
5810
|
+
"deleted_events": {
|
|
5811
|
+
"type": "integer",
|
|
5812
|
+
"format": "int64",
|
|
5813
|
+
"description": "Number of usage_events rows removed"
|
|
5814
|
+
}
|
|
5815
|
+
}
|
|
5816
|
+
},
|
|
5817
|
+
"ResetUsageForUserEmailRequest": {
|
|
5818
|
+
"type": "object",
|
|
5288
5819
|
"required": [
|
|
5289
5820
|
"email"
|
|
5290
5821
|
],
|
|
@@ -8654,74 +9185,302 @@
|
|
|
8654
9185
|
}
|
|
8655
9186
|
}
|
|
8656
9187
|
},
|
|
8657
|
-
"LlmTokenBillingStatus": {
|
|
9188
|
+
"LlmTokenBillingStatus": {
|
|
9189
|
+
"type": "object",
|
|
9190
|
+
"required": [
|
|
9191
|
+
"enabled"
|
|
9192
|
+
],
|
|
9193
|
+
"properties": {
|
|
9194
|
+
"enabled": {
|
|
9195
|
+
"type": "boolean"
|
|
9196
|
+
},
|
|
9197
|
+
"subscription_status": {
|
|
9198
|
+
"type": "string",
|
|
9199
|
+
"enum": [
|
|
9200
|
+
"active",
|
|
9201
|
+
"inactive"
|
|
9202
|
+
]
|
|
9203
|
+
},
|
|
9204
|
+
"credit_balance": {
|
|
9205
|
+
"$ref": "#/components/schemas/LlmCreditBalance"
|
|
9206
|
+
},
|
|
9207
|
+
"billing_cycle_usage": {
|
|
9208
|
+
"$ref": "#/components/schemas/LlmBillingCycleUsage"
|
|
9209
|
+
}
|
|
9210
|
+
}
|
|
9211
|
+
},
|
|
9212
|
+
"LlmCheckoutResponse": {
|
|
9213
|
+
"type": "object",
|
|
9214
|
+
"properties": {
|
|
9215
|
+
"checkout_url": {
|
|
9216
|
+
"type": "string",
|
|
9217
|
+
"format": "uri"
|
|
9218
|
+
}
|
|
9219
|
+
}
|
|
9220
|
+
},
|
|
9221
|
+
"LlmDisableResponse": {
|
|
9222
|
+
"type": "object",
|
|
9223
|
+
"properties": {
|
|
9224
|
+
"enabled": {
|
|
9225
|
+
"type": "boolean"
|
|
9226
|
+
}
|
|
9227
|
+
}
|
|
9228
|
+
},
|
|
9229
|
+
"CreditBalanceResponse": {
|
|
9230
|
+
"type": "object",
|
|
9231
|
+
"properties": {
|
|
9232
|
+
"balance_cents": {
|
|
9233
|
+
"type": "integer"
|
|
9234
|
+
},
|
|
9235
|
+
"balance_usd": {
|
|
9236
|
+
"type": "string"
|
|
9237
|
+
},
|
|
9238
|
+
"expiring_within_90_days": {
|
|
9239
|
+
"type": "object",
|
|
9240
|
+
"properties": {
|
|
9241
|
+
"amount_cents": {
|
|
9242
|
+
"type": "integer"
|
|
9243
|
+
},
|
|
9244
|
+
"earliest_expiry": {
|
|
9245
|
+
"type": "string",
|
|
9246
|
+
"format": "date-time"
|
|
9247
|
+
}
|
|
9248
|
+
}
|
|
9249
|
+
}
|
|
9250
|
+
}
|
|
9251
|
+
},
|
|
9252
|
+
"CreditTransactionsListResponse": {
|
|
9253
|
+
"type": "object",
|
|
9254
|
+
"properties": {
|
|
9255
|
+
"transactions": {
|
|
9256
|
+
"type": "array",
|
|
9257
|
+
"items": {
|
|
9258
|
+
"type": "object",
|
|
9259
|
+
"properties": {
|
|
9260
|
+
"id": {
|
|
9261
|
+
"type": "string",
|
|
9262
|
+
"format": "uuid"
|
|
9263
|
+
},
|
|
9264
|
+
"type": {
|
|
9265
|
+
"type": "string"
|
|
9266
|
+
},
|
|
9267
|
+
"amount_cents": {
|
|
9268
|
+
"type": "integer"
|
|
9269
|
+
},
|
|
9270
|
+
"balance_after_cents": {
|
|
9271
|
+
"type": "integer"
|
|
9272
|
+
},
|
|
9273
|
+
"description": {
|
|
9274
|
+
"type": "string"
|
|
9275
|
+
},
|
|
9276
|
+
"created_at": {
|
|
9277
|
+
"type": "string",
|
|
9278
|
+
"format": "date-time"
|
|
9279
|
+
}
|
|
9280
|
+
}
|
|
9281
|
+
}
|
|
9282
|
+
},
|
|
9283
|
+
"page": {
|
|
9284
|
+
"type": "integer"
|
|
9285
|
+
},
|
|
9286
|
+
"limit": {
|
|
9287
|
+
"type": "integer"
|
|
9288
|
+
}
|
|
9289
|
+
}
|
|
9290
|
+
},
|
|
9291
|
+
"OverageMethodResponse": {
|
|
9292
|
+
"type": "object",
|
|
9293
|
+
"properties": {
|
|
9294
|
+
"overage_method": {
|
|
9295
|
+
"type": "string"
|
|
9296
|
+
}
|
|
9297
|
+
}
|
|
9298
|
+
},
|
|
9299
|
+
"AuditEventsResponse": {
|
|
9300
|
+
"type": "object",
|
|
9301
|
+
"properties": {
|
|
9302
|
+
"events": {
|
|
9303
|
+
"type": "array",
|
|
9304
|
+
"items": {
|
|
9305
|
+
"$ref": "#/components/schemas/AuditEvent"
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9308
|
+
"count": {
|
|
9309
|
+
"type": "integer"
|
|
9310
|
+
}
|
|
9311
|
+
}
|
|
9312
|
+
},
|
|
9313
|
+
"AuditEvent": {
|
|
9314
|
+
"type": "object",
|
|
9315
|
+
"properties": {
|
|
9316
|
+
"id": {
|
|
9317
|
+
"type": "string",
|
|
9318
|
+
"format": "uuid"
|
|
9319
|
+
},
|
|
9320
|
+
"action": {
|
|
9321
|
+
"type": "string"
|
|
9322
|
+
},
|
|
9323
|
+
"actor_id": {
|
|
9324
|
+
"type": "string"
|
|
9325
|
+
},
|
|
9326
|
+
"actor_type": {
|
|
9327
|
+
"type": "string"
|
|
9328
|
+
},
|
|
9329
|
+
"resource_type": {
|
|
9330
|
+
"type": "string"
|
|
9331
|
+
},
|
|
9332
|
+
"resource_id": {
|
|
9333
|
+
"type": "string"
|
|
9334
|
+
},
|
|
9335
|
+
"org_id": {
|
|
9336
|
+
"type": "string",
|
|
9337
|
+
"format": "uuid"
|
|
9338
|
+
},
|
|
9339
|
+
"details": {
|
|
9340
|
+
"type": "object",
|
|
9341
|
+
"additionalProperties": true
|
|
9342
|
+
},
|
|
9343
|
+
"ip_address": {
|
|
9344
|
+
"type": "string"
|
|
9345
|
+
},
|
|
9346
|
+
"created_at": {
|
|
9347
|
+
"type": "string",
|
|
9348
|
+
"format": "date-time"
|
|
9349
|
+
}
|
|
9350
|
+
}
|
|
9351
|
+
},
|
|
9352
|
+
"CreateIpRuleRequest": {
|
|
9353
|
+
"type": "object",
|
|
9354
|
+
"required": [
|
|
9355
|
+
"rule_type",
|
|
9356
|
+
"cidr"
|
|
9357
|
+
],
|
|
9358
|
+
"properties": {
|
|
9359
|
+
"rule_type": {
|
|
9360
|
+
"type": "string",
|
|
9361
|
+
"enum": [
|
|
9362
|
+
"allow",
|
|
9363
|
+
"deny"
|
|
9364
|
+
]
|
|
9365
|
+
},
|
|
9366
|
+
"cidr": {
|
|
9367
|
+
"type": "string"
|
|
9368
|
+
},
|
|
9369
|
+
"label": {
|
|
9370
|
+
"type": "string"
|
|
9371
|
+
},
|
|
9372
|
+
"applies_to": {
|
|
9373
|
+
"type": "string"
|
|
9374
|
+
}
|
|
9375
|
+
}
|
|
9376
|
+
},
|
|
9377
|
+
"IpRuleResponse": {
|
|
9378
|
+
"type": "object",
|
|
9379
|
+
"properties": {
|
|
9380
|
+
"id": {
|
|
9381
|
+
"type": "string",
|
|
9382
|
+
"format": "uuid"
|
|
9383
|
+
},
|
|
9384
|
+
"org_id": {
|
|
9385
|
+
"type": "string",
|
|
9386
|
+
"format": "uuid"
|
|
9387
|
+
},
|
|
9388
|
+
"rule_type": {
|
|
9389
|
+
"type": "string"
|
|
9390
|
+
},
|
|
9391
|
+
"cidr": {
|
|
9392
|
+
"type": "string"
|
|
9393
|
+
},
|
|
9394
|
+
"label": {
|
|
9395
|
+
"type": "string"
|
|
9396
|
+
},
|
|
9397
|
+
"applies_to": {
|
|
9398
|
+
"type": "string"
|
|
9399
|
+
},
|
|
9400
|
+
"created_by": {
|
|
9401
|
+
"type": "string"
|
|
9402
|
+
},
|
|
9403
|
+
"created_at": {
|
|
9404
|
+
"type": "string",
|
|
9405
|
+
"format": "date-time"
|
|
9406
|
+
}
|
|
9407
|
+
}
|
|
9408
|
+
},
|
|
9409
|
+
"IpRulesListResponse": {
|
|
9410
|
+
"type": "object",
|
|
9411
|
+
"properties": {
|
|
9412
|
+
"rules": {
|
|
9413
|
+
"type": "array",
|
|
9414
|
+
"items": {
|
|
9415
|
+
"$ref": "#/components/schemas/IpRuleResponse"
|
|
9416
|
+
}
|
|
9417
|
+
}
|
|
9418
|
+
}
|
|
9419
|
+
},
|
|
9420
|
+
"SettingResponse": {
|
|
8658
9421
|
"type": "object",
|
|
8659
|
-
"required": [
|
|
8660
|
-
"enabled"
|
|
8661
|
-
],
|
|
8662
9422
|
"properties": {
|
|
8663
|
-
"
|
|
8664
|
-
"type": "
|
|
9423
|
+
"key": {
|
|
9424
|
+
"type": "string"
|
|
8665
9425
|
},
|
|
8666
|
-
"
|
|
8667
|
-
"type": "string"
|
|
8668
|
-
"enum": [
|
|
8669
|
-
"active",
|
|
8670
|
-
"inactive"
|
|
8671
|
-
]
|
|
9426
|
+
"value": {
|
|
9427
|
+
"type": "string"
|
|
8672
9428
|
},
|
|
8673
|
-
"
|
|
8674
|
-
"
|
|
9429
|
+
"updated_by": {
|
|
9430
|
+
"type": "string"
|
|
8675
9431
|
},
|
|
8676
|
-
"
|
|
8677
|
-
"
|
|
9432
|
+
"updated_at": {
|
|
9433
|
+
"type": "string",
|
|
9434
|
+
"format": "date-time"
|
|
8678
9435
|
}
|
|
8679
9436
|
}
|
|
8680
9437
|
},
|
|
8681
|
-
"
|
|
9438
|
+
"SettingsListResponse": {
|
|
8682
9439
|
"type": "object",
|
|
8683
9440
|
"properties": {
|
|
8684
|
-
"
|
|
8685
|
-
"type": "
|
|
8686
|
-
"
|
|
9441
|
+
"settings": {
|
|
9442
|
+
"type": "array",
|
|
9443
|
+
"items": {
|
|
9444
|
+
"$ref": "#/components/schemas/SettingResponse"
|
|
9445
|
+
}
|
|
8687
9446
|
}
|
|
8688
9447
|
}
|
|
8689
9448
|
},
|
|
8690
|
-
"
|
|
9449
|
+
"UpdateSettingRequest": {
|
|
8691
9450
|
"type": "object",
|
|
9451
|
+
"required": [
|
|
9452
|
+
"value"
|
|
9453
|
+
],
|
|
8692
9454
|
"properties": {
|
|
8693
|
-
"
|
|
8694
|
-
"type": "
|
|
9455
|
+
"value": {
|
|
9456
|
+
"type": "string"
|
|
8695
9457
|
}
|
|
8696
9458
|
}
|
|
8697
9459
|
},
|
|
8698
|
-
"
|
|
9460
|
+
"X402ConfigResponse": {
|
|
8699
9461
|
"type": "object",
|
|
8700
9462
|
"properties": {
|
|
8701
|
-
"
|
|
8702
|
-
"type": "
|
|
9463
|
+
"pay_to": {
|
|
9464
|
+
"type": "string"
|
|
8703
9465
|
},
|
|
8704
|
-
"
|
|
9466
|
+
"network": {
|
|
8705
9467
|
"type": "string"
|
|
8706
9468
|
},
|
|
8707
|
-
"
|
|
8708
|
-
"type": "
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
"format": "date-time"
|
|
8716
|
-
}
|
|
8717
|
-
}
|
|
9469
|
+
"scheme": {
|
|
9470
|
+
"type": "string"
|
|
9471
|
+
},
|
|
9472
|
+
"free_tier_limit": {
|
|
9473
|
+
"type": "integer"
|
|
9474
|
+
},
|
|
9475
|
+
"facilitator_url": {
|
|
9476
|
+
"type": "string"
|
|
8718
9477
|
}
|
|
8719
9478
|
}
|
|
8720
9479
|
},
|
|
8721
|
-
"
|
|
9480
|
+
"AdminUsersListResponse": {
|
|
8722
9481
|
"type": "object",
|
|
8723
9482
|
"properties": {
|
|
8724
|
-
"
|
|
9483
|
+
"users": {
|
|
8725
9484
|
"type": "array",
|
|
8726
9485
|
"items": {
|
|
8727
9486
|
"type": "object",
|
|
@@ -8730,911 +9489,1109 @@
|
|
|
8730
9489
|
"type": "string",
|
|
8731
9490
|
"format": "uuid"
|
|
8732
9491
|
},
|
|
8733
|
-
"
|
|
9492
|
+
"email": {
|
|
8734
9493
|
"type": "string"
|
|
8735
9494
|
},
|
|
8736
|
-
"
|
|
8737
|
-
"type": "
|
|
9495
|
+
"display_name": {
|
|
9496
|
+
"type": "string"
|
|
8738
9497
|
},
|
|
8739
|
-
"
|
|
8740
|
-
"type": "
|
|
9498
|
+
"role": {
|
|
9499
|
+
"type": "string"
|
|
8741
9500
|
},
|
|
8742
|
-
"
|
|
9501
|
+
"auth_method": {
|
|
9502
|
+
"type": "string"
|
|
9503
|
+
},
|
|
9504
|
+
"org_id": {
|
|
9505
|
+
"type": "string",
|
|
9506
|
+
"format": "uuid"
|
|
9507
|
+
},
|
|
9508
|
+
"org_name": {
|
|
9509
|
+
"type": "string"
|
|
9510
|
+
},
|
|
9511
|
+
"billing_tier": {
|
|
8743
9512
|
"type": "string"
|
|
8744
9513
|
},
|
|
8745
9514
|
"created_at": {
|
|
8746
9515
|
"type": "string",
|
|
8747
9516
|
"format": "date-time"
|
|
9517
|
+
},
|
|
9518
|
+
"free_tier_override": {
|
|
9519
|
+
"type": "integer"
|
|
9520
|
+
},
|
|
9521
|
+
"is_sponsored": {
|
|
9522
|
+
"type": "boolean"
|
|
9523
|
+
},
|
|
9524
|
+
"current_month_requests": {
|
|
9525
|
+
"type": "integer"
|
|
8748
9526
|
}
|
|
8749
9527
|
}
|
|
8750
9528
|
}
|
|
8751
9529
|
},
|
|
8752
|
-
"
|
|
9530
|
+
"total": {
|
|
9531
|
+
"type": "integer"
|
|
9532
|
+
}
|
|
9533
|
+
}
|
|
9534
|
+
},
|
|
9535
|
+
"UpdateOrgLimitsRequest": {
|
|
9536
|
+
"type": "object",
|
|
9537
|
+
"properties": {
|
|
9538
|
+
"free_tier_override": {
|
|
8753
9539
|
"type": "integer"
|
|
8754
9540
|
},
|
|
8755
|
-
"
|
|
9541
|
+
"is_sponsored": {
|
|
9542
|
+
"type": "boolean"
|
|
9543
|
+
}
|
|
9544
|
+
}
|
|
9545
|
+
},
|
|
9546
|
+
"OrgLimitsResponse": {
|
|
9547
|
+
"type": "object",
|
|
9548
|
+
"properties": {
|
|
9549
|
+
"org_id": {
|
|
9550
|
+
"type": "string",
|
|
9551
|
+
"format": "uuid"
|
|
9552
|
+
},
|
|
9553
|
+
"free_tier_override": {
|
|
8756
9554
|
"type": "integer"
|
|
9555
|
+
},
|
|
9556
|
+
"is_sponsored": {
|
|
9557
|
+
"type": "boolean"
|
|
8757
9558
|
}
|
|
8758
9559
|
}
|
|
8759
9560
|
},
|
|
8760
|
-
"
|
|
9561
|
+
"SetBillingTierRequest": {
|
|
8761
9562
|
"type": "object",
|
|
9563
|
+
"required": [
|
|
9564
|
+
"tier"
|
|
9565
|
+
],
|
|
8762
9566
|
"properties": {
|
|
8763
|
-
"
|
|
8764
|
-
"type": "string"
|
|
9567
|
+
"tier": {
|
|
9568
|
+
"type": "string",
|
|
9569
|
+
"enum": [
|
|
9570
|
+
"free",
|
|
9571
|
+
"pro",
|
|
9572
|
+
"business",
|
|
9573
|
+
"enterprise"
|
|
9574
|
+
]
|
|
9575
|
+
},
|
|
9576
|
+
"duration_days": {
|
|
9577
|
+
"type": "integer",
|
|
9578
|
+
"description": "How many days the tier lasts (default 365). Use 90 for a 3-month trial.",
|
|
9579
|
+
"minimum": 1,
|
|
9580
|
+
"maximum": 3650
|
|
8765
9581
|
}
|
|
8766
9582
|
}
|
|
8767
9583
|
},
|
|
8768
|
-
"
|
|
9584
|
+
"CreateTreasuryRequest": {
|
|
8769
9585
|
"type": "object",
|
|
9586
|
+
"required": [
|
|
9587
|
+
"name",
|
|
9588
|
+
"safe_address"
|
|
9589
|
+
],
|
|
8770
9590
|
"properties": {
|
|
8771
|
-
"
|
|
9591
|
+
"name": {
|
|
9592
|
+
"type": "string",
|
|
9593
|
+
"description": "Display name (1–128 characters)"
|
|
9594
|
+
},
|
|
9595
|
+
"safe_address": {
|
|
9596
|
+
"type": "string",
|
|
9597
|
+
"description": "Deployed Safe contract address (0x-prefixed, 42 characters)"
|
|
9598
|
+
},
|
|
9599
|
+
"chain": {
|
|
9600
|
+
"type": "string",
|
|
9601
|
+
"description": "Chain name (default base)"
|
|
9602
|
+
},
|
|
9603
|
+
"chain_id": {
|
|
9604
|
+
"type": "integer",
|
|
9605
|
+
"description": "EVM chain ID (default 8453 for Base)"
|
|
9606
|
+
},
|
|
9607
|
+
"threshold": {
|
|
9608
|
+
"type": "integer",
|
|
9609
|
+
"minimum": 1,
|
|
9610
|
+
"description": "Safe threshold (default 1)"
|
|
9611
|
+
},
|
|
9612
|
+
"signers": {
|
|
8772
9613
|
"type": "array",
|
|
8773
9614
|
"items": {
|
|
8774
|
-
"$ref": "#/components/schemas/
|
|
9615
|
+
"$ref": "#/components/schemas/CreateTreasurySignerEntry"
|
|
8775
9616
|
}
|
|
9617
|
+
}
|
|
9618
|
+
}
|
|
9619
|
+
},
|
|
9620
|
+
"CreateTreasurySignerEntry": {
|
|
9621
|
+
"type": "object",
|
|
9622
|
+
"required": [
|
|
9623
|
+
"signer_type",
|
|
9624
|
+
"signer_id",
|
|
9625
|
+
"signer_address"
|
|
9626
|
+
],
|
|
9627
|
+
"properties": {
|
|
9628
|
+
"signer_type": {
|
|
9629
|
+
"type": "string",
|
|
9630
|
+
"enum": [
|
|
9631
|
+
"user",
|
|
9632
|
+
"agent"
|
|
9633
|
+
]
|
|
8776
9634
|
},
|
|
8777
|
-
"
|
|
8778
|
-
"type": "
|
|
9635
|
+
"signer_id": {
|
|
9636
|
+
"type": "string",
|
|
9637
|
+
"format": "uuid"
|
|
9638
|
+
},
|
|
9639
|
+
"signer_address": {
|
|
9640
|
+
"type": "string",
|
|
9641
|
+
"description": "EVM address (0x-prefixed)"
|
|
8779
9642
|
}
|
|
8780
9643
|
}
|
|
8781
9644
|
},
|
|
8782
|
-
"
|
|
9645
|
+
"UpdateTreasuryRequest": {
|
|
9646
|
+
"type": "object",
|
|
9647
|
+
"properties": {
|
|
9648
|
+
"name": {
|
|
9649
|
+
"type": "string"
|
|
9650
|
+
},
|
|
9651
|
+
"threshold": {
|
|
9652
|
+
"type": "integer",
|
|
9653
|
+
"minimum": 1
|
|
9654
|
+
}
|
|
9655
|
+
}
|
|
9656
|
+
},
|
|
9657
|
+
"TreasuryResponse": {
|
|
8783
9658
|
"type": "object",
|
|
8784
9659
|
"properties": {
|
|
8785
9660
|
"id": {
|
|
8786
9661
|
"type": "string",
|
|
8787
9662
|
"format": "uuid"
|
|
8788
9663
|
},
|
|
8789
|
-
"
|
|
9664
|
+
"name": {
|
|
8790
9665
|
"type": "string"
|
|
8791
9666
|
},
|
|
8792
|
-
"
|
|
9667
|
+
"safe_address": {
|
|
8793
9668
|
"type": "string"
|
|
8794
9669
|
},
|
|
8795
|
-
"
|
|
9670
|
+
"chain": {
|
|
8796
9671
|
"type": "string"
|
|
8797
9672
|
},
|
|
8798
|
-
"
|
|
8799
|
-
"type": "
|
|
9673
|
+
"chain_id": {
|
|
9674
|
+
"type": "integer"
|
|
9675
|
+
},
|
|
9676
|
+
"threshold": {
|
|
9677
|
+
"type": "integer"
|
|
9678
|
+
},
|
|
9679
|
+
"created_by": {
|
|
9680
|
+
"type": "string",
|
|
9681
|
+
"format": "uuid"
|
|
9682
|
+
},
|
|
9683
|
+
"signers": {
|
|
9684
|
+
"type": "array",
|
|
9685
|
+
"items": {
|
|
9686
|
+
"$ref": "#/components/schemas/TreasurySignerResponse"
|
|
9687
|
+
}
|
|
9688
|
+
},
|
|
9689
|
+
"created_at": {
|
|
9690
|
+
"type": "string",
|
|
9691
|
+
"format": "date-time"
|
|
9692
|
+
}
|
|
9693
|
+
}
|
|
9694
|
+
},
|
|
9695
|
+
"TreasurySignerResponse": {
|
|
9696
|
+
"type": "object",
|
|
9697
|
+
"properties": {
|
|
9698
|
+
"id": {
|
|
9699
|
+
"type": "string",
|
|
9700
|
+
"format": "uuid"
|
|
8800
9701
|
},
|
|
8801
|
-
"
|
|
8802
|
-
"type": "string"
|
|
9702
|
+
"signer_type": {
|
|
9703
|
+
"type": "string",
|
|
9704
|
+
"enum": [
|
|
9705
|
+
"user",
|
|
9706
|
+
"agent"
|
|
9707
|
+
]
|
|
8803
9708
|
},
|
|
8804
|
-
"
|
|
9709
|
+
"signer_id": {
|
|
8805
9710
|
"type": "string",
|
|
8806
9711
|
"format": "uuid"
|
|
8807
9712
|
},
|
|
8808
|
-
"
|
|
8809
|
-
"type": "object",
|
|
8810
|
-
"additionalProperties": true
|
|
8811
|
-
},
|
|
8812
|
-
"ip_address": {
|
|
9713
|
+
"signer_address": {
|
|
8813
9714
|
"type": "string"
|
|
8814
9715
|
},
|
|
8815
|
-
"
|
|
9716
|
+
"added_at": {
|
|
8816
9717
|
"type": "string",
|
|
8817
9718
|
"format": "date-time"
|
|
8818
9719
|
}
|
|
8819
9720
|
}
|
|
8820
9721
|
},
|
|
8821
|
-
"
|
|
9722
|
+
"AddSignerRequest": {
|
|
8822
9723
|
"type": "object",
|
|
8823
9724
|
"required": [
|
|
8824
|
-
"
|
|
8825
|
-
"
|
|
9725
|
+
"signer_type",
|
|
9726
|
+
"signer_id",
|
|
9727
|
+
"signer_address"
|
|
8826
9728
|
],
|
|
8827
9729
|
"properties": {
|
|
8828
|
-
"
|
|
9730
|
+
"signer_type": {
|
|
8829
9731
|
"type": "string",
|
|
8830
9732
|
"enum": [
|
|
8831
|
-
"
|
|
8832
|
-
"
|
|
9733
|
+
"user",
|
|
9734
|
+
"agent"
|
|
8833
9735
|
]
|
|
8834
9736
|
},
|
|
8835
|
-
"
|
|
8836
|
-
"type": "string"
|
|
8837
|
-
|
|
8838
|
-
"label": {
|
|
8839
|
-
"type": "string"
|
|
9737
|
+
"signer_id": {
|
|
9738
|
+
"type": "string",
|
|
9739
|
+
"format": "uuid"
|
|
8840
9740
|
},
|
|
8841
|
-
"
|
|
9741
|
+
"signer_address": {
|
|
8842
9742
|
"type": "string"
|
|
8843
9743
|
}
|
|
8844
9744
|
}
|
|
8845
9745
|
},
|
|
8846
|
-
"
|
|
9746
|
+
"AccessRequestResponse": {
|
|
8847
9747
|
"type": "object",
|
|
8848
9748
|
"properties": {
|
|
8849
9749
|
"id": {
|
|
8850
9750
|
"type": "string",
|
|
8851
9751
|
"format": "uuid"
|
|
8852
9752
|
},
|
|
8853
|
-
"
|
|
9753
|
+
"treasury_id": {
|
|
8854
9754
|
"type": "string",
|
|
8855
9755
|
"format": "uuid"
|
|
8856
9756
|
},
|
|
8857
|
-
"
|
|
8858
|
-
"type": "string"
|
|
9757
|
+
"agent_id": {
|
|
9758
|
+
"type": "string",
|
|
9759
|
+
"format": "uuid"
|
|
8859
9760
|
},
|
|
8860
|
-
"
|
|
8861
|
-
"type": "string"
|
|
9761
|
+
"status": {
|
|
9762
|
+
"type": "string",
|
|
9763
|
+
"enum": [
|
|
9764
|
+
"pending",
|
|
9765
|
+
"approved",
|
|
9766
|
+
"denied"
|
|
9767
|
+
]
|
|
8862
9768
|
},
|
|
8863
|
-
"
|
|
9769
|
+
"reason": {
|
|
8864
9770
|
"type": "string"
|
|
8865
9771
|
},
|
|
8866
|
-
"
|
|
8867
|
-
"type": "string"
|
|
9772
|
+
"requested_at": {
|
|
9773
|
+
"type": "string",
|
|
9774
|
+
"format": "date-time"
|
|
8868
9775
|
},
|
|
8869
|
-
"
|
|
8870
|
-
"type": "string"
|
|
9776
|
+
"resolved_by": {
|
|
9777
|
+
"type": "string",
|
|
9778
|
+
"format": "uuid"
|
|
8871
9779
|
},
|
|
8872
|
-
"
|
|
9780
|
+
"resolved_at": {
|
|
8873
9781
|
"type": "string",
|
|
8874
9782
|
"format": "date-time"
|
|
8875
9783
|
}
|
|
8876
9784
|
}
|
|
8877
9785
|
},
|
|
8878
|
-
"
|
|
9786
|
+
"GenerateTreasuryWalletsRequest": {
|
|
8879
9787
|
"type": "object",
|
|
8880
9788
|
"properties": {
|
|
8881
|
-
"
|
|
9789
|
+
"chains": {
|
|
8882
9790
|
"type": "array",
|
|
8883
9791
|
"items": {
|
|
8884
|
-
"
|
|
8885
|
-
}
|
|
9792
|
+
"type": "string"
|
|
9793
|
+
},
|
|
9794
|
+
"description": "Chains to generate wallets for (e.g. [\"ethereum\", \"solana\"]). Omit for all supported chains."
|
|
8886
9795
|
}
|
|
8887
9796
|
}
|
|
8888
9797
|
},
|
|
8889
|
-
"
|
|
9798
|
+
"TreasuryWalletResponse": {
|
|
8890
9799
|
"type": "object",
|
|
8891
9800
|
"properties": {
|
|
8892
|
-
"
|
|
9801
|
+
"id": {
|
|
9802
|
+
"type": "string",
|
|
9803
|
+
"format": "uuid"
|
|
9804
|
+
},
|
|
9805
|
+
"chain": {
|
|
8893
9806
|
"type": "string"
|
|
8894
9807
|
},
|
|
8895
|
-
"
|
|
9808
|
+
"curve": {
|
|
9809
|
+
"type": "string",
|
|
9810
|
+
"description": "Cryptographic curve (e.g. secp256k1, ed25519)"
|
|
9811
|
+
},
|
|
9812
|
+
"public_key_hex": {
|
|
8896
9813
|
"type": "string"
|
|
8897
9814
|
},
|
|
8898
|
-
"
|
|
9815
|
+
"address": {
|
|
8899
9816
|
"type": "string"
|
|
8900
9817
|
},
|
|
8901
|
-
"
|
|
9818
|
+
"is_active": {
|
|
9819
|
+
"type": "boolean"
|
|
9820
|
+
},
|
|
9821
|
+
"created_at": {
|
|
8902
9822
|
"type": "string",
|
|
8903
9823
|
"format": "date-time"
|
|
8904
9824
|
}
|
|
8905
9825
|
}
|
|
8906
9826
|
},
|
|
8907
|
-
"
|
|
9827
|
+
"TreasuryWalletListResponse": {
|
|
8908
9828
|
"type": "object",
|
|
8909
9829
|
"properties": {
|
|
8910
|
-
"
|
|
9830
|
+
"wallets": {
|
|
8911
9831
|
"type": "array",
|
|
8912
9832
|
"items": {
|
|
8913
|
-
"$ref": "#/components/schemas/
|
|
9833
|
+
"$ref": "#/components/schemas/TreasuryWalletResponse"
|
|
8914
9834
|
}
|
|
8915
9835
|
}
|
|
8916
9836
|
}
|
|
8917
9837
|
},
|
|
8918
|
-
"
|
|
8919
|
-
"type": "object",
|
|
8920
|
-
"required": [
|
|
8921
|
-
"value"
|
|
8922
|
-
],
|
|
8923
|
-
"properties": {
|
|
8924
|
-
"value": {
|
|
8925
|
-
"type": "string"
|
|
8926
|
-
}
|
|
8927
|
-
}
|
|
8928
|
-
},
|
|
8929
|
-
"X402ConfigResponse": {
|
|
9838
|
+
"TreasuryWalletExportResponse": {
|
|
8930
9839
|
"type": "object",
|
|
8931
9840
|
"properties": {
|
|
8932
|
-
"
|
|
8933
|
-
"type": "string"
|
|
8934
|
-
},
|
|
8935
|
-
"network": {
|
|
9841
|
+
"chain": {
|
|
8936
9842
|
"type": "string"
|
|
8937
9843
|
},
|
|
8938
|
-
"
|
|
9844
|
+
"address": {
|
|
8939
9845
|
"type": "string"
|
|
8940
9846
|
},
|
|
8941
|
-
"
|
|
8942
|
-
"type": "
|
|
8943
|
-
|
|
8944
|
-
"facilitator_url": {
|
|
8945
|
-
"type": "string"
|
|
9847
|
+
"private_key_hex": {
|
|
9848
|
+
"type": "string",
|
|
9849
|
+
"description": "Raw private key in hex encoding. Handle with extreme care."
|
|
8946
9850
|
}
|
|
8947
9851
|
}
|
|
8948
9852
|
},
|
|
8949
|
-
"
|
|
9853
|
+
"PaymentRequirement": {
|
|
8950
9854
|
"type": "object",
|
|
8951
9855
|
"properties": {
|
|
8952
|
-
"
|
|
9856
|
+
"x402Version": {
|
|
9857
|
+
"type": "integer"
|
|
9858
|
+
},
|
|
9859
|
+
"accepts": {
|
|
8953
9860
|
"type": "array",
|
|
8954
9861
|
"items": {
|
|
8955
9862
|
"type": "object",
|
|
8956
9863
|
"properties": {
|
|
8957
|
-
"
|
|
8958
|
-
"type": "string",
|
|
8959
|
-
"format": "uuid"
|
|
8960
|
-
},
|
|
8961
|
-
"email": {
|
|
8962
|
-
"type": "string"
|
|
8963
|
-
},
|
|
8964
|
-
"display_name": {
|
|
8965
|
-
"type": "string"
|
|
8966
|
-
},
|
|
8967
|
-
"role": {
|
|
9864
|
+
"scheme": {
|
|
8968
9865
|
"type": "string"
|
|
8969
9866
|
},
|
|
8970
|
-
"
|
|
9867
|
+
"network": {
|
|
8971
9868
|
"type": "string"
|
|
8972
9869
|
},
|
|
8973
|
-
"
|
|
8974
|
-
"type": "string",
|
|
8975
|
-
"format": "uuid"
|
|
8976
|
-
},
|
|
8977
|
-
"org_name": {
|
|
9870
|
+
"payTo": {
|
|
8978
9871
|
"type": "string"
|
|
8979
9872
|
},
|
|
8980
|
-
"
|
|
9873
|
+
"price": {
|
|
8981
9874
|
"type": "string"
|
|
8982
9875
|
},
|
|
8983
|
-
"
|
|
8984
|
-
"type": "string",
|
|
8985
|
-
"format": "date-time"
|
|
8986
|
-
},
|
|
8987
|
-
"free_tier_override": {
|
|
8988
|
-
"type": "integer"
|
|
8989
|
-
},
|
|
8990
|
-
"is_sponsored": {
|
|
8991
|
-
"type": "boolean"
|
|
8992
|
-
},
|
|
8993
|
-
"current_month_requests": {
|
|
9876
|
+
"requiredDeadlineSeconds": {
|
|
8994
9877
|
"type": "integer"
|
|
8995
9878
|
}
|
|
8996
9879
|
}
|
|
8997
9880
|
}
|
|
8998
9881
|
},
|
|
8999
|
-
"
|
|
9000
|
-
"type": "
|
|
9001
|
-
}
|
|
9002
|
-
}
|
|
9003
|
-
},
|
|
9004
|
-
"
|
|
9005
|
-
"type": "object",
|
|
9006
|
-
"properties": {
|
|
9007
|
-
"
|
|
9008
|
-
"type": "
|
|
9882
|
+
"description": {
|
|
9883
|
+
"type": "string"
|
|
9884
|
+
}
|
|
9885
|
+
}
|
|
9886
|
+
},
|
|
9887
|
+
"ShroudActivityEvent": {
|
|
9888
|
+
"type": "object",
|
|
9889
|
+
"properties": {
|
|
9890
|
+
"id": {
|
|
9891
|
+
"type": "string",
|
|
9892
|
+
"format": "uuid"
|
|
9893
|
+
},
|
|
9894
|
+
"org_id": {
|
|
9895
|
+
"type": "string",
|
|
9896
|
+
"format": "uuid"
|
|
9897
|
+
},
|
|
9898
|
+
"agent_id": {
|
|
9899
|
+
"type": "string"
|
|
9900
|
+
},
|
|
9901
|
+
"provider": {
|
|
9902
|
+
"type": "string"
|
|
9903
|
+
},
|
|
9904
|
+
"model": {
|
|
9905
|
+
"type": "string"
|
|
9906
|
+
},
|
|
9907
|
+
"action": {
|
|
9908
|
+
"type": "string",
|
|
9909
|
+
"description": "Action taken (allowed, blocked, warned)"
|
|
9910
|
+
},
|
|
9911
|
+
"request_tokens": {
|
|
9912
|
+
"type": "integer"
|
|
9913
|
+
},
|
|
9914
|
+
"response_tokens": {
|
|
9915
|
+
"type": "integer"
|
|
9916
|
+
},
|
|
9917
|
+
"latency_ms": {
|
|
9918
|
+
"type": "integer"
|
|
9919
|
+
},
|
|
9920
|
+
"had_secrets_redacted": {
|
|
9921
|
+
"type": "boolean"
|
|
9922
|
+
},
|
|
9923
|
+
"had_pii_detected": {
|
|
9924
|
+
"type": "boolean"
|
|
9925
|
+
},
|
|
9926
|
+
"injection_score": {
|
|
9927
|
+
"type": "number"
|
|
9928
|
+
},
|
|
9929
|
+
"policy_violations": {
|
|
9930
|
+
"type": "array",
|
|
9931
|
+
"items": {
|
|
9932
|
+
"type": "string"
|
|
9933
|
+
}
|
|
9934
|
+
},
|
|
9935
|
+
"response_injection_score": {
|
|
9936
|
+
"type": "number",
|
|
9937
|
+
"description": "Response-side prompt-injection score (0.0–1.0)."
|
|
9938
|
+
},
|
|
9939
|
+
"response_context_injection_score": {
|
|
9940
|
+
"type": "number",
|
|
9941
|
+
"description": "Response-side context-injection score (0.0–1.0)."
|
|
9942
|
+
},
|
|
9943
|
+
"response_injection_categories": {
|
|
9944
|
+
"type": "array",
|
|
9945
|
+
"items": {
|
|
9946
|
+
"type": "string"
|
|
9947
|
+
},
|
|
9948
|
+
"description": "Category tags emitted by the response-side filters (e.g. `markdown_image_exfil`, `data_uri_blob`, `echoed_instruction`)."
|
|
9949
|
+
},
|
|
9950
|
+
"external_urls_flagged": {
|
|
9951
|
+
"type": "array",
|
|
9952
|
+
"items": {
|
|
9953
|
+
"type": "string"
|
|
9954
|
+
},
|
|
9955
|
+
"description": "URLs emitted by the model that were flagged as potential exfil / callback targets."
|
|
9956
|
+
},
|
|
9957
|
+
"unexpected_code_blocks": {
|
|
9958
|
+
"type": "integer",
|
|
9959
|
+
"description": "Number of code fences in the response that were not expected for the agent's allowed task set."
|
|
9009
9960
|
},
|
|
9010
|
-
"
|
|
9011
|
-
"type": "boolean"
|
|
9012
|
-
|
|
9013
|
-
}
|
|
9014
|
-
},
|
|
9015
|
-
"OrgLimitsResponse": {
|
|
9016
|
-
"type": "object",
|
|
9017
|
-
"properties": {
|
|
9018
|
-
"org_id": {
|
|
9019
|
-
"type": "string",
|
|
9020
|
-
"format": "uuid"
|
|
9961
|
+
"content_filtered": {
|
|
9962
|
+
"type": "boolean",
|
|
9963
|
+
"description": "True when Shroud rewrote or blocked response content before returning it to the agent."
|
|
9021
9964
|
},
|
|
9022
|
-
"
|
|
9023
|
-
"type": "
|
|
9965
|
+
"metadata": {
|
|
9966
|
+
"type": "object"
|
|
9024
9967
|
},
|
|
9025
|
-
"
|
|
9026
|
-
"type": "boolean"
|
|
9027
|
-
}
|
|
9028
|
-
}
|
|
9029
|
-
},
|
|
9030
|
-
"SetBillingTierRequest": {
|
|
9031
|
-
"type": "object",
|
|
9032
|
-
"required": [
|
|
9033
|
-
"tier"
|
|
9034
|
-
],
|
|
9035
|
-
"properties": {
|
|
9036
|
-
"tier": {
|
|
9968
|
+
"timestamp": {
|
|
9037
9969
|
"type": "string",
|
|
9038
|
-
"
|
|
9039
|
-
"free",
|
|
9040
|
-
"pro",
|
|
9041
|
-
"business",
|
|
9042
|
-
"enterprise"
|
|
9043
|
-
]
|
|
9044
|
-
},
|
|
9045
|
-
"duration_days": {
|
|
9046
|
-
"type": "integer",
|
|
9047
|
-
"description": "How many days the tier lasts (default 365). Use 90 for a 3-month trial.",
|
|
9048
|
-
"minimum": 1,
|
|
9049
|
-
"maximum": 3650
|
|
9970
|
+
"format": "date-time"
|
|
9050
9971
|
}
|
|
9051
9972
|
}
|
|
9052
9973
|
},
|
|
9053
|
-
"
|
|
9974
|
+
"IngestShroudActivityRequest": {
|
|
9054
9975
|
"type": "object",
|
|
9055
9976
|
"required": [
|
|
9056
|
-
"
|
|
9057
|
-
"
|
|
9977
|
+
"agent_id",
|
|
9978
|
+
"action"
|
|
9058
9979
|
],
|
|
9059
9980
|
"properties": {
|
|
9060
|
-
"
|
|
9061
|
-
"type": "string"
|
|
9062
|
-
"description": "Display name (1–128 characters)"
|
|
9981
|
+
"agent_id": {
|
|
9982
|
+
"type": "string"
|
|
9063
9983
|
},
|
|
9064
|
-
"
|
|
9065
|
-
"type": "string"
|
|
9066
|
-
"description": "Deployed Safe contract address (0x-prefixed, 42 characters)"
|
|
9984
|
+
"provider": {
|
|
9985
|
+
"type": "string"
|
|
9067
9986
|
},
|
|
9068
|
-
"
|
|
9069
|
-
"type": "string"
|
|
9070
|
-
"description": "Chain name (default base)"
|
|
9987
|
+
"model": {
|
|
9988
|
+
"type": "string"
|
|
9071
9989
|
},
|
|
9072
|
-
"
|
|
9990
|
+
"action": {
|
|
9991
|
+
"type": "string"
|
|
9992
|
+
},
|
|
9993
|
+
"request_tokens": {
|
|
9073
9994
|
"type": "integer",
|
|
9074
|
-
"
|
|
9995
|
+
"default": 0
|
|
9075
9996
|
},
|
|
9076
|
-
"
|
|
9997
|
+
"response_tokens": {
|
|
9077
9998
|
"type": "integer",
|
|
9078
|
-
"
|
|
9079
|
-
"description": "Safe threshold (default 1)"
|
|
9999
|
+
"default": 0
|
|
9080
10000
|
},
|
|
9081
|
-
"
|
|
10001
|
+
"latency_ms": {
|
|
10002
|
+
"type": "integer"
|
|
10003
|
+
},
|
|
10004
|
+
"had_secrets_redacted": {
|
|
10005
|
+
"type": "boolean",
|
|
10006
|
+
"default": false
|
|
10007
|
+
},
|
|
10008
|
+
"had_pii_detected": {
|
|
10009
|
+
"type": "boolean",
|
|
10010
|
+
"default": false
|
|
10011
|
+
},
|
|
10012
|
+
"injection_score": {
|
|
10013
|
+
"type": "number",
|
|
10014
|
+
"default": 0
|
|
10015
|
+
},
|
|
10016
|
+
"policy_violations": {
|
|
9082
10017
|
"type": "array",
|
|
9083
10018
|
"items": {
|
|
9084
|
-
"
|
|
10019
|
+
"type": "string"
|
|
9085
10020
|
}
|
|
9086
|
-
}
|
|
9087
|
-
}
|
|
9088
|
-
},
|
|
9089
|
-
"CreateTreasurySignerEntry": {
|
|
9090
|
-
"type": "object",
|
|
9091
|
-
"required": [
|
|
9092
|
-
"signer_type",
|
|
9093
|
-
"signer_id",
|
|
9094
|
-
"signer_address"
|
|
9095
|
-
],
|
|
9096
|
-
"properties": {
|
|
9097
|
-
"signer_type": {
|
|
9098
|
-
"type": "string",
|
|
9099
|
-
"enum": [
|
|
9100
|
-
"user",
|
|
9101
|
-
"agent"
|
|
9102
|
-
]
|
|
9103
10021
|
},
|
|
9104
|
-
"
|
|
9105
|
-
"type": "
|
|
9106
|
-
"format": "uuid"
|
|
10022
|
+
"metadata": {
|
|
10023
|
+
"type": "object"
|
|
9107
10024
|
},
|
|
9108
|
-
"
|
|
9109
|
-
"type": "
|
|
9110
|
-
"
|
|
9111
|
-
}
|
|
9112
|
-
}
|
|
9113
|
-
},
|
|
9114
|
-
"UpdateTreasuryRequest": {
|
|
9115
|
-
"type": "object",
|
|
9116
|
-
"properties": {
|
|
9117
|
-
"name": {
|
|
9118
|
-
"type": "string"
|
|
10025
|
+
"response_injection_score": {
|
|
10026
|
+
"type": "number",
|
|
10027
|
+
"default": 0
|
|
9119
10028
|
},
|
|
9120
|
-
"
|
|
10029
|
+
"response_context_injection_score": {
|
|
10030
|
+
"type": "number",
|
|
10031
|
+
"default": 0
|
|
10032
|
+
},
|
|
10033
|
+
"response_injection_categories": {
|
|
10034
|
+
"type": "array",
|
|
10035
|
+
"items": {
|
|
10036
|
+
"type": "string"
|
|
10037
|
+
}
|
|
10038
|
+
},
|
|
10039
|
+
"external_urls_flagged": {
|
|
10040
|
+
"type": "array",
|
|
10041
|
+
"items": {
|
|
10042
|
+
"type": "string"
|
|
10043
|
+
}
|
|
10044
|
+
},
|
|
10045
|
+
"unexpected_code_blocks": {
|
|
9121
10046
|
"type": "integer",
|
|
9122
|
-
"
|
|
10047
|
+
"default": 0
|
|
10048
|
+
},
|
|
10049
|
+
"content_filtered": {
|
|
10050
|
+
"type": "boolean",
|
|
10051
|
+
"default": false
|
|
9123
10052
|
}
|
|
9124
10053
|
}
|
|
9125
10054
|
},
|
|
9126
|
-
"
|
|
10055
|
+
"ShroudThreatSummary": {
|
|
9127
10056
|
"type": "object",
|
|
9128
10057
|
"properties": {
|
|
9129
|
-
"
|
|
9130
|
-
"type": "
|
|
9131
|
-
"format": "
|
|
9132
|
-
},
|
|
9133
|
-
"name": {
|
|
9134
|
-
"type": "string"
|
|
10058
|
+
"total_requests": {
|
|
10059
|
+
"type": "integer",
|
|
10060
|
+
"format": "int64"
|
|
9135
10061
|
},
|
|
9136
|
-
"
|
|
9137
|
-
"type": "
|
|
10062
|
+
"total_requests_prev": {
|
|
10063
|
+
"type": "integer",
|
|
10064
|
+
"format": "int64"
|
|
9138
10065
|
},
|
|
9139
|
-
"
|
|
9140
|
-
"type": "
|
|
10066
|
+
"blocked_requests": {
|
|
10067
|
+
"type": "integer",
|
|
10068
|
+
"format": "int64"
|
|
9141
10069
|
},
|
|
9142
|
-
"
|
|
9143
|
-
"type": "integer"
|
|
10070
|
+
"detectors_triggered": {
|
|
10071
|
+
"type": "integer",
|
|
10072
|
+
"format": "int64"
|
|
9144
10073
|
},
|
|
9145
|
-
"
|
|
9146
|
-
"type": "integer"
|
|
10074
|
+
"active_agents": {
|
|
10075
|
+
"type": "integer",
|
|
10076
|
+
"format": "int64"
|
|
9147
10077
|
},
|
|
9148
|
-
"
|
|
9149
|
-
"type": "
|
|
9150
|
-
"
|
|
10078
|
+
"detectors": {
|
|
10079
|
+
"type": "array",
|
|
10080
|
+
"items": {
|
|
10081
|
+
"$ref": "#/components/schemas/ShroudDetectorStats"
|
|
10082
|
+
}
|
|
9151
10083
|
},
|
|
9152
|
-
"
|
|
10084
|
+
"flagged_requests": {
|
|
9153
10085
|
"type": "array",
|
|
9154
10086
|
"items": {
|
|
9155
|
-
"$ref": "#/components/schemas/
|
|
10087
|
+
"$ref": "#/components/schemas/ShroudFlaggedRequest"
|
|
9156
10088
|
}
|
|
10089
|
+
}
|
|
10090
|
+
}
|
|
10091
|
+
},
|
|
10092
|
+
"ShroudDetectorStats": {
|
|
10093
|
+
"type": "object",
|
|
10094
|
+
"properties": {
|
|
10095
|
+
"detector": {
|
|
10096
|
+
"type": "string"
|
|
9157
10097
|
},
|
|
9158
|
-
"
|
|
9159
|
-
"type": "
|
|
9160
|
-
"format": "
|
|
10098
|
+
"detections": {
|
|
10099
|
+
"type": "integer",
|
|
10100
|
+
"format": "int64"
|
|
10101
|
+
},
|
|
10102
|
+
"blocks": {
|
|
10103
|
+
"type": "integer",
|
|
10104
|
+
"format": "int64"
|
|
10105
|
+
},
|
|
10106
|
+
"actions": {
|
|
10107
|
+
"type": "object",
|
|
10108
|
+
"properties": {
|
|
10109
|
+
"blocked": {
|
|
10110
|
+
"type": "integer",
|
|
10111
|
+
"format": "int64"
|
|
10112
|
+
},
|
|
10113
|
+
"warned": {
|
|
10114
|
+
"type": "integer",
|
|
10115
|
+
"format": "int64"
|
|
10116
|
+
},
|
|
10117
|
+
"logged": {
|
|
10118
|
+
"type": "integer",
|
|
10119
|
+
"format": "int64"
|
|
10120
|
+
}
|
|
10121
|
+
}
|
|
9161
10122
|
}
|
|
9162
10123
|
}
|
|
9163
10124
|
},
|
|
9164
|
-
"
|
|
10125
|
+
"ShroudFlaggedRequest": {
|
|
9165
10126
|
"type": "object",
|
|
9166
10127
|
"properties": {
|
|
9167
10128
|
"id": {
|
|
9168
|
-
"type": "string"
|
|
9169
|
-
"format": "uuid"
|
|
10129
|
+
"type": "string"
|
|
9170
10130
|
},
|
|
9171
|
-
"
|
|
10131
|
+
"timestamp": {
|
|
9172
10132
|
"type": "string",
|
|
9173
|
-
"
|
|
9174
|
-
"user",
|
|
9175
|
-
"agent"
|
|
9176
|
-
]
|
|
10133
|
+
"format": "date-time"
|
|
9177
10134
|
},
|
|
9178
|
-
"
|
|
9179
|
-
"type": "string"
|
|
9180
|
-
"format": "uuid"
|
|
10135
|
+
"agent_id": {
|
|
10136
|
+
"type": "string"
|
|
9181
10137
|
},
|
|
9182
|
-
"
|
|
10138
|
+
"agent_name": {
|
|
9183
10139
|
"type": "string"
|
|
9184
10140
|
},
|
|
9185
|
-
"
|
|
10141
|
+
"score": {
|
|
10142
|
+
"type": "number"
|
|
10143
|
+
},
|
|
10144
|
+
"reason": {
|
|
10145
|
+
"type": "string"
|
|
10146
|
+
},
|
|
10147
|
+
"action": {
|
|
9186
10148
|
"type": "string",
|
|
9187
|
-
"
|
|
10149
|
+
"enum": [
|
|
10150
|
+
"blocked",
|
|
10151
|
+
"warned",
|
|
10152
|
+
"logged"
|
|
10153
|
+
]
|
|
9188
10154
|
}
|
|
9189
10155
|
}
|
|
9190
10156
|
},
|
|
9191
|
-
"
|
|
10157
|
+
"HealthResponse": {
|
|
9192
10158
|
"type": "object",
|
|
9193
|
-
"required": [
|
|
9194
|
-
"signer_type",
|
|
9195
|
-
"signer_id",
|
|
9196
|
-
"signer_address"
|
|
9197
|
-
],
|
|
9198
10159
|
"properties": {
|
|
9199
|
-
"
|
|
10160
|
+
"status": {
|
|
9200
10161
|
"type": "string",
|
|
9201
10162
|
"enum": [
|
|
9202
|
-
"
|
|
9203
|
-
"
|
|
10163
|
+
"healthy",
|
|
10164
|
+
"degraded"
|
|
9204
10165
|
]
|
|
9205
10166
|
},
|
|
9206
|
-
"
|
|
9207
|
-
"type": "string",
|
|
9208
|
-
"format": "uuid"
|
|
9209
|
-
},
|
|
9210
|
-
"signer_address": {
|
|
10167
|
+
"version": {
|
|
9211
10168
|
"type": "string"
|
|
9212
10169
|
}
|
|
9213
10170
|
}
|
|
9214
10171
|
},
|
|
9215
|
-
"
|
|
10172
|
+
"CreatePlatformAppRequest": {
|
|
9216
10173
|
"type": "object",
|
|
10174
|
+
"required": [
|
|
10175
|
+
"name",
|
|
10176
|
+
"slug"
|
|
10177
|
+
],
|
|
9217
10178
|
"properties": {
|
|
9218
|
-
"
|
|
9219
|
-
"type": "string"
|
|
9220
|
-
"format": "uuid"
|
|
10179
|
+
"name": {
|
|
10180
|
+
"type": "string"
|
|
9221
10181
|
},
|
|
9222
|
-
"
|
|
10182
|
+
"slug": {
|
|
9223
10183
|
"type": "string",
|
|
9224
|
-
"
|
|
10184
|
+
"minLength": 3,
|
|
10185
|
+
"maxLength": 64,
|
|
10186
|
+
"pattern": "^[a-zA-Z0-9_-]+$"
|
|
9225
10187
|
},
|
|
9226
|
-
"
|
|
10188
|
+
"description": {
|
|
10189
|
+
"type": "string"
|
|
10190
|
+
},
|
|
10191
|
+
"oidc_jwks_url": {
|
|
9227
10192
|
"type": "string",
|
|
9228
|
-
"format": "
|
|
10193
|
+
"format": "uri"
|
|
9229
10194
|
},
|
|
9230
|
-
"
|
|
10195
|
+
"oidc_issuer": {
|
|
9231
10196
|
"type": "string",
|
|
9232
|
-
"
|
|
9233
|
-
"pending",
|
|
9234
|
-
"approved",
|
|
9235
|
-
"denied"
|
|
9236
|
-
]
|
|
10197
|
+
"format": "uri"
|
|
9237
10198
|
},
|
|
9238
|
-
"
|
|
9239
|
-
"type": "
|
|
10199
|
+
"redirect_uris": {
|
|
10200
|
+
"type": "array",
|
|
10201
|
+
"items": {
|
|
10202
|
+
"type": "string",
|
|
10203
|
+
"format": "uri"
|
|
10204
|
+
}
|
|
9240
10205
|
},
|
|
9241
|
-
"
|
|
10206
|
+
"billing_model": {
|
|
9242
10207
|
"type": "string",
|
|
9243
|
-
"
|
|
10208
|
+
"enum": [
|
|
10209
|
+
"platform_pays",
|
|
10210
|
+
"user_pays",
|
|
10211
|
+
"hybrid"
|
|
10212
|
+
],
|
|
10213
|
+
"default": "platform_pays"
|
|
9244
10214
|
},
|
|
9245
|
-
"
|
|
10215
|
+
"auth_mode": {
|
|
9246
10216
|
"type": "string",
|
|
9247
|
-
"
|
|
10217
|
+
"enum": [
|
|
10218
|
+
"silent",
|
|
10219
|
+
"user_signin",
|
|
10220
|
+
"configurable"
|
|
10221
|
+
],
|
|
10222
|
+
"default": "silent"
|
|
9248
10223
|
},
|
|
9249
|
-
"
|
|
9250
|
-
"type": "
|
|
9251
|
-
"
|
|
9252
|
-
}
|
|
9253
|
-
}
|
|
9254
|
-
},
|
|
9255
|
-
"GenerateTreasuryWalletsRequest": {
|
|
9256
|
-
"type": "object",
|
|
9257
|
-
"properties": {
|
|
9258
|
-
"chains": {
|
|
9259
|
-
"type": "array",
|
|
9260
|
-
"items": {
|
|
9261
|
-
"type": "string"
|
|
9262
|
-
},
|
|
9263
|
-
"description": "Chains to generate wallets for (e.g. [\"ethereum\", \"solana\"]). Omit for all supported chains."
|
|
10224
|
+
"max_connected_users": {
|
|
10225
|
+
"type": "integer",
|
|
10226
|
+
"nullable": true
|
|
9264
10227
|
}
|
|
9265
10228
|
}
|
|
9266
10229
|
},
|
|
9267
|
-
"
|
|
10230
|
+
"UpdatePlatformAppRequest": {
|
|
9268
10231
|
"type": "object",
|
|
9269
10232
|
"properties": {
|
|
9270
|
-
"
|
|
9271
|
-
"type": "string",
|
|
9272
|
-
"format": "uuid"
|
|
9273
|
-
},
|
|
9274
|
-
"chain": {
|
|
10233
|
+
"name": {
|
|
9275
10234
|
"type": "string"
|
|
9276
10235
|
},
|
|
9277
|
-
"
|
|
9278
|
-
"type": "string"
|
|
9279
|
-
"description": "Cryptographic curve (e.g. secp256k1, ed25519)"
|
|
10236
|
+
"description": {
|
|
10237
|
+
"type": "string"
|
|
9280
10238
|
},
|
|
9281
|
-
"
|
|
10239
|
+
"logo_url": {
|
|
9282
10240
|
"type": "string"
|
|
9283
10241
|
},
|
|
9284
|
-
"
|
|
10242
|
+
"oidc_jwks_url": {
|
|
9285
10243
|
"type": "string"
|
|
9286
10244
|
},
|
|
9287
|
-
"
|
|
9288
|
-
"type": "
|
|
10245
|
+
"oidc_issuer": {
|
|
10246
|
+
"type": "string"
|
|
9289
10247
|
},
|
|
9290
|
-
"
|
|
9291
|
-
"type": "string",
|
|
9292
|
-
"format": "date-time"
|
|
9293
|
-
}
|
|
9294
|
-
}
|
|
9295
|
-
},
|
|
9296
|
-
"TreasuryWalletListResponse": {
|
|
9297
|
-
"type": "object",
|
|
9298
|
-
"properties": {
|
|
9299
|
-
"wallets": {
|
|
10248
|
+
"redirect_uris": {
|
|
9300
10249
|
"type": "array",
|
|
9301
10250
|
"items": {
|
|
9302
|
-
"
|
|
10251
|
+
"type": "string"
|
|
9303
10252
|
}
|
|
9304
|
-
}
|
|
9305
|
-
}
|
|
9306
|
-
},
|
|
9307
|
-
"TreasuryWalletExportResponse": {
|
|
9308
|
-
"type": "object",
|
|
9309
|
-
"properties": {
|
|
9310
|
-
"chain": {
|
|
9311
|
-
"type": "string"
|
|
9312
10253
|
},
|
|
9313
|
-
"
|
|
10254
|
+
"webhook_url": {
|
|
9314
10255
|
"type": "string"
|
|
9315
10256
|
},
|
|
9316
|
-
"
|
|
10257
|
+
"billing_model": {
|
|
9317
10258
|
"type": "string",
|
|
9318
|
-
"
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
"type": "object",
|
|
9324
|
-
"properties": {
|
|
9325
|
-
"x402Version": {
|
|
9326
|
-
"type": "integer"
|
|
10259
|
+
"enum": [
|
|
10260
|
+
"platform_pays",
|
|
10261
|
+
"user_pays",
|
|
10262
|
+
"hybrid"
|
|
10263
|
+
]
|
|
9327
10264
|
},
|
|
9328
|
-
"
|
|
9329
|
-
"type": "
|
|
9330
|
-
"
|
|
9331
|
-
"
|
|
9332
|
-
"
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
},
|
|
9336
|
-
"network": {
|
|
9337
|
-
"type": "string"
|
|
9338
|
-
},
|
|
9339
|
-
"payTo": {
|
|
9340
|
-
"type": "string"
|
|
9341
|
-
},
|
|
9342
|
-
"price": {
|
|
9343
|
-
"type": "string"
|
|
9344
|
-
},
|
|
9345
|
-
"requiredDeadlineSeconds": {
|
|
9346
|
-
"type": "integer"
|
|
9347
|
-
}
|
|
9348
|
-
}
|
|
9349
|
-
}
|
|
10265
|
+
"auth_mode": {
|
|
10266
|
+
"type": "string",
|
|
10267
|
+
"enum": [
|
|
10268
|
+
"silent",
|
|
10269
|
+
"user_signin",
|
|
10270
|
+
"configurable"
|
|
10271
|
+
]
|
|
9350
10272
|
},
|
|
9351
|
-
"
|
|
9352
|
-
"type": "
|
|
10273
|
+
"max_connected_users": {
|
|
10274
|
+
"type": "integer",
|
|
10275
|
+
"nullable": true
|
|
10276
|
+
},
|
|
10277
|
+
"is_active": {
|
|
10278
|
+
"type": "boolean"
|
|
9353
10279
|
}
|
|
9354
10280
|
}
|
|
9355
10281
|
},
|
|
9356
|
-
"
|
|
10282
|
+
"PlatformAppResponse": {
|
|
9357
10283
|
"type": "object",
|
|
9358
10284
|
"properties": {
|
|
9359
10285
|
"id": {
|
|
9360
10286
|
"type": "string",
|
|
9361
10287
|
"format": "uuid"
|
|
9362
10288
|
},
|
|
9363
|
-
"
|
|
9364
|
-
"type": "string",
|
|
9365
|
-
"format": "uuid"
|
|
9366
|
-
},
|
|
9367
|
-
"agent_id": {
|
|
10289
|
+
"name": {
|
|
9368
10290
|
"type": "string"
|
|
9369
10291
|
},
|
|
9370
|
-
"
|
|
10292
|
+
"slug": {
|
|
9371
10293
|
"type": "string"
|
|
9372
10294
|
},
|
|
9373
|
-
"
|
|
10295
|
+
"description": {
|
|
9374
10296
|
"type": "string"
|
|
9375
10297
|
},
|
|
9376
|
-
"
|
|
10298
|
+
"logo_url": {
|
|
9377
10299
|
"type": "string",
|
|
9378
|
-
"
|
|
9379
|
-
},
|
|
9380
|
-
"request_tokens": {
|
|
9381
|
-
"type": "integer"
|
|
9382
|
-
},
|
|
9383
|
-
"response_tokens": {
|
|
9384
|
-
"type": "integer"
|
|
9385
|
-
},
|
|
9386
|
-
"latency_ms": {
|
|
9387
|
-
"type": "integer"
|
|
10300
|
+
"nullable": true
|
|
9388
10301
|
},
|
|
9389
|
-
"
|
|
9390
|
-
"type": "
|
|
10302
|
+
"api_key_prefix": {
|
|
10303
|
+
"type": "string"
|
|
9391
10304
|
},
|
|
9392
|
-
"
|
|
9393
|
-
"type": "
|
|
10305
|
+
"oidc_jwks_url": {
|
|
10306
|
+
"type": "string",
|
|
10307
|
+
"nullable": true
|
|
9394
10308
|
},
|
|
9395
|
-
"
|
|
9396
|
-
"type": "
|
|
10309
|
+
"oidc_issuer": {
|
|
10310
|
+
"type": "string",
|
|
10311
|
+
"nullable": true
|
|
9397
10312
|
},
|
|
9398
|
-
"
|
|
10313
|
+
"redirect_uris": {
|
|
9399
10314
|
"type": "array",
|
|
9400
10315
|
"items": {
|
|
9401
10316
|
"type": "string"
|
|
9402
10317
|
}
|
|
9403
10318
|
},
|
|
9404
|
-
"
|
|
9405
|
-
"type": "
|
|
9406
|
-
"
|
|
10319
|
+
"webhook_url": {
|
|
10320
|
+
"type": "string",
|
|
10321
|
+
"nullable": true
|
|
9407
10322
|
},
|
|
9408
|
-
"
|
|
9409
|
-
"type": "
|
|
9410
|
-
"description": "Response-side context-injection score (0.0–1.0)."
|
|
10323
|
+
"is_active": {
|
|
10324
|
+
"type": "boolean"
|
|
9411
10325
|
},
|
|
9412
|
-
"
|
|
9413
|
-
"type": "
|
|
9414
|
-
"items": {
|
|
9415
|
-
"type": "string"
|
|
9416
|
-
},
|
|
9417
|
-
"description": "Category tags emitted by the response-side filters (e.g. `markdown_image_exfil`, `data_uri_blob`, `echoed_instruction`)."
|
|
10326
|
+
"billing_model": {
|
|
10327
|
+
"type": "string"
|
|
9418
10328
|
},
|
|
9419
|
-
"
|
|
9420
|
-
"type": "
|
|
9421
|
-
"items": {
|
|
9422
|
-
"type": "string"
|
|
9423
|
-
},
|
|
9424
|
-
"description": "URLs emitted by the model that were flagged as potential exfil / callback targets."
|
|
10329
|
+
"auth_mode": {
|
|
10330
|
+
"type": "string"
|
|
9425
10331
|
},
|
|
9426
|
-
"
|
|
10332
|
+
"max_connected_users": {
|
|
9427
10333
|
"type": "integer",
|
|
9428
|
-
"
|
|
9429
|
-
},
|
|
9430
|
-
"content_filtered": {
|
|
9431
|
-
"type": "boolean",
|
|
9432
|
-
"description": "True when Shroud rewrote or blocked response content before returning it to the agent."
|
|
10334
|
+
"nullable": true
|
|
9433
10335
|
},
|
|
9434
|
-
"
|
|
9435
|
-
"type": "
|
|
10336
|
+
"connected_users": {
|
|
10337
|
+
"type": "integer"
|
|
9436
10338
|
},
|
|
9437
|
-
"
|
|
10339
|
+
"created_at": {
|
|
10340
|
+
"type": "string",
|
|
10341
|
+
"format": "date-time"
|
|
10342
|
+
},
|
|
10343
|
+
"updated_at": {
|
|
9438
10344
|
"type": "string",
|
|
9439
10345
|
"format": "date-time"
|
|
9440
10346
|
}
|
|
9441
10347
|
}
|
|
9442
10348
|
},
|
|
9443
|
-
"
|
|
10349
|
+
"PlatformAppCreatedResponse": {
|
|
10350
|
+
"allOf": [
|
|
10351
|
+
{
|
|
10352
|
+
"$ref": "#/components/schemas/PlatformAppResponse"
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
"type": "object",
|
|
10356
|
+
"required": [
|
|
10357
|
+
"api_key"
|
|
10358
|
+
],
|
|
10359
|
+
"properties": {
|
|
10360
|
+
"api_key": {
|
|
10361
|
+
"type": "string",
|
|
10362
|
+
"description": "The platform API key. Save immediately - it cannot be retrieved again."
|
|
10363
|
+
}
|
|
10364
|
+
}
|
|
10365
|
+
}
|
|
10366
|
+
]
|
|
10367
|
+
},
|
|
10368
|
+
"CreateTemplateRequest": {
|
|
9444
10369
|
"type": "object",
|
|
9445
10370
|
"required": [
|
|
9446
|
-
"
|
|
9447
|
-
"
|
|
10371
|
+
"name",
|
|
10372
|
+
"spec"
|
|
9448
10373
|
],
|
|
9449
10374
|
"properties": {
|
|
9450
|
-
"
|
|
10375
|
+
"name": {
|
|
9451
10376
|
"type": "string"
|
|
9452
10377
|
},
|
|
9453
|
-
"
|
|
10378
|
+
"description": {
|
|
9454
10379
|
"type": "string"
|
|
9455
10380
|
},
|
|
9456
|
-
"
|
|
9457
|
-
"type": "
|
|
10381
|
+
"spec": {
|
|
10382
|
+
"type": "object",
|
|
10383
|
+
"description": "Template specification defining vault, agents, and policies to bootstrap."
|
|
10384
|
+
}
|
|
10385
|
+
}
|
|
10386
|
+
},
|
|
10387
|
+
"PlatformTemplateResponse": {
|
|
10388
|
+
"type": "object",
|
|
10389
|
+
"properties": {
|
|
10390
|
+
"id": {
|
|
10391
|
+
"type": "string",
|
|
10392
|
+
"format": "uuid"
|
|
9458
10393
|
},
|
|
9459
|
-
"
|
|
9460
|
-
"type": "string"
|
|
10394
|
+
"platform_app_id": {
|
|
10395
|
+
"type": "string",
|
|
10396
|
+
"format": "uuid"
|
|
9461
10397
|
},
|
|
9462
|
-
"
|
|
9463
|
-
"type": "
|
|
9464
|
-
"default": 0
|
|
10398
|
+
"name": {
|
|
10399
|
+
"type": "string"
|
|
9465
10400
|
},
|
|
9466
|
-
"
|
|
9467
|
-
"type": "
|
|
9468
|
-
"default": 0
|
|
10401
|
+
"description": {
|
|
10402
|
+
"type": "string"
|
|
9469
10403
|
},
|
|
9470
|
-
"
|
|
10404
|
+
"version": {
|
|
9471
10405
|
"type": "integer"
|
|
9472
10406
|
},
|
|
9473
|
-
"
|
|
9474
|
-
"type": "
|
|
9475
|
-
"default": false
|
|
9476
|
-
},
|
|
9477
|
-
"had_pii_detected": {
|
|
9478
|
-
"type": "boolean",
|
|
9479
|
-
"default": false
|
|
10407
|
+
"spec": {
|
|
10408
|
+
"type": "object"
|
|
9480
10409
|
},
|
|
9481
|
-
"
|
|
9482
|
-
"type": "
|
|
9483
|
-
"default": 0
|
|
10410
|
+
"is_active": {
|
|
10411
|
+
"type": "boolean"
|
|
9484
10412
|
},
|
|
9485
|
-
"
|
|
9486
|
-
"type": "
|
|
9487
|
-
"
|
|
9488
|
-
"type": "string"
|
|
9489
|
-
}
|
|
10413
|
+
"created_at": {
|
|
10414
|
+
"type": "string",
|
|
10415
|
+
"format": "date-time"
|
|
9490
10416
|
},
|
|
9491
|
-
"
|
|
9492
|
-
"type": "
|
|
10417
|
+
"updated_at": {
|
|
10418
|
+
"type": "string",
|
|
10419
|
+
"format": "date-time"
|
|
10420
|
+
}
|
|
10421
|
+
}
|
|
10422
|
+
},
|
|
10423
|
+
"UpsertPlatformUserRequest": {
|
|
10424
|
+
"type": "object",
|
|
10425
|
+
"properties": {
|
|
10426
|
+
"subject_token": {
|
|
10427
|
+
"type": "string",
|
|
10428
|
+
"description": "OIDC JWT from the platform's IdP (verified against JWKS)"
|
|
9493
10429
|
},
|
|
9494
|
-
"
|
|
9495
|
-
"type": "
|
|
9496
|
-
"default":
|
|
10430
|
+
"subject_token_type": {
|
|
10431
|
+
"type": "string",
|
|
10432
|
+
"default": "urn:ietf:params:oauth:token-type:jwt"
|
|
9497
10433
|
},
|
|
9498
|
-
"
|
|
9499
|
-
"type": "
|
|
9500
|
-
"
|
|
10434
|
+
"email": {
|
|
10435
|
+
"type": "string",
|
|
10436
|
+
"format": "email",
|
|
10437
|
+
"description": "Fallback when subject_token is not provided"
|
|
9501
10438
|
},
|
|
9502
|
-
"
|
|
9503
|
-
"type": "
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
10439
|
+
"display_name": {
|
|
10440
|
+
"type": "string"
|
|
10441
|
+
}
|
|
10442
|
+
}
|
|
10443
|
+
},
|
|
10444
|
+
"PlatformUserResponse": {
|
|
10445
|
+
"type": "object",
|
|
10446
|
+
"properties": {
|
|
10447
|
+
"user_handle": {
|
|
10448
|
+
"type": "string",
|
|
10449
|
+
"format": "uuid"
|
|
9507
10450
|
},
|
|
9508
|
-
"
|
|
9509
|
-
"type": "
|
|
9510
|
-
"items": {
|
|
9511
|
-
"type": "string"
|
|
9512
|
-
}
|
|
10451
|
+
"is_new": {
|
|
10452
|
+
"type": "boolean"
|
|
9513
10453
|
},
|
|
9514
|
-
"
|
|
9515
|
-
"type": "
|
|
9516
|
-
"
|
|
10454
|
+
"connection_id": {
|
|
10455
|
+
"type": "string",
|
|
10456
|
+
"format": "uuid"
|
|
9517
10457
|
},
|
|
9518
|
-
"
|
|
9519
|
-
"type": "
|
|
9520
|
-
"default": false
|
|
10458
|
+
"email": {
|
|
10459
|
+
"type": "string"
|
|
9521
10460
|
}
|
|
9522
10461
|
}
|
|
9523
10462
|
},
|
|
9524
|
-
"
|
|
10463
|
+
"PlatformConnectedUserResponse": {
|
|
9525
10464
|
"type": "object",
|
|
9526
10465
|
"properties": {
|
|
9527
|
-
"
|
|
9528
|
-
"type": "
|
|
9529
|
-
"format": "
|
|
9530
|
-
},
|
|
9531
|
-
"total_requests_prev": {
|
|
9532
|
-
"type": "integer",
|
|
9533
|
-
"format": "int64"
|
|
10466
|
+
"connection_id": {
|
|
10467
|
+
"type": "string",
|
|
10468
|
+
"format": "uuid"
|
|
9534
10469
|
},
|
|
9535
|
-
"
|
|
9536
|
-
"type": "
|
|
9537
|
-
"format": "
|
|
10470
|
+
"user_id": {
|
|
10471
|
+
"type": "string",
|
|
10472
|
+
"format": "uuid"
|
|
9538
10473
|
},
|
|
9539
|
-
"
|
|
9540
|
-
"type": "
|
|
9541
|
-
"format": "int64"
|
|
10474
|
+
"external_subject": {
|
|
10475
|
+
"type": "string"
|
|
9542
10476
|
},
|
|
9543
|
-
"
|
|
9544
|
-
"type": "
|
|
9545
|
-
"format": "int64"
|
|
10477
|
+
"status": {
|
|
10478
|
+
"type": "string"
|
|
9546
10479
|
},
|
|
9547
|
-
"
|
|
10480
|
+
"vault_ids": {
|
|
9548
10481
|
"type": "array",
|
|
9549
10482
|
"items": {
|
|
9550
|
-
"
|
|
10483
|
+
"type": "string",
|
|
10484
|
+
"format": "uuid"
|
|
9551
10485
|
}
|
|
9552
10486
|
},
|
|
9553
|
-
"
|
|
10487
|
+
"agent_ids": {
|
|
9554
10488
|
"type": "array",
|
|
9555
10489
|
"items": {
|
|
9556
|
-
"
|
|
10490
|
+
"type": "string",
|
|
10491
|
+
"format": "uuid"
|
|
9557
10492
|
}
|
|
10493
|
+
},
|
|
10494
|
+
"created_at": {
|
|
10495
|
+
"type": "string",
|
|
10496
|
+
"format": "date-time"
|
|
10497
|
+
},
|
|
10498
|
+
"claimed_at": {
|
|
10499
|
+
"type": "string",
|
|
10500
|
+
"format": "date-time",
|
|
10501
|
+
"nullable": true
|
|
9558
10502
|
}
|
|
9559
10503
|
}
|
|
9560
10504
|
},
|
|
9561
|
-
"
|
|
10505
|
+
"BootstrapRequest": {
|
|
9562
10506
|
"type": "object",
|
|
9563
10507
|
"properties": {
|
|
9564
|
-
"
|
|
10508
|
+
"template_id": {
|
|
10509
|
+
"type": "string",
|
|
10510
|
+
"format": "uuid",
|
|
10511
|
+
"description": "Template to use. Falls back to the app's default template."
|
|
10512
|
+
},
|
|
10513
|
+
"return_to": {
|
|
10514
|
+
"type": "string",
|
|
10515
|
+
"format": "uri",
|
|
10516
|
+
"description": "URL to redirect the user to after claiming resources."
|
|
10517
|
+
}
|
|
10518
|
+
}
|
|
10519
|
+
},
|
|
10520
|
+
"BootstrapResponse": {
|
|
10521
|
+
"type": "object",
|
|
10522
|
+
"properties": {
|
|
10523
|
+
"claim_url": {
|
|
10524
|
+
"type": "string",
|
|
10525
|
+
"format": "uri"
|
|
10526
|
+
},
|
|
10527
|
+
"claim_token": {
|
|
9565
10528
|
"type": "string"
|
|
9566
10529
|
},
|
|
9567
|
-
"
|
|
10530
|
+
"expires_in": {
|
|
9568
10531
|
"type": "integer",
|
|
9569
|
-
"
|
|
10532
|
+
"description": "Seconds until the claim token expires"
|
|
9570
10533
|
},
|
|
9571
|
-
"
|
|
9572
|
-
"type": "
|
|
9573
|
-
"format": "
|
|
10534
|
+
"connection_id": {
|
|
10535
|
+
"type": "string",
|
|
10536
|
+
"format": "uuid"
|
|
9574
10537
|
},
|
|
9575
|
-
"
|
|
10538
|
+
"summary": {
|
|
9576
10539
|
"type": "object",
|
|
9577
10540
|
"properties": {
|
|
9578
|
-
"
|
|
9579
|
-
"type": "
|
|
9580
|
-
"format": "
|
|
10541
|
+
"vault_id": {
|
|
10542
|
+
"type": "string",
|
|
10543
|
+
"format": "uuid",
|
|
10544
|
+
"nullable": true
|
|
9581
10545
|
},
|
|
9582
|
-
"
|
|
9583
|
-
"type": "
|
|
9584
|
-
"format": "
|
|
10546
|
+
"agent_id": {
|
|
10547
|
+
"type": "string",
|
|
10548
|
+
"format": "uuid",
|
|
10549
|
+
"nullable": true
|
|
9585
10550
|
},
|
|
9586
|
-
"
|
|
9587
|
-
"type": "
|
|
9588
|
-
"
|
|
10551
|
+
"policy_ids": {
|
|
10552
|
+
"type": "array",
|
|
10553
|
+
"items": {
|
|
10554
|
+
"type": "string",
|
|
10555
|
+
"format": "uuid"
|
|
10556
|
+
}
|
|
9589
10557
|
}
|
|
9590
10558
|
}
|
|
9591
10559
|
}
|
|
9592
10560
|
}
|
|
9593
10561
|
},
|
|
9594
|
-
"
|
|
10562
|
+
"ConnectedAppResponse": {
|
|
9595
10563
|
"type": "object",
|
|
9596
10564
|
"properties": {
|
|
9597
|
-
"
|
|
9598
|
-
"type": "string"
|
|
9599
|
-
},
|
|
9600
|
-
"timestamp": {
|
|
10565
|
+
"connection_id": {
|
|
9601
10566
|
"type": "string",
|
|
9602
|
-
"format": "
|
|
10567
|
+
"format": "uuid"
|
|
9603
10568
|
},
|
|
9604
|
-
"
|
|
10569
|
+
"app_name": {
|
|
9605
10570
|
"type": "string"
|
|
9606
10571
|
},
|
|
9607
|
-
"
|
|
10572
|
+
"app_slug": {
|
|
9608
10573
|
"type": "string"
|
|
9609
10574
|
},
|
|
9610
|
-
"
|
|
9611
|
-
"type": "number"
|
|
9612
|
-
},
|
|
9613
|
-
"reason": {
|
|
10575
|
+
"status": {
|
|
9614
10576
|
"type": "string"
|
|
9615
10577
|
},
|
|
9616
|
-
"
|
|
9617
|
-
"type": "
|
|
9618
|
-
"
|
|
9619
|
-
"
|
|
9620
|
-
"
|
|
9621
|
-
|
|
9622
|
-
]
|
|
9623
|
-
}
|
|
9624
|
-
}
|
|
9625
|
-
},
|
|
9626
|
-
"HealthResponse": {
|
|
9627
|
-
"type": "object",
|
|
9628
|
-
"properties": {
|
|
9629
|
-
"status": {
|
|
9630
|
-
"type": "string",
|
|
9631
|
-
"enum": [
|
|
9632
|
-
"healthy",
|
|
9633
|
-
"degraded"
|
|
9634
|
-
]
|
|
10578
|
+
"vault_ids": {
|
|
10579
|
+
"type": "array",
|
|
10580
|
+
"items": {
|
|
10581
|
+
"type": "string",
|
|
10582
|
+
"format": "uuid"
|
|
10583
|
+
}
|
|
9635
10584
|
},
|
|
9636
|
-
"
|
|
9637
|
-
"type": "
|
|
10585
|
+
"agent_ids": {
|
|
10586
|
+
"type": "array",
|
|
10587
|
+
"items": {
|
|
10588
|
+
"type": "string",
|
|
10589
|
+
"format": "uuid"
|
|
10590
|
+
}
|
|
10591
|
+
},
|
|
10592
|
+
"created_at": {
|
|
10593
|
+
"type": "string",
|
|
10594
|
+
"format": "date-time"
|
|
9638
10595
|
}
|
|
9639
10596
|
}
|
|
9640
10597
|
}
|