@converge.ai/a13n 0.1.0 → 0.3.3
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/dist/resources/generated.d.ts +1265 -1175
- package/dist/resources/generated.d.ts.map +1 -1
- package/dist/resources/generated.js +82 -0
- package/dist/resources/generated.js.map +1 -1
- package/dist/schema.d.ts +417 -4
- package/dist/schema.d.ts.map +1 -1
- package/dist/semantic.d.ts +2 -0
- package/dist/semantic.d.ts.map +1 -1
- package/dist/session-stream-schema.d.ts +65 -2
- package/dist/session-stream-schema.d.ts.map +1 -1
- package/dist/session-stream-validation.d.ts.map +1 -1
- package/dist/session-stream-validation.js +2491 -1298
- package/dist/session-stream-validation.js.map +1 -1
- package/dist/workflow.d.ts +6 -0
- package/dist/workflow.d.ts.map +1 -1
- package/dist/workflow.js +3 -0
- package/dist/workflow.js.map +1 -1
- package/dist/workspace-scope.d.ts.map +1 -1
- package/dist/workspace-scope.js +6 -0
- package/dist/workspace-scope.js.map +1 -1
- package/openapi.json +1078 -148
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -4283,6 +4283,56 @@
|
|
|
4283
4283
|
"title": "ClientEnvironmentConfiguration",
|
|
4284
4284
|
"type": "object"
|
|
4285
4285
|
},
|
|
4286
|
+
"ClientOutputAlternative": {
|
|
4287
|
+
"additionalProperties": false,
|
|
4288
|
+
"properties": {
|
|
4289
|
+
"description": {
|
|
4290
|
+
"anyOf": [
|
|
4291
|
+
{
|
|
4292
|
+
"maxLength": 4096,
|
|
4293
|
+
"type": "string"
|
|
4294
|
+
},
|
|
4295
|
+
{
|
|
4296
|
+
"type": "null"
|
|
4297
|
+
}
|
|
4298
|
+
],
|
|
4299
|
+
"title": "Description"
|
|
4300
|
+
},
|
|
4301
|
+
"kind": {
|
|
4302
|
+
"const": "client_tool",
|
|
4303
|
+
"title": "Kind",
|
|
4304
|
+
"type": "string"
|
|
4305
|
+
},
|
|
4306
|
+
"name": {
|
|
4307
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$",
|
|
4308
|
+
"title": "Name",
|
|
4309
|
+
"type": "string"
|
|
4310
|
+
},
|
|
4311
|
+
"resources": {
|
|
4312
|
+
"maxProperties": 128,
|
|
4313
|
+
"patternProperties": {
|
|
4314
|
+
"^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$": {
|
|
4315
|
+
"additionalProperties": {
|
|
4316
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
4317
|
+
},
|
|
4318
|
+
"type": "object"
|
|
4319
|
+
}
|
|
4320
|
+
},
|
|
4321
|
+
"title": "Resources",
|
|
4322
|
+
"type": "object"
|
|
4323
|
+
},
|
|
4324
|
+
"schema": {
|
|
4325
|
+
"additionalProperties": {
|
|
4326
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
4327
|
+
},
|
|
4328
|
+
"title": "Schema",
|
|
4329
|
+
"type": "object"
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
"required": ["name", "schema", "kind"],
|
|
4333
|
+
"title": "ClientOutputAlternative",
|
|
4334
|
+
"type": "object"
|
|
4335
|
+
},
|
|
4286
4336
|
"ClientToolDefinition": {
|
|
4287
4337
|
"additionalProperties": false,
|
|
4288
4338
|
"description": "Portable model guidance for one externally executed client tool.",
|
|
@@ -6677,6 +6727,162 @@
|
|
|
6677
6727
|
"title": "Deny",
|
|
6678
6728
|
"type": "object"
|
|
6679
6729
|
},
|
|
6730
|
+
"Deployment": {
|
|
6731
|
+
"properties": {
|
|
6732
|
+
"account_id": {
|
|
6733
|
+
"title": "Account Id",
|
|
6734
|
+
"type": "string"
|
|
6735
|
+
},
|
|
6736
|
+
"cleanup": {
|
|
6737
|
+
"additionalProperties": {
|
|
6738
|
+
"enum": ["removed", "pending", "not_created"],
|
|
6739
|
+
"type": "string"
|
|
6740
|
+
},
|
|
6741
|
+
"title": "Cleanup",
|
|
6742
|
+
"type": "object"
|
|
6743
|
+
},
|
|
6744
|
+
"endpoint": {
|
|
6745
|
+
"anyOf": [
|
|
6746
|
+
{
|
|
6747
|
+
"type": "string"
|
|
6748
|
+
},
|
|
6749
|
+
{
|
|
6750
|
+
"type": "null"
|
|
6751
|
+
}
|
|
6752
|
+
],
|
|
6753
|
+
"title": "Endpoint"
|
|
6754
|
+
},
|
|
6755
|
+
"error": {
|
|
6756
|
+
"anyOf": [
|
|
6757
|
+
{
|
|
6758
|
+
"type": "string"
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"type": "null"
|
|
6762
|
+
}
|
|
6763
|
+
],
|
|
6764
|
+
"title": "Error"
|
|
6765
|
+
},
|
|
6766
|
+
"id": {
|
|
6767
|
+
"title": "Id",
|
|
6768
|
+
"type": "string"
|
|
6769
|
+
},
|
|
6770
|
+
"name": {
|
|
6771
|
+
"title": "Name",
|
|
6772
|
+
"type": "string"
|
|
6773
|
+
},
|
|
6774
|
+
"operation": {
|
|
6775
|
+
"enum": ["deploy", "retire"],
|
|
6776
|
+
"title": "Operation",
|
|
6777
|
+
"type": "string"
|
|
6778
|
+
},
|
|
6779
|
+
"provider_id": {
|
|
6780
|
+
"anyOf": [
|
|
6781
|
+
{
|
|
6782
|
+
"type": "string"
|
|
6783
|
+
},
|
|
6784
|
+
{
|
|
6785
|
+
"type": "null"
|
|
6786
|
+
}
|
|
6787
|
+
],
|
|
6788
|
+
"title": "Provider Id"
|
|
6789
|
+
},
|
|
6790
|
+
"source_image": {
|
|
6791
|
+
"title": "Source Image",
|
|
6792
|
+
"type": "string"
|
|
6793
|
+
},
|
|
6794
|
+
"stage": {
|
|
6795
|
+
"title": "Stage",
|
|
6796
|
+
"type": "string"
|
|
6797
|
+
},
|
|
6798
|
+
"status": {
|
|
6799
|
+
"enum": [
|
|
6800
|
+
"deploying",
|
|
6801
|
+
"ready",
|
|
6802
|
+
"retiring",
|
|
6803
|
+
"needs_attention",
|
|
6804
|
+
"retired"
|
|
6805
|
+
],
|
|
6806
|
+
"title": "Status",
|
|
6807
|
+
"type": "string"
|
|
6808
|
+
},
|
|
6809
|
+
"version": {
|
|
6810
|
+
"title": "Version",
|
|
6811
|
+
"type": "integer"
|
|
6812
|
+
},
|
|
6813
|
+
"worker_name": {
|
|
6814
|
+
"title": "Worker Name",
|
|
6815
|
+
"type": "string"
|
|
6816
|
+
}
|
|
6817
|
+
},
|
|
6818
|
+
"required": [
|
|
6819
|
+
"id",
|
|
6820
|
+
"version",
|
|
6821
|
+
"provider_id",
|
|
6822
|
+
"name",
|
|
6823
|
+
"account_id",
|
|
6824
|
+
"worker_name",
|
|
6825
|
+
"source_image",
|
|
6826
|
+
"status",
|
|
6827
|
+
"operation",
|
|
6828
|
+
"stage",
|
|
6829
|
+
"endpoint",
|
|
6830
|
+
"error",
|
|
6831
|
+
"cleanup"
|
|
6832
|
+
],
|
|
6833
|
+
"title": "Deployment",
|
|
6834
|
+
"type": "object"
|
|
6835
|
+
},
|
|
6836
|
+
"DeploymentCreate": {
|
|
6837
|
+
"additionalProperties": false,
|
|
6838
|
+
"properties": {
|
|
6839
|
+
"account_id": {
|
|
6840
|
+
"pattern": "^[a-f0-9]{32}$",
|
|
6841
|
+
"title": "Account Id",
|
|
6842
|
+
"type": "string"
|
|
6843
|
+
},
|
|
6844
|
+
"api_token": {
|
|
6845
|
+
"format": "password",
|
|
6846
|
+
"maxLength": 512,
|
|
6847
|
+
"minLength": 1,
|
|
6848
|
+
"title": "Api Token",
|
|
6849
|
+
"type": "string",
|
|
6850
|
+
"writeOnly": true
|
|
6851
|
+
},
|
|
6852
|
+
"name": {
|
|
6853
|
+
"maxLength": 128,
|
|
6854
|
+
"minLength": 1,
|
|
6855
|
+
"title": "Name",
|
|
6856
|
+
"type": "string"
|
|
6857
|
+
},
|
|
6858
|
+
"request_id": {
|
|
6859
|
+
"format": "uuid",
|
|
6860
|
+
"title": "Request Id",
|
|
6861
|
+
"type": "string"
|
|
6862
|
+
}
|
|
6863
|
+
},
|
|
6864
|
+
"required": ["request_id", "name", "account_id", "api_token"],
|
|
6865
|
+
"title": "DeploymentCreate",
|
|
6866
|
+
"type": "object"
|
|
6867
|
+
},
|
|
6868
|
+
"DeploymentList": {
|
|
6869
|
+
"properties": {
|
|
6870
|
+
"available": {
|
|
6871
|
+
"title": "Available",
|
|
6872
|
+
"type": "boolean"
|
|
6873
|
+
},
|
|
6874
|
+
"items": {
|
|
6875
|
+
"items": {
|
|
6876
|
+
"$ref": "#/components/schemas/Deployment"
|
|
6877
|
+
},
|
|
6878
|
+
"title": "Items",
|
|
6879
|
+
"type": "array"
|
|
6880
|
+
}
|
|
6881
|
+
},
|
|
6882
|
+
"required": ["available", "items"],
|
|
6883
|
+
"title": "DeploymentList",
|
|
6884
|
+
"type": "object"
|
|
6885
|
+
},
|
|
6680
6886
|
"DeploymentPreset": {
|
|
6681
6887
|
"properties": {
|
|
6682
6888
|
"config": {
|
|
@@ -6699,6 +6905,29 @@
|
|
|
6699
6905
|
"title": "DeploymentPreset",
|
|
6700
6906
|
"type": "object"
|
|
6701
6907
|
},
|
|
6908
|
+
"DeploymentRetry": {
|
|
6909
|
+
"additionalProperties": false,
|
|
6910
|
+
"properties": {
|
|
6911
|
+
"api_token": {
|
|
6912
|
+
"anyOf": [
|
|
6913
|
+
{
|
|
6914
|
+
"format": "password",
|
|
6915
|
+
"maxLength": 512,
|
|
6916
|
+
"minLength": 1,
|
|
6917
|
+
"type": "string",
|
|
6918
|
+
"writeOnly": true
|
|
6919
|
+
},
|
|
6920
|
+
{
|
|
6921
|
+
"type": "null"
|
|
6922
|
+
}
|
|
6923
|
+
],
|
|
6924
|
+
"title": "Api Token",
|
|
6925
|
+
"writeOnly": true
|
|
6926
|
+
}
|
|
6927
|
+
},
|
|
6928
|
+
"title": "DeploymentRetry",
|
|
6929
|
+
"type": "object"
|
|
6930
|
+
},
|
|
6702
6931
|
"Description": {
|
|
6703
6932
|
"maxLength": 2048,
|
|
6704
6933
|
"type": "string"
|
|
@@ -7521,7 +7750,7 @@
|
|
|
7521
7750
|
"type": "string"
|
|
7522
7751
|
},
|
|
7523
7752
|
"kind": {
|
|
7524
|
-
"enum": ["message", "child_result"],
|
|
7753
|
+
"enum": ["message", "child_result", "child_message"],
|
|
7525
7754
|
"title": "Kind",
|
|
7526
7755
|
"type": "string"
|
|
7527
7756
|
},
|
|
@@ -7768,6 +7997,7 @@
|
|
|
7768
7997
|
"enum": [
|
|
7769
7998
|
"message",
|
|
7770
7999
|
"child_result",
|
|
8000
|
+
"child_message",
|
|
7771
8001
|
"tool_result",
|
|
7772
8002
|
"browser_handback",
|
|
7773
8003
|
"desktop_handback"
|
|
@@ -15348,6 +15578,16 @@
|
|
|
15348
15578
|
],
|
|
15349
15579
|
"title": "Agent Revision Id"
|
|
15350
15580
|
},
|
|
15581
|
+
"browser_binding": {
|
|
15582
|
+
"anyOf": [
|
|
15583
|
+
{
|
|
15584
|
+
"$ref": "#/components/schemas/BrowserBinding"
|
|
15585
|
+
},
|
|
15586
|
+
{
|
|
15587
|
+
"type": "null"
|
|
15588
|
+
}
|
|
15589
|
+
]
|
|
15590
|
+
},
|
|
15351
15591
|
"delivery": {
|
|
15352
15592
|
"$ref": "#/components/schemas/Delivery",
|
|
15353
15593
|
"default": "steer"
|
|
@@ -16640,6 +16880,33 @@
|
|
|
16640
16880
|
"title": "OrganizationUpdate",
|
|
16641
16881
|
"type": "object"
|
|
16642
16882
|
},
|
|
16883
|
+
"OutputAlternative": {
|
|
16884
|
+
"anyOf": [
|
|
16885
|
+
{
|
|
16886
|
+
"$ref": "#/components/schemas/OutputReference"
|
|
16887
|
+
},
|
|
16888
|
+
{
|
|
16889
|
+
"$ref": "#/components/schemas/OutputDefinition"
|
|
16890
|
+
}
|
|
16891
|
+
]
|
|
16892
|
+
},
|
|
16893
|
+
"OutputDefinition": {
|
|
16894
|
+
"discriminator": {
|
|
16895
|
+
"mapping": {
|
|
16896
|
+
"client_tool": "#/components/schemas/ClientOutputAlternative",
|
|
16897
|
+
"structured": "#/components/schemas/StructuredOutputAlternative"
|
|
16898
|
+
},
|
|
16899
|
+
"propertyName": "kind"
|
|
16900
|
+
},
|
|
16901
|
+
"oneOf": [
|
|
16902
|
+
{
|
|
16903
|
+
"$ref": "#/components/schemas/StructuredOutputAlternative"
|
|
16904
|
+
},
|
|
16905
|
+
{
|
|
16906
|
+
"$ref": "#/components/schemas/ClientOutputAlternative"
|
|
16907
|
+
}
|
|
16908
|
+
]
|
|
16909
|
+
},
|
|
16643
16910
|
"OutputPreview": {
|
|
16644
16911
|
"properties": {
|
|
16645
16912
|
"observation_closed": {
|
|
@@ -16675,10 +16942,31 @@
|
|
|
16675
16942
|
"title": "OutputPreview",
|
|
16676
16943
|
"type": "object"
|
|
16677
16944
|
},
|
|
16945
|
+
"OutputReference": {
|
|
16946
|
+
"maxLength": 128,
|
|
16947
|
+
"pattern": "^(text|builtin\\.[A-Za-z0-9_.-]+|[A-Za-z_][A-Za-z0-9_.:-]*:[A-Za-z0-9_.-]+)$",
|
|
16948
|
+
"type": "string"
|
|
16949
|
+
},
|
|
16678
16950
|
"OutputSpec": {
|
|
16679
16951
|
"additionalProperties": false,
|
|
16680
16952
|
"description": "Plain text without a schema, one structured output, or at least two named variants.\n\n`resources` are the schemas `$ref`s may name besides the schema's own definitions.",
|
|
16681
16953
|
"properties": {
|
|
16954
|
+
"alternatives": {
|
|
16955
|
+
"anyOf": [
|
|
16956
|
+
{
|
|
16957
|
+
"items": {
|
|
16958
|
+
"$ref": "#/components/schemas/OutputAlternative"
|
|
16959
|
+
},
|
|
16960
|
+
"maxItems": 32,
|
|
16961
|
+
"minItems": 1,
|
|
16962
|
+
"type": "array"
|
|
16963
|
+
},
|
|
16964
|
+
{
|
|
16965
|
+
"type": "null"
|
|
16966
|
+
}
|
|
16967
|
+
],
|
|
16968
|
+
"title": "Alternatives"
|
|
16969
|
+
},
|
|
16682
16970
|
"description": {
|
|
16683
16971
|
"anyOf": [
|
|
16684
16972
|
{
|
|
@@ -17200,6 +17488,11 @@
|
|
|
17200
17488
|
],
|
|
17201
17489
|
"title": "Presentation"
|
|
17202
17490
|
},
|
|
17491
|
+
"terminal": {
|
|
17492
|
+
"default": false,
|
|
17493
|
+
"title": "Terminal",
|
|
17494
|
+
"type": "boolean"
|
|
17495
|
+
},
|
|
17203
17496
|
"tool_call_id": {
|
|
17204
17497
|
"$ref": "#/components/schemas/ToolCallId"
|
|
17205
17498
|
},
|
|
@@ -17948,6 +18241,11 @@
|
|
|
17948
18241
|
"title": "Id",
|
|
17949
18242
|
"type": "string"
|
|
17950
18243
|
},
|
|
18244
|
+
"managed_deployment": {
|
|
18245
|
+
"default": false,
|
|
18246
|
+
"title": "Managed Deployment",
|
|
18247
|
+
"type": "boolean"
|
|
18248
|
+
},
|
|
17951
18249
|
"name": {
|
|
17952
18250
|
"title": "Name",
|
|
17953
18251
|
"type": "string"
|
|
@@ -20968,6 +21266,20 @@
|
|
|
20968
21266
|
],
|
|
20969
21267
|
"title": "Agent Revision Id"
|
|
20970
21268
|
},
|
|
21269
|
+
"browser_binding": {
|
|
21270
|
+
"anyOf": [
|
|
21271
|
+
{
|
|
21272
|
+
"$ref": "#/components/schemas/BrowserBinding"
|
|
21273
|
+
},
|
|
21274
|
+
{
|
|
21275
|
+
"type": "null"
|
|
21276
|
+
}
|
|
21277
|
+
]
|
|
21278
|
+
},
|
|
21279
|
+
"environments": {
|
|
21280
|
+
"$ref": "#/components/schemas/InitialMounts",
|
|
21281
|
+
"default": []
|
|
21282
|
+
},
|
|
20971
21283
|
"memories": {
|
|
20972
21284
|
"default": [],
|
|
20973
21285
|
"items": {
|
|
@@ -21010,6 +21322,20 @@
|
|
|
21010
21322
|
],
|
|
21011
21323
|
"title": "Agent Revision Id"
|
|
21012
21324
|
},
|
|
21325
|
+
"browser_binding": {
|
|
21326
|
+
"anyOf": [
|
|
21327
|
+
{
|
|
21328
|
+
"$ref": "#/components/schemas/BrowserBinding"
|
|
21329
|
+
},
|
|
21330
|
+
{
|
|
21331
|
+
"type": "null"
|
|
21332
|
+
}
|
|
21333
|
+
]
|
|
21334
|
+
},
|
|
21335
|
+
"environments": {
|
|
21336
|
+
"$ref": "#/components/schemas/InitialMounts",
|
|
21337
|
+
"default": []
|
|
21338
|
+
},
|
|
21013
21339
|
"memories": {
|
|
21014
21340
|
"default": [],
|
|
21015
21341
|
"items": {
|
|
@@ -22341,6 +22667,59 @@
|
|
|
22341
22667
|
"title": "SessionUpdate",
|
|
22342
22668
|
"type": "object"
|
|
22343
22669
|
},
|
|
22670
|
+
"SessionUsage": {
|
|
22671
|
+
"properties": {
|
|
22672
|
+
"runs": {
|
|
22673
|
+
"$ref": "#/components/schemas/RunMetrics"
|
|
22674
|
+
},
|
|
22675
|
+
"session_id": {
|
|
22676
|
+
"title": "Session Id",
|
|
22677
|
+
"type": "string"
|
|
22678
|
+
},
|
|
22679
|
+
"title": {
|
|
22680
|
+
"anyOf": [
|
|
22681
|
+
{
|
|
22682
|
+
"type": "string"
|
|
22683
|
+
},
|
|
22684
|
+
{
|
|
22685
|
+
"type": "null"
|
|
22686
|
+
}
|
|
22687
|
+
],
|
|
22688
|
+
"title": "Title"
|
|
22689
|
+
},
|
|
22690
|
+
"usage": {
|
|
22691
|
+
"$ref": "#/components/schemas/ModelMetrics"
|
|
22692
|
+
}
|
|
22693
|
+
},
|
|
22694
|
+
"required": ["session_id", "title", "usage", "runs"],
|
|
22695
|
+
"title": "SessionUsage",
|
|
22696
|
+
"type": "object"
|
|
22697
|
+
},
|
|
22698
|
+
"SessionUsagePage": {
|
|
22699
|
+
"properties": {
|
|
22700
|
+
"items": {
|
|
22701
|
+
"items": {
|
|
22702
|
+
"$ref": "#/components/schemas/SessionUsage"
|
|
22703
|
+
},
|
|
22704
|
+
"title": "Items",
|
|
22705
|
+
"type": "array"
|
|
22706
|
+
},
|
|
22707
|
+
"next_cursor": {
|
|
22708
|
+
"anyOf": [
|
|
22709
|
+
{
|
|
22710
|
+
"type": "string"
|
|
22711
|
+
},
|
|
22712
|
+
{
|
|
22713
|
+
"type": "null"
|
|
22714
|
+
}
|
|
22715
|
+
],
|
|
22716
|
+
"title": "Next Cursor"
|
|
22717
|
+
}
|
|
22718
|
+
},
|
|
22719
|
+
"required": ["items", "next_cursor"],
|
|
22720
|
+
"title": "SessionUsagePage",
|
|
22721
|
+
"type": "object"
|
|
22722
|
+
},
|
|
22344
22723
|
"SessionView": {
|
|
22345
22724
|
"properties": {
|
|
22346
22725
|
"auto_recreate_lost_environment": {
|
|
@@ -23789,6 +24168,56 @@
|
|
|
23789
24168
|
"enum": ["boundary", "immediate"],
|
|
23790
24169
|
"type": "string"
|
|
23791
24170
|
},
|
|
24171
|
+
"StructuredOutputAlternative": {
|
|
24172
|
+
"additionalProperties": false,
|
|
24173
|
+
"properties": {
|
|
24174
|
+
"description": {
|
|
24175
|
+
"anyOf": [
|
|
24176
|
+
{
|
|
24177
|
+
"maxLength": 4096,
|
|
24178
|
+
"type": "string"
|
|
24179
|
+
},
|
|
24180
|
+
{
|
|
24181
|
+
"type": "null"
|
|
24182
|
+
}
|
|
24183
|
+
],
|
|
24184
|
+
"title": "Description"
|
|
24185
|
+
},
|
|
24186
|
+
"kind": {
|
|
24187
|
+
"const": "structured",
|
|
24188
|
+
"title": "Kind",
|
|
24189
|
+
"type": "string"
|
|
24190
|
+
},
|
|
24191
|
+
"name": {
|
|
24192
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$",
|
|
24193
|
+
"title": "Name",
|
|
24194
|
+
"type": "string"
|
|
24195
|
+
},
|
|
24196
|
+
"resources": {
|
|
24197
|
+
"maxProperties": 128,
|
|
24198
|
+
"patternProperties": {
|
|
24199
|
+
"^[A-Za-z_][A-Za-z0-9_.:-]{0,127}$": {
|
|
24200
|
+
"additionalProperties": {
|
|
24201
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
24202
|
+
},
|
|
24203
|
+
"type": "object"
|
|
24204
|
+
}
|
|
24205
|
+
},
|
|
24206
|
+
"title": "Resources",
|
|
24207
|
+
"type": "object"
|
|
24208
|
+
},
|
|
24209
|
+
"schema": {
|
|
24210
|
+
"additionalProperties": {
|
|
24211
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
24212
|
+
},
|
|
24213
|
+
"title": "Schema",
|
|
24214
|
+
"type": "object"
|
|
24215
|
+
}
|
|
24216
|
+
},
|
|
24217
|
+
"required": ["name", "schema", "kind"],
|
|
24218
|
+
"title": "StructuredOutputAlternative",
|
|
24219
|
+
"type": "object"
|
|
24220
|
+
},
|
|
23792
24221
|
"SubagentSelection-Input": {
|
|
23793
24222
|
"additionalProperties": false,
|
|
23794
24223
|
"properties": {
|
|
@@ -26223,6 +26652,7 @@
|
|
|
26223
26652
|
"queued",
|
|
26224
26653
|
"resume",
|
|
26225
26654
|
"child_result",
|
|
26655
|
+
"child_message",
|
|
26226
26656
|
"tool_result",
|
|
26227
26657
|
"browser_handback",
|
|
26228
26658
|
"desktop_handback",
|
|
@@ -32102,38 +32532,10 @@
|
|
|
32102
32532
|
"x-a13n-mcp": false
|
|
32103
32533
|
}
|
|
32104
32534
|
},
|
|
32105
|
-
"/api/v1/
|
|
32535
|
+
"/api/v1/cloudflare-deployments": {
|
|
32106
32536
|
"get": {
|
|
32107
|
-
"operationId": "
|
|
32537
|
+
"operationId": "list_cloudflare_deployments",
|
|
32108
32538
|
"parameters": [
|
|
32109
|
-
{
|
|
32110
|
-
"in": "query",
|
|
32111
|
-
"name": "limit",
|
|
32112
|
-
"required": false,
|
|
32113
|
-
"schema": {
|
|
32114
|
-
"default": 50,
|
|
32115
|
-
"maximum": 100,
|
|
32116
|
-
"minimum": 1,
|
|
32117
|
-
"title": "Limit",
|
|
32118
|
-
"type": "integer"
|
|
32119
|
-
}
|
|
32120
|
-
},
|
|
32121
|
-
{
|
|
32122
|
-
"in": "query",
|
|
32123
|
-
"name": "cursor",
|
|
32124
|
-
"required": false,
|
|
32125
|
-
"schema": {
|
|
32126
|
-
"anyOf": [
|
|
32127
|
-
{
|
|
32128
|
-
"type": "string"
|
|
32129
|
-
},
|
|
32130
|
-
{
|
|
32131
|
-
"type": "null"
|
|
32132
|
-
}
|
|
32133
|
-
],
|
|
32134
|
-
"title": "Cursor"
|
|
32135
|
-
}
|
|
32136
|
-
},
|
|
32137
32539
|
{
|
|
32138
32540
|
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32139
32541
|
"in": "header",
|
|
@@ -32160,7 +32562,7 @@
|
|
|
32160
32562
|
"content": {
|
|
32161
32563
|
"application/json": {
|
|
32162
32564
|
"schema": {
|
|
32163
|
-
"$ref": "#/components/schemas/
|
|
32565
|
+
"$ref": "#/components/schemas/DeploymentList"
|
|
32164
32566
|
}
|
|
32165
32567
|
}
|
|
32166
32568
|
},
|
|
@@ -32181,16 +32583,11 @@
|
|
|
32181
32583
|
"loginSession": []
|
|
32182
32584
|
}
|
|
32183
32585
|
],
|
|
32184
|
-
"summary": "List
|
|
32185
|
-
"tags": ["
|
|
32186
|
-
"x-a13n-mcp": true,
|
|
32187
|
-
"x-a13n-platform": {
|
|
32188
|
-
"effect": "read",
|
|
32189
|
-
"group": "connections"
|
|
32190
|
-
}
|
|
32586
|
+
"summary": "List Cloudflare Deployments",
|
|
32587
|
+
"tags": ["cloudflare-deployments"]
|
|
32191
32588
|
},
|
|
32192
32589
|
"post": {
|
|
32193
|
-
"operationId": "
|
|
32590
|
+
"operationId": "create_cloudflare_deployment",
|
|
32194
32591
|
"parameters": [
|
|
32195
32592
|
{
|
|
32196
32593
|
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
@@ -32217,18 +32614,18 @@
|
|
|
32217
32614
|
"content": {
|
|
32218
32615
|
"application/json": {
|
|
32219
32616
|
"schema": {
|
|
32220
|
-
"$ref": "#/components/schemas/
|
|
32617
|
+
"$ref": "#/components/schemas/DeploymentCreate"
|
|
32221
32618
|
}
|
|
32222
32619
|
}
|
|
32223
32620
|
},
|
|
32224
32621
|
"required": true
|
|
32225
32622
|
},
|
|
32226
32623
|
"responses": {
|
|
32227
|
-
"
|
|
32624
|
+
"202": {
|
|
32228
32625
|
"content": {
|
|
32229
32626
|
"application/json": {
|
|
32230
32627
|
"schema": {
|
|
32231
|
-
"$ref": "#/components/schemas/
|
|
32628
|
+
"$ref": "#/components/schemas/Deployment"
|
|
32232
32629
|
}
|
|
32233
32630
|
}
|
|
32234
32631
|
},
|
|
@@ -32250,97 +32647,41 @@
|
|
|
32250
32647
|
"loginSession": []
|
|
32251
32648
|
}
|
|
32252
32649
|
],
|
|
32253
|
-
"summary": "Create
|
|
32254
|
-
"tags": ["
|
|
32255
|
-
"x-a13n-mcp": true,
|
|
32256
|
-
"x-a13n-platform": {
|
|
32257
|
-
"effect": "write",
|
|
32258
|
-
"group": "connections"
|
|
32259
|
-
}
|
|
32650
|
+
"summary": "Create Cloudflare Deployment",
|
|
32651
|
+
"tags": ["cloudflare-deployments"]
|
|
32260
32652
|
}
|
|
32261
32653
|
},
|
|
32262
|
-
"/api/v1/
|
|
32654
|
+
"/api/v1/cloudflare-deployments/{deployment_id}": {
|
|
32263
32655
|
"get": {
|
|
32264
|
-
"
|
|
32265
|
-
"operationId": "complete_authorization",
|
|
32656
|
+
"operationId": "get_cloudflare_deployment",
|
|
32266
32657
|
"parameters": [
|
|
32267
32658
|
{
|
|
32268
|
-
"in": "
|
|
32269
|
-
"name": "
|
|
32659
|
+
"in": "path",
|
|
32660
|
+
"name": "deployment_id",
|
|
32270
32661
|
"required": true,
|
|
32271
32662
|
"schema": {
|
|
32272
|
-
"
|
|
32273
|
-
"minLength": 16,
|
|
32274
|
-
"title": "State",
|
|
32663
|
+
"title": "Deployment Id",
|
|
32275
32664
|
"type": "string"
|
|
32276
32665
|
}
|
|
32277
32666
|
},
|
|
32278
32667
|
{
|
|
32279
|
-
"
|
|
32280
|
-
"
|
|
32281
|
-
"
|
|
32282
|
-
"schema": {
|
|
32283
|
-
"anyOf": [
|
|
32284
|
-
{
|
|
32285
|
-
"maxLength": 4096,
|
|
32286
|
-
"type": "string"
|
|
32287
|
-
},
|
|
32288
|
-
{
|
|
32289
|
-
"type": "null"
|
|
32290
|
-
}
|
|
32291
|
-
],
|
|
32292
|
-
"title": "Code"
|
|
32293
|
-
}
|
|
32294
|
-
},
|
|
32295
|
-
{
|
|
32296
|
-
"in": "query",
|
|
32297
|
-
"name": "error",
|
|
32298
|
-
"required": false,
|
|
32299
|
-
"schema": {
|
|
32300
|
-
"anyOf": [
|
|
32301
|
-
{
|
|
32302
|
-
"maxLength": 256,
|
|
32303
|
-
"type": "string"
|
|
32304
|
-
},
|
|
32305
|
-
{
|
|
32306
|
-
"type": "null"
|
|
32307
|
-
}
|
|
32308
|
-
],
|
|
32309
|
-
"title": "Error"
|
|
32310
|
-
}
|
|
32311
|
-
},
|
|
32312
|
-
{
|
|
32313
|
-
"in": "query",
|
|
32314
|
-
"name": "iss",
|
|
32315
|
-
"required": false,
|
|
32316
|
-
"schema": {
|
|
32317
|
-
"anyOf": [
|
|
32318
|
-
{
|
|
32319
|
-
"maxLength": 2048,
|
|
32320
|
-
"type": "string"
|
|
32321
|
-
},
|
|
32322
|
-
{
|
|
32323
|
-
"type": "null"
|
|
32324
|
-
}
|
|
32325
|
-
],
|
|
32326
|
-
"title": "Iss"
|
|
32327
|
-
}
|
|
32328
|
-
},
|
|
32329
|
-
{
|
|
32330
|
-
"in": "query",
|
|
32331
|
-
"name": "session_uri",
|
|
32668
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32669
|
+
"in": "header",
|
|
32670
|
+
"name": "X-Workspace-ID",
|
|
32332
32671
|
"required": false,
|
|
32333
32672
|
"schema": {
|
|
32334
32673
|
"anyOf": [
|
|
32335
32674
|
{
|
|
32336
|
-
"maxLength":
|
|
32675
|
+
"maxLength": 41,
|
|
32676
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
32337
32677
|
"type": "string"
|
|
32338
32678
|
},
|
|
32339
32679
|
{
|
|
32340
32680
|
"type": "null"
|
|
32341
32681
|
}
|
|
32342
32682
|
],
|
|
32343
|
-
"
|
|
32683
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32684
|
+
"title": "X-Workspace-Id"
|
|
32344
32685
|
}
|
|
32345
32686
|
}
|
|
32346
32687
|
],
|
|
@@ -32349,15 +32690,12 @@
|
|
|
32349
32690
|
"content": {
|
|
32350
32691
|
"application/json": {
|
|
32351
32692
|
"schema": {
|
|
32352
|
-
"$ref": "#/components/schemas/
|
|
32693
|
+
"$ref": "#/components/schemas/Deployment"
|
|
32353
32694
|
}
|
|
32354
32695
|
}
|
|
32355
32696
|
},
|
|
32356
32697
|
"description": "Successful Response"
|
|
32357
32698
|
},
|
|
32358
|
-
"303": {
|
|
32359
|
-
"description": "Back to the return URL the authorization named"
|
|
32360
|
-
},
|
|
32361
32699
|
"400": {
|
|
32362
32700
|
"$ref": "#/components/responses/Error"
|
|
32363
32701
|
},
|
|
@@ -32365,29 +32703,6 @@
|
|
|
32365
32703
|
"$ref": "#/components/responses/Error"
|
|
32366
32704
|
}
|
|
32367
32705
|
},
|
|
32368
|
-
"summary": "Complete Authorization",
|
|
32369
|
-
"tags": ["connections"]
|
|
32370
|
-
}
|
|
32371
|
-
},
|
|
32372
|
-
"/api/v1/connections/redirect-uri": {
|
|
32373
|
-
"get": {
|
|
32374
|
-
"description": "The deployment's callback, for registering an OAuth client in advance; the same for every connection.",
|
|
32375
|
-
"operationId": "get_redirect_uri",
|
|
32376
|
-
"responses": {
|
|
32377
|
-
"200": {
|
|
32378
|
-
"content": {
|
|
32379
|
-
"application/json": {
|
|
32380
|
-
"schema": {
|
|
32381
|
-
"$ref": "#/components/schemas/OAuthRedirect"
|
|
32382
|
-
}
|
|
32383
|
-
}
|
|
32384
|
-
},
|
|
32385
|
-
"description": "Successful Response"
|
|
32386
|
-
},
|
|
32387
|
-
"default": {
|
|
32388
|
-
"$ref": "#/components/responses/Error"
|
|
32389
|
-
}
|
|
32390
|
-
},
|
|
32391
32706
|
"security": [
|
|
32392
32707
|
{
|
|
32393
32708
|
"apiKey": []
|
|
@@ -32396,20 +32711,498 @@
|
|
|
32396
32711
|
"loginSession": []
|
|
32397
32712
|
}
|
|
32398
32713
|
],
|
|
32399
|
-
"summary": "Get
|
|
32400
|
-
"tags": ["
|
|
32714
|
+
"summary": "Get Cloudflare Deployment",
|
|
32715
|
+
"tags": ["cloudflare-deployments"]
|
|
32401
32716
|
}
|
|
32402
32717
|
},
|
|
32403
|
-
"/api/v1/
|
|
32404
|
-
"
|
|
32405
|
-
"operationId": "
|
|
32718
|
+
"/api/v1/cloudflare-deployments/{deployment_id}/retire": {
|
|
32719
|
+
"post": {
|
|
32720
|
+
"operationId": "retire_cloudflare_deployment",
|
|
32406
32721
|
"parameters": [
|
|
32407
32722
|
{
|
|
32408
32723
|
"in": "path",
|
|
32409
|
-
"name": "
|
|
32724
|
+
"name": "deployment_id",
|
|
32410
32725
|
"required": true,
|
|
32411
32726
|
"schema": {
|
|
32412
|
-
"title": "
|
|
32727
|
+
"title": "Deployment Id",
|
|
32728
|
+
"type": "string"
|
|
32729
|
+
}
|
|
32730
|
+
},
|
|
32731
|
+
{
|
|
32732
|
+
"description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
|
|
32733
|
+
"in": "header",
|
|
32734
|
+
"name": "If-Match",
|
|
32735
|
+
"required": false,
|
|
32736
|
+
"schema": {
|
|
32737
|
+
"anyOf": [
|
|
32738
|
+
{
|
|
32739
|
+
"maxLength": 512,
|
|
32740
|
+
"type": "string"
|
|
32741
|
+
},
|
|
32742
|
+
{
|
|
32743
|
+
"type": "null"
|
|
32744
|
+
}
|
|
32745
|
+
],
|
|
32746
|
+
"description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
|
|
32747
|
+
"title": "If-Match",
|
|
32748
|
+
"x-a13n-mcp-entity-tag": "expected_version"
|
|
32749
|
+
}
|
|
32750
|
+
},
|
|
32751
|
+
{
|
|
32752
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32753
|
+
"in": "header",
|
|
32754
|
+
"name": "X-Workspace-ID",
|
|
32755
|
+
"required": false,
|
|
32756
|
+
"schema": {
|
|
32757
|
+
"anyOf": [
|
|
32758
|
+
{
|
|
32759
|
+
"maxLength": 41,
|
|
32760
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
32761
|
+
"type": "string"
|
|
32762
|
+
},
|
|
32763
|
+
{
|
|
32764
|
+
"type": "null"
|
|
32765
|
+
}
|
|
32766
|
+
],
|
|
32767
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32768
|
+
"title": "X-Workspace-Id"
|
|
32769
|
+
}
|
|
32770
|
+
}
|
|
32771
|
+
],
|
|
32772
|
+
"responses": {
|
|
32773
|
+
"202": {
|
|
32774
|
+
"content": {
|
|
32775
|
+
"application/json": {
|
|
32776
|
+
"schema": {
|
|
32777
|
+
"$ref": "#/components/schemas/Deployment"
|
|
32778
|
+
}
|
|
32779
|
+
}
|
|
32780
|
+
},
|
|
32781
|
+
"description": "Successful Response"
|
|
32782
|
+
},
|
|
32783
|
+
"400": {
|
|
32784
|
+
"$ref": "#/components/responses/Error"
|
|
32785
|
+
},
|
|
32786
|
+
"default": {
|
|
32787
|
+
"$ref": "#/components/responses/Error"
|
|
32788
|
+
}
|
|
32789
|
+
},
|
|
32790
|
+
"security": [
|
|
32791
|
+
{
|
|
32792
|
+
"apiKey": []
|
|
32793
|
+
},
|
|
32794
|
+
{
|
|
32795
|
+
"csrf": [],
|
|
32796
|
+
"loginSession": []
|
|
32797
|
+
}
|
|
32798
|
+
],
|
|
32799
|
+
"summary": "Retire Cloudflare Deployment",
|
|
32800
|
+
"tags": ["cloudflare-deployments"]
|
|
32801
|
+
}
|
|
32802
|
+
},
|
|
32803
|
+
"/api/v1/cloudflare-deployments/{deployment_id}/retry": {
|
|
32804
|
+
"post": {
|
|
32805
|
+
"operationId": "retry_cloudflare_deployment",
|
|
32806
|
+
"parameters": [
|
|
32807
|
+
{
|
|
32808
|
+
"in": "path",
|
|
32809
|
+
"name": "deployment_id",
|
|
32810
|
+
"required": true,
|
|
32811
|
+
"schema": {
|
|
32812
|
+
"title": "Deployment Id",
|
|
32813
|
+
"type": "string"
|
|
32814
|
+
}
|
|
32815
|
+
},
|
|
32816
|
+
{
|
|
32817
|
+
"description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
|
|
32818
|
+
"in": "header",
|
|
32819
|
+
"name": "If-Match",
|
|
32820
|
+
"required": false,
|
|
32821
|
+
"schema": {
|
|
32822
|
+
"anyOf": [
|
|
32823
|
+
{
|
|
32824
|
+
"maxLength": 512,
|
|
32825
|
+
"type": "string"
|
|
32826
|
+
},
|
|
32827
|
+
{
|
|
32828
|
+
"type": "null"
|
|
32829
|
+
}
|
|
32830
|
+
],
|
|
32831
|
+
"description": "The resource's ETag: `\"{id}:{version}\"` of its current view, `\"{key}:{version}\"` for a model",
|
|
32832
|
+
"title": "If-Match",
|
|
32833
|
+
"x-a13n-mcp-entity-tag": "expected_version"
|
|
32834
|
+
}
|
|
32835
|
+
},
|
|
32836
|
+
{
|
|
32837
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32838
|
+
"in": "header",
|
|
32839
|
+
"name": "X-Workspace-ID",
|
|
32840
|
+
"required": false,
|
|
32841
|
+
"schema": {
|
|
32842
|
+
"anyOf": [
|
|
32843
|
+
{
|
|
32844
|
+
"maxLength": 41,
|
|
32845
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
32846
|
+
"type": "string"
|
|
32847
|
+
},
|
|
32848
|
+
{
|
|
32849
|
+
"type": "null"
|
|
32850
|
+
}
|
|
32851
|
+
],
|
|
32852
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32853
|
+
"title": "X-Workspace-Id"
|
|
32854
|
+
}
|
|
32855
|
+
}
|
|
32856
|
+
],
|
|
32857
|
+
"requestBody": {
|
|
32858
|
+
"content": {
|
|
32859
|
+
"application/json": {
|
|
32860
|
+
"schema": {
|
|
32861
|
+
"$ref": "#/components/schemas/DeploymentRetry"
|
|
32862
|
+
}
|
|
32863
|
+
}
|
|
32864
|
+
},
|
|
32865
|
+
"required": true
|
|
32866
|
+
},
|
|
32867
|
+
"responses": {
|
|
32868
|
+
"202": {
|
|
32869
|
+
"content": {
|
|
32870
|
+
"application/json": {
|
|
32871
|
+
"schema": {
|
|
32872
|
+
"$ref": "#/components/schemas/Deployment"
|
|
32873
|
+
}
|
|
32874
|
+
}
|
|
32875
|
+
},
|
|
32876
|
+
"description": "Successful Response"
|
|
32877
|
+
},
|
|
32878
|
+
"400": {
|
|
32879
|
+
"$ref": "#/components/responses/Error"
|
|
32880
|
+
},
|
|
32881
|
+
"default": {
|
|
32882
|
+
"$ref": "#/components/responses/Error"
|
|
32883
|
+
}
|
|
32884
|
+
},
|
|
32885
|
+
"security": [
|
|
32886
|
+
{
|
|
32887
|
+
"apiKey": []
|
|
32888
|
+
},
|
|
32889
|
+
{
|
|
32890
|
+
"csrf": [],
|
|
32891
|
+
"loginSession": []
|
|
32892
|
+
}
|
|
32893
|
+
],
|
|
32894
|
+
"summary": "Retry Cloudflare Deployment",
|
|
32895
|
+
"tags": ["cloudflare-deployments"]
|
|
32896
|
+
}
|
|
32897
|
+
},
|
|
32898
|
+
"/api/v1/connections": {
|
|
32899
|
+
"get": {
|
|
32900
|
+
"operationId": "list_connections",
|
|
32901
|
+
"parameters": [
|
|
32902
|
+
{
|
|
32903
|
+
"in": "query",
|
|
32904
|
+
"name": "limit",
|
|
32905
|
+
"required": false,
|
|
32906
|
+
"schema": {
|
|
32907
|
+
"default": 50,
|
|
32908
|
+
"maximum": 100,
|
|
32909
|
+
"minimum": 1,
|
|
32910
|
+
"title": "Limit",
|
|
32911
|
+
"type": "integer"
|
|
32912
|
+
}
|
|
32913
|
+
},
|
|
32914
|
+
{
|
|
32915
|
+
"in": "query",
|
|
32916
|
+
"name": "cursor",
|
|
32917
|
+
"required": false,
|
|
32918
|
+
"schema": {
|
|
32919
|
+
"anyOf": [
|
|
32920
|
+
{
|
|
32921
|
+
"type": "string"
|
|
32922
|
+
},
|
|
32923
|
+
{
|
|
32924
|
+
"type": "null"
|
|
32925
|
+
}
|
|
32926
|
+
],
|
|
32927
|
+
"title": "Cursor"
|
|
32928
|
+
}
|
|
32929
|
+
},
|
|
32930
|
+
{
|
|
32931
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32932
|
+
"in": "header",
|
|
32933
|
+
"name": "X-Workspace-ID",
|
|
32934
|
+
"required": false,
|
|
32935
|
+
"schema": {
|
|
32936
|
+
"anyOf": [
|
|
32937
|
+
{
|
|
32938
|
+
"maxLength": 41,
|
|
32939
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
32940
|
+
"type": "string"
|
|
32941
|
+
},
|
|
32942
|
+
{
|
|
32943
|
+
"type": "null"
|
|
32944
|
+
}
|
|
32945
|
+
],
|
|
32946
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32947
|
+
"title": "X-Workspace-Id"
|
|
32948
|
+
}
|
|
32949
|
+
}
|
|
32950
|
+
],
|
|
32951
|
+
"responses": {
|
|
32952
|
+
"200": {
|
|
32953
|
+
"content": {
|
|
32954
|
+
"application/json": {
|
|
32955
|
+
"schema": {
|
|
32956
|
+
"$ref": "#/components/schemas/ConnectionPage"
|
|
32957
|
+
}
|
|
32958
|
+
}
|
|
32959
|
+
},
|
|
32960
|
+
"description": "Successful Response"
|
|
32961
|
+
},
|
|
32962
|
+
"400": {
|
|
32963
|
+
"$ref": "#/components/responses/Error"
|
|
32964
|
+
},
|
|
32965
|
+
"default": {
|
|
32966
|
+
"$ref": "#/components/responses/Error"
|
|
32967
|
+
}
|
|
32968
|
+
},
|
|
32969
|
+
"security": [
|
|
32970
|
+
{
|
|
32971
|
+
"apiKey": []
|
|
32972
|
+
},
|
|
32973
|
+
{
|
|
32974
|
+
"loginSession": []
|
|
32975
|
+
}
|
|
32976
|
+
],
|
|
32977
|
+
"summary": "List Connections",
|
|
32978
|
+
"tags": ["connections"],
|
|
32979
|
+
"x-a13n-mcp": true,
|
|
32980
|
+
"x-a13n-platform": {
|
|
32981
|
+
"effect": "read",
|
|
32982
|
+
"group": "connections"
|
|
32983
|
+
}
|
|
32984
|
+
},
|
|
32985
|
+
"post": {
|
|
32986
|
+
"operationId": "create_connection",
|
|
32987
|
+
"parameters": [
|
|
32988
|
+
{
|
|
32989
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
32990
|
+
"in": "header",
|
|
32991
|
+
"name": "X-Workspace-ID",
|
|
32992
|
+
"required": false,
|
|
32993
|
+
"schema": {
|
|
32994
|
+
"anyOf": [
|
|
32995
|
+
{
|
|
32996
|
+
"maxLength": 41,
|
|
32997
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
32998
|
+
"type": "string"
|
|
32999
|
+
},
|
|
33000
|
+
{
|
|
33001
|
+
"type": "null"
|
|
33002
|
+
}
|
|
33003
|
+
],
|
|
33004
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
33005
|
+
"title": "X-Workspace-Id"
|
|
33006
|
+
}
|
|
33007
|
+
}
|
|
33008
|
+
],
|
|
33009
|
+
"requestBody": {
|
|
33010
|
+
"content": {
|
|
33011
|
+
"application/json": {
|
|
33012
|
+
"schema": {
|
|
33013
|
+
"$ref": "#/components/schemas/ConnectionCreate"
|
|
33014
|
+
}
|
|
33015
|
+
}
|
|
33016
|
+
},
|
|
33017
|
+
"required": true
|
|
33018
|
+
},
|
|
33019
|
+
"responses": {
|
|
33020
|
+
"201": {
|
|
33021
|
+
"content": {
|
|
33022
|
+
"application/json": {
|
|
33023
|
+
"schema": {
|
|
33024
|
+
"$ref": "#/components/schemas/Connection"
|
|
33025
|
+
}
|
|
33026
|
+
}
|
|
33027
|
+
},
|
|
33028
|
+
"description": "Successful Response"
|
|
33029
|
+
},
|
|
33030
|
+
"400": {
|
|
33031
|
+
"$ref": "#/components/responses/Error"
|
|
33032
|
+
},
|
|
33033
|
+
"default": {
|
|
33034
|
+
"$ref": "#/components/responses/Error"
|
|
33035
|
+
}
|
|
33036
|
+
},
|
|
33037
|
+
"security": [
|
|
33038
|
+
{
|
|
33039
|
+
"apiKey": []
|
|
33040
|
+
},
|
|
33041
|
+
{
|
|
33042
|
+
"csrf": [],
|
|
33043
|
+
"loginSession": []
|
|
33044
|
+
}
|
|
33045
|
+
],
|
|
33046
|
+
"summary": "Create Connection",
|
|
33047
|
+
"tags": ["connections"],
|
|
33048
|
+
"x-a13n-mcp": true,
|
|
33049
|
+
"x-a13n-platform": {
|
|
33050
|
+
"effect": "write",
|
|
33051
|
+
"group": "connections"
|
|
33052
|
+
}
|
|
33053
|
+
}
|
|
33054
|
+
},
|
|
33055
|
+
"/api/v1/connections/callback": {
|
|
33056
|
+
"get": {
|
|
33057
|
+
"description": "Public: the one-use state authenticates the browser that the authorization server sends back, and the flow\ncookie the browser that started the flow.\n\nAttempts per client address share the login flows' bound.",
|
|
33058
|
+
"operationId": "complete_authorization",
|
|
33059
|
+
"parameters": [
|
|
33060
|
+
{
|
|
33061
|
+
"in": "query",
|
|
33062
|
+
"name": "state",
|
|
33063
|
+
"required": true,
|
|
33064
|
+
"schema": {
|
|
33065
|
+
"maxLength": 256,
|
|
33066
|
+
"minLength": 16,
|
|
33067
|
+
"title": "State",
|
|
33068
|
+
"type": "string"
|
|
33069
|
+
}
|
|
33070
|
+
},
|
|
33071
|
+
{
|
|
33072
|
+
"in": "query",
|
|
33073
|
+
"name": "code",
|
|
33074
|
+
"required": false,
|
|
33075
|
+
"schema": {
|
|
33076
|
+
"anyOf": [
|
|
33077
|
+
{
|
|
33078
|
+
"maxLength": 4096,
|
|
33079
|
+
"type": "string"
|
|
33080
|
+
},
|
|
33081
|
+
{
|
|
33082
|
+
"type": "null"
|
|
33083
|
+
}
|
|
33084
|
+
],
|
|
33085
|
+
"title": "Code"
|
|
33086
|
+
}
|
|
33087
|
+
},
|
|
33088
|
+
{
|
|
33089
|
+
"in": "query",
|
|
33090
|
+
"name": "error",
|
|
33091
|
+
"required": false,
|
|
33092
|
+
"schema": {
|
|
33093
|
+
"anyOf": [
|
|
33094
|
+
{
|
|
33095
|
+
"maxLength": 256,
|
|
33096
|
+
"type": "string"
|
|
33097
|
+
},
|
|
33098
|
+
{
|
|
33099
|
+
"type": "null"
|
|
33100
|
+
}
|
|
33101
|
+
],
|
|
33102
|
+
"title": "Error"
|
|
33103
|
+
}
|
|
33104
|
+
},
|
|
33105
|
+
{
|
|
33106
|
+
"in": "query",
|
|
33107
|
+
"name": "iss",
|
|
33108
|
+
"required": false,
|
|
33109
|
+
"schema": {
|
|
33110
|
+
"anyOf": [
|
|
33111
|
+
{
|
|
33112
|
+
"maxLength": 2048,
|
|
33113
|
+
"type": "string"
|
|
33114
|
+
},
|
|
33115
|
+
{
|
|
33116
|
+
"type": "null"
|
|
33117
|
+
}
|
|
33118
|
+
],
|
|
33119
|
+
"title": "Iss"
|
|
33120
|
+
}
|
|
33121
|
+
},
|
|
33122
|
+
{
|
|
33123
|
+
"in": "query",
|
|
33124
|
+
"name": "session_uri",
|
|
33125
|
+
"required": false,
|
|
33126
|
+
"schema": {
|
|
33127
|
+
"anyOf": [
|
|
33128
|
+
{
|
|
33129
|
+
"maxLength": 2048,
|
|
33130
|
+
"type": "string"
|
|
33131
|
+
},
|
|
33132
|
+
{
|
|
33133
|
+
"type": "null"
|
|
33134
|
+
}
|
|
33135
|
+
],
|
|
33136
|
+
"title": "Session Uri"
|
|
33137
|
+
}
|
|
33138
|
+
}
|
|
33139
|
+
],
|
|
33140
|
+
"responses": {
|
|
33141
|
+
"200": {
|
|
33142
|
+
"content": {
|
|
33143
|
+
"application/json": {
|
|
33144
|
+
"schema": {
|
|
33145
|
+
"$ref": "#/components/schemas/CallbackOutcome"
|
|
33146
|
+
}
|
|
33147
|
+
}
|
|
33148
|
+
},
|
|
33149
|
+
"description": "Successful Response"
|
|
33150
|
+
},
|
|
33151
|
+
"303": {
|
|
33152
|
+
"description": "Back to the return URL the authorization named"
|
|
33153
|
+
},
|
|
33154
|
+
"400": {
|
|
33155
|
+
"$ref": "#/components/responses/Error"
|
|
33156
|
+
},
|
|
33157
|
+
"default": {
|
|
33158
|
+
"$ref": "#/components/responses/Error"
|
|
33159
|
+
}
|
|
33160
|
+
},
|
|
33161
|
+
"summary": "Complete Authorization",
|
|
33162
|
+
"tags": ["connections"]
|
|
33163
|
+
}
|
|
33164
|
+
},
|
|
33165
|
+
"/api/v1/connections/redirect-uri": {
|
|
33166
|
+
"get": {
|
|
33167
|
+
"description": "The deployment's callback, for registering an OAuth client in advance; the same for every connection.",
|
|
33168
|
+
"operationId": "get_redirect_uri",
|
|
33169
|
+
"responses": {
|
|
33170
|
+
"200": {
|
|
33171
|
+
"content": {
|
|
33172
|
+
"application/json": {
|
|
33173
|
+
"schema": {
|
|
33174
|
+
"$ref": "#/components/schemas/OAuthRedirect"
|
|
33175
|
+
}
|
|
33176
|
+
}
|
|
33177
|
+
},
|
|
33178
|
+
"description": "Successful Response"
|
|
33179
|
+
},
|
|
33180
|
+
"default": {
|
|
33181
|
+
"$ref": "#/components/responses/Error"
|
|
33182
|
+
}
|
|
33183
|
+
},
|
|
33184
|
+
"security": [
|
|
33185
|
+
{
|
|
33186
|
+
"apiKey": []
|
|
33187
|
+
},
|
|
33188
|
+
{
|
|
33189
|
+
"loginSession": []
|
|
33190
|
+
}
|
|
33191
|
+
],
|
|
33192
|
+
"summary": "Get Redirect Uri",
|
|
33193
|
+
"tags": ["connections"]
|
|
33194
|
+
}
|
|
33195
|
+
},
|
|
33196
|
+
"/api/v1/connections/{connection_id}": {
|
|
33197
|
+
"get": {
|
|
33198
|
+
"operationId": "get_connection",
|
|
33199
|
+
"parameters": [
|
|
33200
|
+
{
|
|
33201
|
+
"in": "path",
|
|
33202
|
+
"name": "connection_id",
|
|
33203
|
+
"required": true,
|
|
33204
|
+
"schema": {
|
|
33205
|
+
"title": "Connection Id",
|
|
32413
33206
|
"type": "string"
|
|
32414
33207
|
}
|
|
32415
33208
|
},
|
|
@@ -53839,7 +54632,7 @@
|
|
|
53839
54632
|
"schema": {
|
|
53840
54633
|
"anyOf": [
|
|
53841
54634
|
{
|
|
53842
|
-
"enum": ["message", "child_result"],
|
|
54635
|
+
"enum": ["message", "child_result", "child_message"],
|
|
53843
54636
|
"type": "string"
|
|
53844
54637
|
},
|
|
53845
54638
|
{
|
|
@@ -58452,6 +59245,143 @@
|
|
|
58452
59245
|
"x-a13n-mcp": true
|
|
58453
59246
|
}
|
|
58454
59247
|
},
|
|
59248
|
+
"/api/v1/usage/sessions": {
|
|
59249
|
+
"get": {
|
|
59250
|
+
"description": "Sessions ranked by recorded cost for one Agent within the selected window.",
|
|
59251
|
+
"operationId": "list_session_usage",
|
|
59252
|
+
"parameters": [
|
|
59253
|
+
{
|
|
59254
|
+
"in": "query",
|
|
59255
|
+
"name": "start",
|
|
59256
|
+
"required": true,
|
|
59257
|
+
"schema": {
|
|
59258
|
+
"format": "date-time",
|
|
59259
|
+
"title": "Start",
|
|
59260
|
+
"type": "string"
|
|
59261
|
+
}
|
|
59262
|
+
},
|
|
59263
|
+
{
|
|
59264
|
+
"in": "query",
|
|
59265
|
+
"name": "end",
|
|
59266
|
+
"required": true,
|
|
59267
|
+
"schema": {
|
|
59268
|
+
"format": "date-time",
|
|
59269
|
+
"title": "End",
|
|
59270
|
+
"type": "string"
|
|
59271
|
+
}
|
|
59272
|
+
},
|
|
59273
|
+
{
|
|
59274
|
+
"description": "Filter by Run execution identity; requires workspace admin.",
|
|
59275
|
+
"in": "query",
|
|
59276
|
+
"name": "principal_id",
|
|
59277
|
+
"required": false,
|
|
59278
|
+
"schema": {
|
|
59279
|
+
"anyOf": [
|
|
59280
|
+
{
|
|
59281
|
+
"maxLength": 41,
|
|
59282
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
59283
|
+
"type": "string"
|
|
59284
|
+
},
|
|
59285
|
+
{
|
|
59286
|
+
"type": "null"
|
|
59287
|
+
}
|
|
59288
|
+
],
|
|
59289
|
+
"description": "Filter by Run execution identity; requires workspace admin.",
|
|
59290
|
+
"title": "Principal Id"
|
|
59291
|
+
}
|
|
59292
|
+
},
|
|
59293
|
+
{
|
|
59294
|
+
"in": "query",
|
|
59295
|
+
"name": "limit",
|
|
59296
|
+
"required": false,
|
|
59297
|
+
"schema": {
|
|
59298
|
+
"default": 50,
|
|
59299
|
+
"maximum": 100,
|
|
59300
|
+
"minimum": 1,
|
|
59301
|
+
"title": "Limit",
|
|
59302
|
+
"type": "integer"
|
|
59303
|
+
}
|
|
59304
|
+
},
|
|
59305
|
+
{
|
|
59306
|
+
"in": "query",
|
|
59307
|
+
"name": "cursor",
|
|
59308
|
+
"required": false,
|
|
59309
|
+
"schema": {
|
|
59310
|
+
"anyOf": [
|
|
59311
|
+
{
|
|
59312
|
+
"maxLength": 2048,
|
|
59313
|
+
"type": "string"
|
|
59314
|
+
},
|
|
59315
|
+
{
|
|
59316
|
+
"type": "null"
|
|
59317
|
+
}
|
|
59318
|
+
],
|
|
59319
|
+
"title": "Cursor"
|
|
59320
|
+
}
|
|
59321
|
+
},
|
|
59322
|
+
{
|
|
59323
|
+
"in": "query",
|
|
59324
|
+
"name": "agent_id",
|
|
59325
|
+
"required": true,
|
|
59326
|
+
"schema": {
|
|
59327
|
+
"maxLength": 41,
|
|
59328
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
59329
|
+
"title": "Agent Id",
|
|
59330
|
+
"type": "string"
|
|
59331
|
+
}
|
|
59332
|
+
},
|
|
59333
|
+
{
|
|
59334
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
59335
|
+
"in": "header",
|
|
59336
|
+
"name": "X-Workspace-ID",
|
|
59337
|
+
"required": false,
|
|
59338
|
+
"schema": {
|
|
59339
|
+
"anyOf": [
|
|
59340
|
+
{
|
|
59341
|
+
"maxLength": 41,
|
|
59342
|
+
"pattern": "^[a-z][a-z0-9]{1,7}_[0-9a-f]{20,32}$",
|
|
59343
|
+
"type": "string"
|
|
59344
|
+
},
|
|
59345
|
+
{
|
|
59346
|
+
"type": "null"
|
|
59347
|
+
}
|
|
59348
|
+
],
|
|
59349
|
+
"description": "The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.",
|
|
59350
|
+
"title": "X-Workspace-Id"
|
|
59351
|
+
}
|
|
59352
|
+
}
|
|
59353
|
+
],
|
|
59354
|
+
"responses": {
|
|
59355
|
+
"200": {
|
|
59356
|
+
"content": {
|
|
59357
|
+
"application/json": {
|
|
59358
|
+
"schema": {
|
|
59359
|
+
"$ref": "#/components/schemas/SessionUsagePage"
|
|
59360
|
+
}
|
|
59361
|
+
}
|
|
59362
|
+
},
|
|
59363
|
+
"description": "Successful Response"
|
|
59364
|
+
},
|
|
59365
|
+
"400": {
|
|
59366
|
+
"$ref": "#/components/responses/Error"
|
|
59367
|
+
},
|
|
59368
|
+
"default": {
|
|
59369
|
+
"$ref": "#/components/responses/Error"
|
|
59370
|
+
}
|
|
59371
|
+
},
|
|
59372
|
+
"security": [
|
|
59373
|
+
{
|
|
59374
|
+
"apiKey": []
|
|
59375
|
+
},
|
|
59376
|
+
{
|
|
59377
|
+
"loginSession": []
|
|
59378
|
+
}
|
|
59379
|
+
],
|
|
59380
|
+
"summary": "List Session Usage",
|
|
59381
|
+
"tags": ["usage"],
|
|
59382
|
+
"x-a13n-mcp": true
|
|
59383
|
+
}
|
|
59384
|
+
},
|
|
58455
59385
|
"/api/v1/users/me": {
|
|
58456
59386
|
"get": {
|
|
58457
59387
|
"operationId": "get_profile",
|