syllable-sdk 1.0.13-rc.4 → 1.0.13-rc.6
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/bin/mcp-server.js +2001 -59
- package/bin/mcp-server.js.map +34 -11
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/bodyinsightsfolderuploadfile.d.ts +8 -8
- package/models/components/bodyinsightsfolderuploadfile.d.ts.map +1 -1
- package/models/components/bodyinsightsfolderuploadfile.js +11 -12
- package/models/components/bodyinsightsfolderuploadfile.js.map +1 -1
- package/models/components/callaction.d.ts +113 -0
- package/models/components/callaction.d.ts.map +1 -0
- package/models/components/callaction.js +174 -0
- package/models/components/callaction.js.map +1 -0
- package/models/components/caseexpression.d.ts +18 -0
- package/models/components/caseexpression.d.ts.map +1 -0
- package/models/components/caseexpression.js +59 -0
- package/models/components/caseexpression.js.map +1 -0
- package/models/components/celexpression.d.ts +28 -0
- package/models/components/celexpression.d.ts.map +1 -0
- package/models/components/celexpression.js +60 -0
- package/models/components/celexpression.js.map +1 -0
- package/models/components/conditionaltext.d.ts +85 -0
- package/models/components/conditionaltext.d.ts.map +1 -0
- package/models/components/conditionaltext.js +147 -0
- package/models/components/conditionaltext.js.map +1 -0
- package/models/components/conditionalvalue.d.ts +147 -0
- package/models/components/conditionalvalue.d.ts.map +1 -0
- package/models/components/conditionalvalue.js +248 -0
- package/models/components/conditionalvalue.js.map +1 -0
- package/models/components/context.d.ts +122 -8
- package/models/components/context.d.ts.map +1 -1
- package/models/components/context.js +199 -6
- package/models/components/context.js.map +1 -1
- package/models/components/contexttaskmetadata.d.ts +22 -0
- package/models/components/contexttaskmetadata.d.ts.map +1 -0
- package/models/components/contexttaskmetadata.js +69 -0
- package/models/components/contexttaskmetadata.js.map +1 -0
- package/models/components/contexttoolinfo.d.ts +25 -0
- package/models/components/contexttoolinfo.d.ts.map +1 -0
- package/models/components/contexttoolinfo.js +60 -0
- package/models/components/contexttoolinfo.js.map +1 -0
- package/models/components/eventtask.d.ts +42 -0
- package/models/components/eventtask.d.ts.map +1 -0
- package/models/components/eventtask.js +76 -0
- package/models/components/eventtask.js.map +1 -0
- package/models/components/eventtaskevents.d.ts +74 -0
- package/models/components/eventtaskevents.d.ts.map +1 -0
- package/models/components/eventtaskevents.js +139 -0
- package/models/components/eventtaskevents.js.map +1 -0
- package/models/components/expressiontask.d.ts +109 -0
- package/models/components/expressiontask.d.ts.map +1 -0
- package/models/components/expressiontask.js +170 -0
- package/models/components/expressiontask.js.map +1 -0
- package/models/components/expressiontaskevents.d.ts +131 -0
- package/models/components/expressiontaskevents.d.ts.map +1 -0
- package/models/components/expressiontaskevents.js +219 -0
- package/models/components/expressiontaskevents.js.map +1 -0
- package/models/components/incrementaction.d.ts +92 -0
- package/models/components/incrementaction.d.ts.map +1 -0
- package/models/components/incrementaction.js +151 -0
- package/models/components/incrementaction.js.map +1 -0
- package/models/components/index.d.ts +24 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +24 -1
- package/models/components/index.js.map +1 -1
- package/models/components/inputparameter.d.ts +51 -0
- package/models/components/inputparameter.d.ts.map +1 -0
- package/models/components/inputparameter.js +87 -0
- package/models/components/inputparameter.js.map +1 -0
- package/models/components/jmespathexpression.d.ts +44 -0
- package/models/components/jmespathexpression.d.ts.map +1 -0
- package/models/components/jmespathexpression.js +71 -0
- package/models/components/jmespathexpression.js.map +1 -0
- package/models/components/loadtoolfromfiletask.d.ts +59 -0
- package/models/components/loadtoolfromfiletask.d.ts.map +1 -0
- package/models/components/loadtoolfromfiletask.js +88 -0
- package/models/components/loadtoolfromfiletask.js.map +1 -0
- package/models/components/nextstep.d.ts +93 -0
- package/models/components/nextstep.d.ts.map +1 -0
- package/models/components/nextstep.js +149 -0
- package/models/components/nextstep.js.map +1 -0
- package/models/components/saveaction.d.ts +92 -0
- package/models/components/saveaction.d.ts.map +1 -0
- package/models/components/saveaction.js +151 -0
- package/models/components/saveaction.js.map +1 -0
- package/models/components/sayaction.d.ts +108 -0
- package/models/components/sayaction.d.ts.map +1 -0
- package/models/components/sayaction.js +162 -0
- package/models/components/sayaction.js.map +1 -0
- package/models/components/session.d.ts +5 -0
- package/models/components/session.d.ts.map +1 -1
- package/models/components/session.js +4 -0
- package/models/components/session.js.map +1 -1
- package/models/components/setvalueaction.d.ts +154 -0
- package/models/components/setvalueaction.d.ts.map +1 -0
- package/models/components/setvalueaction.js +246 -0
- package/models/components/setvalueaction.js.map +1 -0
- package/models/components/step.d.ts +73 -0
- package/models/components/step.d.ts.map +1 -0
- package/models/components/step.js +103 -0
- package/models/components/step.js.map +1 -0
- package/models/components/stepeventactions.d.ts +185 -0
- package/models/components/stepeventactions.d.ts.map +1 -0
- package/models/components/stepeventactions.js +296 -0
- package/models/components/stepeventactions.js.map +1 -0
- package/models/components/stepstask.d.ts +42 -0
- package/models/components/stepstask.d.ts.map +1 -0
- package/models/components/stepstask.js +76 -0
- package/models/components/stepstask.js.map +1 -0
- package/models/components/steptools.d.ts +33 -0
- package/models/components/steptools.d.ts.map +1 -0
- package/models/components/{contexttask.js → steptools.js} +24 -22
- package/models/components/steptools.js.map +1 -0
- package/models/components/variable.d.ts +119 -0
- package/models/components/variable.d.ts.map +1 -0
- package/models/components/variable.js +186 -0
- package/models/components/variable.js.map +1 -0
- package/openapi.json +2453 -662
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/bodyinsightsfolderuploadfile.ts +36 -25
- package/src/models/components/callaction.ts +331 -0
- package/src/models/components/caseexpression.ts +53 -0
- package/src/models/components/celexpression.ts +60 -0
- package/src/models/components/conditionaltext.ts +280 -0
- package/src/models/components/conditionalvalue.ts +477 -0
- package/src/models/components/context.ts +413 -16
- package/src/models/components/contexttaskmetadata.ts +67 -0
- package/src/models/components/contexttoolinfo.ts +59 -0
- package/src/models/components/eventtask.ts +102 -0
- package/src/models/components/eventtaskevents.ts +257 -0
- package/src/models/components/expressiontask.ts +333 -0
- package/src/models/components/expressiontaskevents.ts +430 -0
- package/src/models/components/incrementaction.ts +291 -0
- package/src/models/components/index.ts +24 -1
- package/src/models/components/inputparameter.ts +103 -0
- package/src/models/components/jmespathexpression.ts +86 -0
- package/src/models/components/loadtoolfromfiletask.ts +137 -0
- package/src/models/components/nextstep.ts +280 -0
- package/src/models/components/saveaction.ts +281 -0
- package/src/models/components/sayaction.ts +302 -0
- package/src/models/components/session.ts +9 -0
- package/src/models/components/setvalueaction.ts +508 -0
- package/src/models/components/step.ts +174 -0
- package/src/models/components/stepeventactions.ts +619 -0
- package/src/models/components/stepstask.ts +102 -0
- package/src/models/components/steptools.ts +76 -0
- package/src/models/components/variable.ts +332 -0
- package/models/components/contexttask.d.ts +0 -32
- package/models/components/contexttask.d.ts.map +0 -1
- package/models/components/contexttask.js.map +0 -1
- package/src/models/components/contexttask.ts +0 -78
package/openapi.json
CHANGED
|
@@ -13781,7 +13781,7 @@
|
|
|
13781
13781
|
"title": "Batch Id",
|
|
13782
13782
|
"description": "Unique ID for conversation batch",
|
|
13783
13783
|
"examples": [
|
|
13784
|
-
"
|
|
13784
|
+
"20251124.9"
|
|
13785
13785
|
]
|
|
13786
13786
|
},
|
|
13787
13787
|
"campaign_id": {
|
|
@@ -13805,7 +13805,7 @@
|
|
|
13805
13805
|
"title": "Expires On",
|
|
13806
13806
|
"description": "Timestamp of batch expiration",
|
|
13807
13807
|
"examples": [
|
|
13808
|
-
"2025-11-
|
|
13808
|
+
"2025-11-25T00:00:00Z"
|
|
13809
13809
|
]
|
|
13810
13810
|
},
|
|
13811
13811
|
"paused": {
|
|
@@ -13858,7 +13858,7 @@
|
|
|
13858
13858
|
"title": "Created At",
|
|
13859
13859
|
"description": "Timestamp of batch creation",
|
|
13860
13860
|
"examples": [
|
|
13861
|
-
"2025-11-
|
|
13861
|
+
"2025-11-24T00:00:00Z"
|
|
13862
13862
|
]
|
|
13863
13863
|
},
|
|
13864
13864
|
"deleted_at": {
|
|
@@ -13874,7 +13874,7 @@
|
|
|
13874
13874
|
"title": "Deleted At",
|
|
13875
13875
|
"description": "Timestamp of batch deletion",
|
|
13876
13876
|
"examples": [
|
|
13877
|
-
"2025-11-
|
|
13877
|
+
"2025-11-24T00:00:00Z"
|
|
13878
13878
|
]
|
|
13879
13879
|
},
|
|
13880
13880
|
"deleted_reason": {
|
|
@@ -13905,7 +13905,7 @@
|
|
|
13905
13905
|
"title": "Last Updated At",
|
|
13906
13906
|
"description": "Timestamp of last change to batch",
|
|
13907
13907
|
"examples": [
|
|
13908
|
-
"2025-11-
|
|
13908
|
+
"2025-11-24T00:00:00Z"
|
|
13909
13909
|
]
|
|
13910
13910
|
},
|
|
13911
13911
|
"last_updated_by": {
|
|
@@ -14231,6 +14231,88 @@
|
|
|
14231
14231
|
],
|
|
14232
14232
|
"title": "Body_pronunciations_upload_csv"
|
|
14233
14233
|
},
|
|
14234
|
+
"CallAction": {
|
|
14235
|
+
"properties": {
|
|
14236
|
+
"if": {
|
|
14237
|
+
"anyOf": [
|
|
14238
|
+
{
|
|
14239
|
+
"oneOf": [
|
|
14240
|
+
{
|
|
14241
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
14242
|
+
},
|
|
14243
|
+
{
|
|
14244
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
14245
|
+
}
|
|
14246
|
+
],
|
|
14247
|
+
"discriminator": {
|
|
14248
|
+
"propertyName": "type",
|
|
14249
|
+
"mapping": {
|
|
14250
|
+
"cel": "#/components/schemas/CelExpression",
|
|
14251
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
14252
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
14253
|
+
}
|
|
14254
|
+
}
|
|
14255
|
+
},
|
|
14256
|
+
{
|
|
14257
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
14258
|
+
},
|
|
14259
|
+
{
|
|
14260
|
+
"type": "string"
|
|
14261
|
+
},
|
|
14262
|
+
{
|
|
14263
|
+
"type": "null"
|
|
14264
|
+
}
|
|
14265
|
+
],
|
|
14266
|
+
"title": "If",
|
|
14267
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
14268
|
+
},
|
|
14269
|
+
"action": {
|
|
14270
|
+
"type": "string",
|
|
14271
|
+
"const": "call",
|
|
14272
|
+
"title": "Action",
|
|
14273
|
+
"default": "call"
|
|
14274
|
+
},
|
|
14275
|
+
"name": {
|
|
14276
|
+
"type": "string",
|
|
14277
|
+
"title": "Name",
|
|
14278
|
+
"description": "The name of the tool to call."
|
|
14279
|
+
},
|
|
14280
|
+
"arguments": {
|
|
14281
|
+
"anyOf": [
|
|
14282
|
+
{
|
|
14283
|
+
"additionalProperties": {
|
|
14284
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
14285
|
+
},
|
|
14286
|
+
"type": "object"
|
|
14287
|
+
},
|
|
14288
|
+
{
|
|
14289
|
+
"type": "null"
|
|
14290
|
+
}
|
|
14291
|
+
],
|
|
14292
|
+
"title": "Arguments",
|
|
14293
|
+
"description": "Optional arguments to pass to the tool (supports template strings)"
|
|
14294
|
+
},
|
|
14295
|
+
"auto_populate": {
|
|
14296
|
+
"anyOf": [
|
|
14297
|
+
{
|
|
14298
|
+
"type": "boolean"
|
|
14299
|
+
},
|
|
14300
|
+
{
|
|
14301
|
+
"type": "string",
|
|
14302
|
+
"const": "required"
|
|
14303
|
+
}
|
|
14304
|
+
],
|
|
14305
|
+
"title": "Auto Populate",
|
|
14306
|
+
"description": "Auto-population strategy: True (hybrid - synthetic or LLM), False (always LLM), \"required\" (synthetic only if all required args available, else LLM)",
|
|
14307
|
+
"default": true
|
|
14308
|
+
}
|
|
14309
|
+
},
|
|
14310
|
+
"type": "object",
|
|
14311
|
+
"required": [
|
|
14312
|
+
"name"
|
|
14313
|
+
],
|
|
14314
|
+
"title": "CallAction"
|
|
14315
|
+
},
|
|
14234
14316
|
"CampaignProperties": {
|
|
14235
14317
|
"type": "string",
|
|
14236
14318
|
"enum": [
|
|
@@ -14249,6 +14331,44 @@
|
|
|
14249
14331
|
],
|
|
14250
14332
|
"title": "CampaignProperties"
|
|
14251
14333
|
},
|
|
14334
|
+
"CaseExpression": {
|
|
14335
|
+
"properties": {
|
|
14336
|
+
"case": {
|
|
14337
|
+
"items": {
|
|
14338
|
+
"$ref": "#/components/schemas/ConditionalValue"
|
|
14339
|
+
},
|
|
14340
|
+
"type": "array",
|
|
14341
|
+
"title": "Case"
|
|
14342
|
+
}
|
|
14343
|
+
},
|
|
14344
|
+
"type": "object",
|
|
14345
|
+
"required": [
|
|
14346
|
+
"case"
|
|
14347
|
+
],
|
|
14348
|
+
"title": "CaseExpression"
|
|
14349
|
+
},
|
|
14350
|
+
"CelExpression": {
|
|
14351
|
+
"properties": {
|
|
14352
|
+
"expression": {
|
|
14353
|
+
"type": "string",
|
|
14354
|
+
"title": "Expression",
|
|
14355
|
+
"description": "The expression to evaluate."
|
|
14356
|
+
},
|
|
14357
|
+
"type": {
|
|
14358
|
+
"type": "string",
|
|
14359
|
+
"const": "cel",
|
|
14360
|
+
"title": "Type",
|
|
14361
|
+
"description": "Google Common Expression Language.",
|
|
14362
|
+
"default": "cel"
|
|
14363
|
+
}
|
|
14364
|
+
},
|
|
14365
|
+
"type": "object",
|
|
14366
|
+
"required": [
|
|
14367
|
+
"expression"
|
|
14368
|
+
],
|
|
14369
|
+
"title": "CelExpression",
|
|
14370
|
+
"description": "See https://github.com/google/cel-spec/blob/master/doc/langdef.md"
|
|
14371
|
+
},
|
|
14252
14372
|
"Channel": {
|
|
14253
14373
|
"properties": {
|
|
14254
14374
|
"name": {
|
|
@@ -14661,7 +14781,7 @@
|
|
|
14661
14781
|
"title": "Batch Id",
|
|
14662
14782
|
"description": "Unique ID for conversation batch",
|
|
14663
14783
|
"examples": [
|
|
14664
|
-
"
|
|
14784
|
+
"20251124.9"
|
|
14665
14785
|
]
|
|
14666
14786
|
},
|
|
14667
14787
|
"campaign_id": {
|
|
@@ -14685,7 +14805,7 @@
|
|
|
14685
14805
|
"title": "Expires On",
|
|
14686
14806
|
"description": "Timestamp of batch expiration",
|
|
14687
14807
|
"examples": [
|
|
14688
|
-
"2025-11-
|
|
14808
|
+
"2025-11-25T00:00:00Z"
|
|
14689
14809
|
]
|
|
14690
14810
|
},
|
|
14691
14811
|
"paused": {
|
|
@@ -14738,7 +14858,7 @@
|
|
|
14738
14858
|
"title": "Created At",
|
|
14739
14859
|
"description": "Timestamp of batch creation",
|
|
14740
14860
|
"examples": [
|
|
14741
|
-
"2025-11-
|
|
14861
|
+
"2025-11-24T00:00:00Z"
|
|
14742
14862
|
]
|
|
14743
14863
|
},
|
|
14744
14864
|
"deleted_at": {
|
|
@@ -14754,7 +14874,7 @@
|
|
|
14754
14874
|
"title": "Deleted At",
|
|
14755
14875
|
"description": "Timestamp of batch deletion",
|
|
14756
14876
|
"examples": [
|
|
14757
|
-
"2025-11-
|
|
14877
|
+
"2025-11-24T00:00:00Z"
|
|
14758
14878
|
]
|
|
14759
14879
|
},
|
|
14760
14880
|
"deleted_reason": {
|
|
@@ -14785,7 +14905,7 @@
|
|
|
14785
14905
|
"title": "Last Updated At",
|
|
14786
14906
|
"description": "Timestamp of last change to batch",
|
|
14787
14907
|
"examples": [
|
|
14788
|
-
"2025-11-
|
|
14908
|
+
"2025-11-24T00:00:00Z"
|
|
14789
14909
|
]
|
|
14790
14910
|
},
|
|
14791
14911
|
"last_updated_by": {
|
|
@@ -14828,7 +14948,7 @@
|
|
|
14828
14948
|
"title": "Batch Id",
|
|
14829
14949
|
"description": "Unique ID for conversation batch",
|
|
14830
14950
|
"examples": [
|
|
14831
|
-
"
|
|
14951
|
+
"20251124.9"
|
|
14832
14952
|
]
|
|
14833
14953
|
},
|
|
14834
14954
|
"campaign_id": {
|
|
@@ -14852,7 +14972,7 @@
|
|
|
14852
14972
|
"title": "Expires On",
|
|
14853
14973
|
"description": "Timestamp of batch expiration",
|
|
14854
14974
|
"examples": [
|
|
14855
|
-
"2025-11-
|
|
14975
|
+
"2025-11-25T00:00:00Z"
|
|
14856
14976
|
]
|
|
14857
14977
|
},
|
|
14858
14978
|
"paused": {
|
|
@@ -15001,7 +15121,7 @@
|
|
|
15001
15121
|
"title": "Created At",
|
|
15002
15122
|
"description": "Timestamp of request creation",
|
|
15003
15123
|
"examples": [
|
|
15004
|
-
"2025-11-
|
|
15124
|
+
"2025-11-23T00:00:00Z"
|
|
15005
15125
|
]
|
|
15006
15126
|
},
|
|
15007
15127
|
"sent_at": {
|
|
@@ -15017,7 +15137,7 @@
|
|
|
15017
15137
|
"title": "Sent At",
|
|
15018
15138
|
"description": "Timestamp at which request was sent",
|
|
15019
15139
|
"examples": [
|
|
15020
|
-
"2025-11-
|
|
15140
|
+
"2025-11-24T00:00:00Z"
|
|
15021
15141
|
]
|
|
15022
15142
|
},
|
|
15023
15143
|
"attempt_count": {
|
|
@@ -15137,16 +15257,190 @@
|
|
|
15137
15257
|
],
|
|
15138
15258
|
"title": "CommunicationRequestResult"
|
|
15139
15259
|
},
|
|
15260
|
+
"ConditionalText": {
|
|
15261
|
+
"properties": {
|
|
15262
|
+
"if": {
|
|
15263
|
+
"anyOf": [
|
|
15264
|
+
{
|
|
15265
|
+
"oneOf": [
|
|
15266
|
+
{
|
|
15267
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
15268
|
+
},
|
|
15269
|
+
{
|
|
15270
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
15271
|
+
}
|
|
15272
|
+
],
|
|
15273
|
+
"discriminator": {
|
|
15274
|
+
"propertyName": "type",
|
|
15275
|
+
"mapping": {
|
|
15276
|
+
"cel": "#/components/schemas/CelExpression",
|
|
15277
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
15278
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
15279
|
+
}
|
|
15280
|
+
}
|
|
15281
|
+
},
|
|
15282
|
+
{
|
|
15283
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
15284
|
+
},
|
|
15285
|
+
{
|
|
15286
|
+
"type": "string"
|
|
15287
|
+
},
|
|
15288
|
+
{
|
|
15289
|
+
"type": "null"
|
|
15290
|
+
}
|
|
15291
|
+
],
|
|
15292
|
+
"title": "If",
|
|
15293
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
15294
|
+
},
|
|
15295
|
+
"text": {
|
|
15296
|
+
"type": "string",
|
|
15297
|
+
"title": "Text",
|
|
15298
|
+
"description": "Text to apply if the condition is true."
|
|
15299
|
+
}
|
|
15300
|
+
},
|
|
15301
|
+
"type": "object",
|
|
15302
|
+
"required": [
|
|
15303
|
+
"text"
|
|
15304
|
+
],
|
|
15305
|
+
"title": "ConditionalText"
|
|
15306
|
+
},
|
|
15307
|
+
"ConditionalValue": {
|
|
15308
|
+
"properties": {
|
|
15309
|
+
"value": {
|
|
15310
|
+
"anyOf": [
|
|
15311
|
+
{
|
|
15312
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
15313
|
+
},
|
|
15314
|
+
{
|
|
15315
|
+
"type": "null"
|
|
15316
|
+
}
|
|
15317
|
+
],
|
|
15318
|
+
"description": "Initial value of the variable."
|
|
15319
|
+
},
|
|
15320
|
+
"value_from": {
|
|
15321
|
+
"anyOf": [
|
|
15322
|
+
{
|
|
15323
|
+
"oneOf": [
|
|
15324
|
+
{
|
|
15325
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
15326
|
+
},
|
|
15327
|
+
{
|
|
15328
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
15329
|
+
}
|
|
15330
|
+
],
|
|
15331
|
+
"discriminator": {
|
|
15332
|
+
"propertyName": "type",
|
|
15333
|
+
"mapping": {
|
|
15334
|
+
"cel": "#/components/schemas/CelExpression",
|
|
15335
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
15336
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
15337
|
+
}
|
|
15338
|
+
}
|
|
15339
|
+
},
|
|
15340
|
+
{
|
|
15341
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
15342
|
+
},
|
|
15343
|
+
{
|
|
15344
|
+
"type": "string"
|
|
15345
|
+
},
|
|
15346
|
+
{
|
|
15347
|
+
"type": "null"
|
|
15348
|
+
}
|
|
15349
|
+
],
|
|
15350
|
+
"title": "Value From",
|
|
15351
|
+
"description": "Expression to compute initial value (mutually exclusive with value)."
|
|
15352
|
+
},
|
|
15353
|
+
"if": {
|
|
15354
|
+
"anyOf": [
|
|
15355
|
+
{
|
|
15356
|
+
"oneOf": [
|
|
15357
|
+
{
|
|
15358
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
15359
|
+
},
|
|
15360
|
+
{
|
|
15361
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
15362
|
+
}
|
|
15363
|
+
],
|
|
15364
|
+
"discriminator": {
|
|
15365
|
+
"propertyName": "type",
|
|
15366
|
+
"mapping": {
|
|
15367
|
+
"cel": "#/components/schemas/CelExpression",
|
|
15368
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
15369
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
15370
|
+
}
|
|
15371
|
+
}
|
|
15372
|
+
},
|
|
15373
|
+
{
|
|
15374
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
15375
|
+
},
|
|
15376
|
+
{
|
|
15377
|
+
"type": "string"
|
|
15378
|
+
},
|
|
15379
|
+
{
|
|
15380
|
+
"type": "null"
|
|
15381
|
+
}
|
|
15382
|
+
],
|
|
15383
|
+
"title": "If",
|
|
15384
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
15385
|
+
}
|
|
15386
|
+
},
|
|
15387
|
+
"type": "object",
|
|
15388
|
+
"title": "ConditionalValue"
|
|
15389
|
+
},
|
|
15140
15390
|
"Context": {
|
|
15141
15391
|
"properties": {
|
|
15142
15392
|
"task": {
|
|
15143
15393
|
"anyOf": [
|
|
15144
15394
|
{
|
|
15145
|
-
"
|
|
15395
|
+
"oneOf": [
|
|
15396
|
+
{
|
|
15397
|
+
"$ref": "#/components/schemas/ExpressionTask"
|
|
15398
|
+
},
|
|
15399
|
+
{
|
|
15400
|
+
"$ref": "#/components/schemas/LoadToolFromFileTask"
|
|
15401
|
+
},
|
|
15402
|
+
{
|
|
15403
|
+
"$ref": "#/components/schemas/EventTask"
|
|
15404
|
+
},
|
|
15405
|
+
{
|
|
15406
|
+
"$ref": "#/components/schemas/StepsTask"
|
|
15407
|
+
}
|
|
15408
|
+
],
|
|
15409
|
+
"discriminator": {
|
|
15410
|
+
"propertyName": "type",
|
|
15411
|
+
"mapping": {
|
|
15412
|
+
"event": "#/components/schemas/EventTask",
|
|
15413
|
+
"expression": "#/components/schemas/ExpressionTask",
|
|
15414
|
+
"import": "#/components/schemas/LoadToolFromFileTask",
|
|
15415
|
+
"steps": "#/components/schemas/StepsTask"
|
|
15416
|
+
}
|
|
15417
|
+
}
|
|
15146
15418
|
},
|
|
15147
15419
|
{
|
|
15148
15420
|
"items": {
|
|
15149
|
-
"
|
|
15421
|
+
"oneOf": [
|
|
15422
|
+
{
|
|
15423
|
+
"$ref": "#/components/schemas/ExpressionTask"
|
|
15424
|
+
},
|
|
15425
|
+
{
|
|
15426
|
+
"$ref": "#/components/schemas/LoadToolFromFileTask"
|
|
15427
|
+
},
|
|
15428
|
+
{
|
|
15429
|
+
"$ref": "#/components/schemas/EventTask"
|
|
15430
|
+
},
|
|
15431
|
+
{
|
|
15432
|
+
"$ref": "#/components/schemas/StepsTask"
|
|
15433
|
+
}
|
|
15434
|
+
],
|
|
15435
|
+
"discriminator": {
|
|
15436
|
+
"propertyName": "type",
|
|
15437
|
+
"mapping": {
|
|
15438
|
+
"event": "#/components/schemas/EventTask",
|
|
15439
|
+
"expression": "#/components/schemas/ExpressionTask",
|
|
15440
|
+
"import": "#/components/schemas/LoadToolFromFileTask",
|
|
15441
|
+
"steps": "#/components/schemas/StepsTask"
|
|
15442
|
+
}
|
|
15443
|
+
}
|
|
15150
15444
|
},
|
|
15151
15445
|
"type": "array"
|
|
15152
15446
|
},
|
|
@@ -15159,12 +15453,22 @@
|
|
|
15159
15453
|
}
|
|
15160
15454
|
},
|
|
15161
15455
|
"type": "object",
|
|
15162
|
-
"title": "Context"
|
|
15163
|
-
"description": "Context configuration carried alongside a context tool call."
|
|
15456
|
+
"title": "Context"
|
|
15164
15457
|
},
|
|
15165
|
-
"
|
|
15458
|
+
"ContextTaskMetadata": {
|
|
15166
15459
|
"properties": {
|
|
15167
|
-
"
|
|
15460
|
+
"priority": {
|
|
15461
|
+
"anyOf": [
|
|
15462
|
+
{
|
|
15463
|
+
"type": "integer"
|
|
15464
|
+
},
|
|
15465
|
+
{
|
|
15466
|
+
"type": "null"
|
|
15467
|
+
}
|
|
15468
|
+
],
|
|
15469
|
+
"title": "Priority"
|
|
15470
|
+
},
|
|
15471
|
+
"parent_tool_name": {
|
|
15168
15472
|
"anyOf": [
|
|
15169
15473
|
{
|
|
15170
15474
|
"type": "string"
|
|
@@ -15173,10 +15477,28 @@
|
|
|
15173
15477
|
"type": "null"
|
|
15174
15478
|
}
|
|
15175
15479
|
],
|
|
15176
|
-
"title": "
|
|
15177
|
-
"description": "
|
|
15480
|
+
"title": "Parent Tool Name",
|
|
15481
|
+
"description": "Name of the ToolDefinition that defined this task"
|
|
15482
|
+
}
|
|
15483
|
+
},
|
|
15484
|
+
"type": "object",
|
|
15485
|
+
"title": "ContextTaskMetadata"
|
|
15486
|
+
},
|
|
15487
|
+
"ContextToolInfo": {
|
|
15488
|
+
"properties": {
|
|
15489
|
+
"name": {
|
|
15490
|
+
"anyOf": [
|
|
15491
|
+
{
|
|
15492
|
+
"type": "string"
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
"type": "null"
|
|
15496
|
+
}
|
|
15497
|
+
],
|
|
15498
|
+
"title": "Name",
|
|
15499
|
+
"description": "The name of the generated tool."
|
|
15178
15500
|
},
|
|
15179
|
-
"
|
|
15501
|
+
"description": {
|
|
15180
15502
|
"anyOf": [
|
|
15181
15503
|
{
|
|
15182
15504
|
"type": "string"
|
|
@@ -15185,14 +15507,12 @@
|
|
|
15185
15507
|
"type": "null"
|
|
15186
15508
|
}
|
|
15187
15509
|
],
|
|
15188
|
-
"title": "
|
|
15189
|
-
"description": "
|
|
15510
|
+
"title": "Description",
|
|
15511
|
+
"description": "The description of the tool."
|
|
15190
15512
|
}
|
|
15191
15513
|
},
|
|
15192
|
-
"additionalProperties": true,
|
|
15193
15514
|
"type": "object",
|
|
15194
|
-
"title": "
|
|
15195
|
-
"description": "Metadata describing a context task driven by a tool call."
|
|
15515
|
+
"title": "ContextToolInfo"
|
|
15196
15516
|
},
|
|
15197
15517
|
"Conversation": {
|
|
15198
15518
|
"properties": {
|
|
@@ -15836,6 +16156,15 @@
|
|
|
15836
16156
|
"method": "get",
|
|
15837
16157
|
"url": "https://api.open-meteo.com/v1/forecast"
|
|
15838
16158
|
},
|
|
16159
|
+
"static_parameters": [
|
|
16160
|
+
{
|
|
16161
|
+
"default": "fahrenheit",
|
|
16162
|
+
"description": "Whether the temperature information should be fetched in Celsius or Fahrenheit",
|
|
16163
|
+
"name": "temperature_unit",
|
|
16164
|
+
"required": false,
|
|
16165
|
+
"type": "string"
|
|
16166
|
+
}
|
|
16167
|
+
],
|
|
15839
16168
|
"tool": {
|
|
15840
16169
|
"function": {
|
|
15841
16170
|
"description": "Get the weather for a city",
|
|
@@ -17276,17 +17605,9 @@
|
|
|
17276
17605
|
],
|
|
17277
17606
|
"title": "EventProperties"
|
|
17278
17607
|
},
|
|
17279
|
-
"
|
|
17608
|
+
"EventTask": {
|
|
17280
17609
|
"properties": {
|
|
17281
|
-
"
|
|
17282
|
-
"type": "string",
|
|
17283
|
-
"title": "Name",
|
|
17284
|
-
"description": "Human-readable name of insight folder",
|
|
17285
|
-
"examples": [
|
|
17286
|
-
"customer-complaints"
|
|
17287
|
-
]
|
|
17288
|
-
},
|
|
17289
|
-
"label": {
|
|
17610
|
+
"id": {
|
|
17290
17611
|
"anyOf": [
|
|
17291
17612
|
{
|
|
17292
17613
|
"type": "string"
|
|
@@ -17295,42 +17616,399 @@
|
|
|
17295
17616
|
"type": "null"
|
|
17296
17617
|
}
|
|
17297
17618
|
],
|
|
17298
|
-
"title": "
|
|
17299
|
-
"description": "
|
|
17300
|
-
"examples": [
|
|
17301
|
-
"support"
|
|
17302
|
-
]
|
|
17619
|
+
"title": "Id",
|
|
17620
|
+
"description": "A unique identifier for the task."
|
|
17303
17621
|
},
|
|
17304
|
-
"
|
|
17622
|
+
"config": {
|
|
17305
17623
|
"anyOf": [
|
|
17306
17624
|
{
|
|
17307
|
-
"
|
|
17625
|
+
"additionalProperties": {
|
|
17626
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
17627
|
+
},
|
|
17628
|
+
"type": "object"
|
|
17308
17629
|
},
|
|
17309
17630
|
{
|
|
17310
17631
|
"type": "null"
|
|
17311
17632
|
}
|
|
17312
17633
|
],
|
|
17313
|
-
"title": "
|
|
17314
|
-
"description": "Text description of insight upload folder",
|
|
17315
|
-
"examples": [
|
|
17316
|
-
"Call recordings related to customer complaints"
|
|
17317
|
-
]
|
|
17634
|
+
"title": "Config"
|
|
17318
17635
|
},
|
|
17319
|
-
"
|
|
17320
|
-
"
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17325
|
-
|
|
17636
|
+
"variables": {
|
|
17637
|
+
"anyOf": [
|
|
17638
|
+
{
|
|
17639
|
+
"items": {
|
|
17640
|
+
"$ref": "#/components/schemas/Variable"
|
|
17641
|
+
},
|
|
17642
|
+
"type": "array"
|
|
17643
|
+
},
|
|
17644
|
+
{
|
|
17645
|
+
"type": "null"
|
|
17646
|
+
}
|
|
17647
|
+
],
|
|
17648
|
+
"title": "Variables"
|
|
17326
17649
|
},
|
|
17327
|
-
"
|
|
17328
|
-
"
|
|
17329
|
-
|
|
17650
|
+
"metadata": {
|
|
17651
|
+
"anyOf": [
|
|
17652
|
+
{
|
|
17653
|
+
"$ref": "#/components/schemas/ContextTaskMetadata"
|
|
17654
|
+
},
|
|
17655
|
+
{
|
|
17656
|
+
"type": "null"
|
|
17657
|
+
}
|
|
17658
|
+
]
|
|
17659
|
+
},
|
|
17660
|
+
"tool": {
|
|
17661
|
+
"anyOf": [
|
|
17662
|
+
{
|
|
17663
|
+
"$ref": "#/components/schemas/ContextToolInfo"
|
|
17664
|
+
},
|
|
17665
|
+
{
|
|
17666
|
+
"type": "null"
|
|
17667
|
+
}
|
|
17668
|
+
]
|
|
17669
|
+
},
|
|
17670
|
+
"type": {
|
|
17671
|
+
"type": "string",
|
|
17672
|
+
"const": "event",
|
|
17673
|
+
"title": "Type",
|
|
17674
|
+
"default": "event"
|
|
17675
|
+
},
|
|
17676
|
+
"version": {
|
|
17677
|
+
"type": "string",
|
|
17678
|
+
"const": "v1alpha",
|
|
17679
|
+
"title": "Version",
|
|
17680
|
+
"default": "v1alpha"
|
|
17681
|
+
},
|
|
17682
|
+
"on": {
|
|
17683
|
+
"$ref": "#/components/schemas/EventTaskEvents",
|
|
17684
|
+
"description": "Actions to execute when the configured events occur."
|
|
17685
|
+
}
|
|
17686
|
+
},
|
|
17687
|
+
"type": "object",
|
|
17688
|
+
"title": "EventTask"
|
|
17689
|
+
},
|
|
17690
|
+
"EventTaskEvents": {
|
|
17691
|
+
"properties": {
|
|
17692
|
+
"start": {
|
|
17693
|
+
"anyOf": [
|
|
17694
|
+
{
|
|
17695
|
+
"items": {
|
|
17696
|
+
"oneOf": [
|
|
17697
|
+
{
|
|
17698
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
17699
|
+
},
|
|
17700
|
+
{
|
|
17701
|
+
"$ref": "#/components/schemas/SayAction"
|
|
17702
|
+
},
|
|
17703
|
+
{
|
|
17704
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
17705
|
+
},
|
|
17706
|
+
{
|
|
17707
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
17708
|
+
},
|
|
17709
|
+
{
|
|
17710
|
+
"$ref": "#/components/schemas/CallAction"
|
|
17711
|
+
}
|
|
17712
|
+
],
|
|
17713
|
+
"discriminator": {
|
|
17714
|
+
"propertyName": "action",
|
|
17715
|
+
"mapping": {
|
|
17716
|
+
"call": "#/components/schemas/CallAction",
|
|
17717
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
17718
|
+
"save": "#/components/schemas/SaveAction",
|
|
17719
|
+
"say": "#/components/schemas/SayAction",
|
|
17720
|
+
"set": "#/components/schemas/SetValueAction"
|
|
17721
|
+
}
|
|
17722
|
+
}
|
|
17723
|
+
},
|
|
17724
|
+
"type": "array"
|
|
17725
|
+
},
|
|
17726
|
+
{
|
|
17727
|
+
"type": "null"
|
|
17728
|
+
}
|
|
17729
|
+
],
|
|
17730
|
+
"title": "Start",
|
|
17731
|
+
"description": "Actions to execute on the first input from the user."
|
|
17732
|
+
}
|
|
17733
|
+
},
|
|
17734
|
+
"type": "object",
|
|
17735
|
+
"title": "EventTaskEvents"
|
|
17736
|
+
},
|
|
17737
|
+
"ExpressionTask": {
|
|
17738
|
+
"properties": {
|
|
17739
|
+
"id": {
|
|
17740
|
+
"anyOf": [
|
|
17741
|
+
{
|
|
17742
|
+
"type": "string"
|
|
17743
|
+
},
|
|
17744
|
+
{
|
|
17745
|
+
"type": "null"
|
|
17746
|
+
}
|
|
17747
|
+
],
|
|
17748
|
+
"title": "Id",
|
|
17749
|
+
"description": "A unique identifier for the task."
|
|
17750
|
+
},
|
|
17751
|
+
"config": {
|
|
17752
|
+
"anyOf": [
|
|
17753
|
+
{
|
|
17754
|
+
"additionalProperties": {
|
|
17755
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
17756
|
+
},
|
|
17757
|
+
"type": "object"
|
|
17758
|
+
},
|
|
17759
|
+
{
|
|
17760
|
+
"type": "null"
|
|
17761
|
+
}
|
|
17762
|
+
],
|
|
17763
|
+
"title": "Config"
|
|
17764
|
+
},
|
|
17765
|
+
"variables": {
|
|
17766
|
+
"anyOf": [
|
|
17767
|
+
{
|
|
17768
|
+
"items": {
|
|
17769
|
+
"$ref": "#/components/schemas/Variable"
|
|
17770
|
+
},
|
|
17771
|
+
"type": "array"
|
|
17772
|
+
},
|
|
17773
|
+
{
|
|
17774
|
+
"type": "null"
|
|
17775
|
+
}
|
|
17776
|
+
],
|
|
17777
|
+
"title": "Variables"
|
|
17778
|
+
},
|
|
17779
|
+
"metadata": {
|
|
17780
|
+
"anyOf": [
|
|
17781
|
+
{
|
|
17782
|
+
"$ref": "#/components/schemas/ContextTaskMetadata"
|
|
17783
|
+
},
|
|
17784
|
+
{
|
|
17785
|
+
"type": "null"
|
|
17786
|
+
}
|
|
17787
|
+
]
|
|
17788
|
+
},
|
|
17789
|
+
"tool": {
|
|
17790
|
+
"anyOf": [
|
|
17791
|
+
{
|
|
17792
|
+
"$ref": "#/components/schemas/ContextToolInfo"
|
|
17793
|
+
},
|
|
17794
|
+
{
|
|
17795
|
+
"type": "null"
|
|
17796
|
+
}
|
|
17797
|
+
]
|
|
17798
|
+
},
|
|
17799
|
+
"type": {
|
|
17800
|
+
"type": "string",
|
|
17801
|
+
"const": "expression",
|
|
17802
|
+
"title": "Type",
|
|
17803
|
+
"default": "expression"
|
|
17804
|
+
},
|
|
17805
|
+
"version": {
|
|
17806
|
+
"type": "string",
|
|
17807
|
+
"const": "v1alpha",
|
|
17808
|
+
"title": "Version",
|
|
17809
|
+
"default": "v1alpha"
|
|
17810
|
+
},
|
|
17811
|
+
"inputs": {
|
|
17812
|
+
"items": {
|
|
17813
|
+
"$ref": "#/components/schemas/InputParameter"
|
|
17814
|
+
},
|
|
17815
|
+
"type": "array",
|
|
17816
|
+
"title": "Inputs"
|
|
17817
|
+
},
|
|
17818
|
+
"expression": {
|
|
17819
|
+
"anyOf": [
|
|
17820
|
+
{
|
|
17821
|
+
"oneOf": [
|
|
17822
|
+
{
|
|
17823
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
17824
|
+
},
|
|
17825
|
+
{
|
|
17826
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
17827
|
+
}
|
|
17828
|
+
],
|
|
17829
|
+
"discriminator": {
|
|
17830
|
+
"propertyName": "type",
|
|
17831
|
+
"mapping": {
|
|
17832
|
+
"cel": "#/components/schemas/CelExpression",
|
|
17833
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
17834
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
17835
|
+
}
|
|
17836
|
+
}
|
|
17837
|
+
},
|
|
17838
|
+
{
|
|
17839
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
17840
|
+
},
|
|
17841
|
+
{
|
|
17842
|
+
"type": "string"
|
|
17843
|
+
},
|
|
17844
|
+
{
|
|
17845
|
+
"type": "null"
|
|
17846
|
+
}
|
|
17847
|
+
],
|
|
17848
|
+
"title": "Expression"
|
|
17849
|
+
},
|
|
17850
|
+
"output": {
|
|
17851
|
+
"anyOf": [
|
|
17852
|
+
{
|
|
17853
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
17854
|
+
},
|
|
17855
|
+
{
|
|
17856
|
+
"type": "null"
|
|
17857
|
+
}
|
|
17858
|
+
]
|
|
17859
|
+
},
|
|
17860
|
+
"on": {
|
|
17861
|
+
"$ref": "#/components/schemas/ExpressionTaskEvents",
|
|
17862
|
+
"description": "Actions to execute when the configured events occur."
|
|
17863
|
+
}
|
|
17864
|
+
},
|
|
17865
|
+
"type": "object",
|
|
17866
|
+
"title": "ExpressionTask"
|
|
17867
|
+
},
|
|
17868
|
+
"ExpressionTaskEvents": {
|
|
17869
|
+
"properties": {
|
|
17870
|
+
"start": {
|
|
17871
|
+
"anyOf": [
|
|
17872
|
+
{
|
|
17873
|
+
"items": {
|
|
17874
|
+
"oneOf": [
|
|
17875
|
+
{
|
|
17876
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
17877
|
+
},
|
|
17878
|
+
{
|
|
17879
|
+
"$ref": "#/components/schemas/SayAction"
|
|
17880
|
+
},
|
|
17881
|
+
{
|
|
17882
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
17883
|
+
},
|
|
17884
|
+
{
|
|
17885
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
17886
|
+
},
|
|
17887
|
+
{
|
|
17888
|
+
"$ref": "#/components/schemas/CallAction"
|
|
17889
|
+
}
|
|
17890
|
+
],
|
|
17891
|
+
"discriminator": {
|
|
17892
|
+
"propertyName": "action",
|
|
17893
|
+
"mapping": {
|
|
17894
|
+
"call": "#/components/schemas/CallAction",
|
|
17895
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
17896
|
+
"save": "#/components/schemas/SaveAction",
|
|
17897
|
+
"say": "#/components/schemas/SayAction",
|
|
17898
|
+
"set": "#/components/schemas/SetValueAction"
|
|
17899
|
+
}
|
|
17900
|
+
}
|
|
17901
|
+
},
|
|
17902
|
+
"type": "array"
|
|
17903
|
+
},
|
|
17904
|
+
{
|
|
17905
|
+
"type": "null"
|
|
17906
|
+
}
|
|
17907
|
+
],
|
|
17908
|
+
"title": "Start",
|
|
17909
|
+
"description": "Actions to execute on the first input from the user."
|
|
17910
|
+
},
|
|
17911
|
+
"submit": {
|
|
17912
|
+
"anyOf": [
|
|
17913
|
+
{
|
|
17914
|
+
"items": {
|
|
17915
|
+
"oneOf": [
|
|
17916
|
+
{
|
|
17917
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
17918
|
+
},
|
|
17919
|
+
{
|
|
17920
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
17921
|
+
},
|
|
17922
|
+
{
|
|
17923
|
+
"$ref": "#/components/schemas/SayAction"
|
|
17924
|
+
},
|
|
17925
|
+
{
|
|
17926
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
17927
|
+
},
|
|
17928
|
+
{
|
|
17929
|
+
"$ref": "#/components/schemas/CallAction"
|
|
17930
|
+
}
|
|
17931
|
+
],
|
|
17932
|
+
"discriminator": {
|
|
17933
|
+
"propertyName": "action",
|
|
17934
|
+
"mapping": {
|
|
17935
|
+
"call": "#/components/schemas/CallAction",
|
|
17936
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
17937
|
+
"save": "#/components/schemas/SaveAction",
|
|
17938
|
+
"say": "#/components/schemas/SayAction",
|
|
17939
|
+
"set": "#/components/schemas/SetValueAction"
|
|
17940
|
+
}
|
|
17941
|
+
}
|
|
17942
|
+
},
|
|
17943
|
+
"type": "array"
|
|
17944
|
+
},
|
|
17945
|
+
{
|
|
17946
|
+
"type": "null"
|
|
17947
|
+
}
|
|
17948
|
+
],
|
|
17949
|
+
"title": "Submit",
|
|
17950
|
+
"description": "Actions to execute when the tool/step is submitted by the LLM."
|
|
17951
|
+
}
|
|
17952
|
+
},
|
|
17953
|
+
"type": "object",
|
|
17954
|
+
"title": "ExpressionTaskEvents",
|
|
17955
|
+
"description": "Actions to perform when events occur (enter, submit)."
|
|
17956
|
+
},
|
|
17957
|
+
"FolderDetails": {
|
|
17958
|
+
"properties": {
|
|
17959
|
+
"name": {
|
|
17960
|
+
"type": "string",
|
|
17961
|
+
"title": "Name",
|
|
17962
|
+
"description": "Human-readable name of insight folder",
|
|
17963
|
+
"examples": [
|
|
17964
|
+
"customer-complaints"
|
|
17965
|
+
]
|
|
17966
|
+
},
|
|
17967
|
+
"label": {
|
|
17968
|
+
"anyOf": [
|
|
17969
|
+
{
|
|
17970
|
+
"type": "string"
|
|
17971
|
+
},
|
|
17972
|
+
{
|
|
17973
|
+
"type": "null"
|
|
17974
|
+
}
|
|
17975
|
+
],
|
|
17976
|
+
"title": "Label",
|
|
17977
|
+
"description": "optional label assigned to insight folder",
|
|
17978
|
+
"examples": [
|
|
17979
|
+
"support"
|
|
17980
|
+
]
|
|
17981
|
+
},
|
|
17982
|
+
"description": {
|
|
17983
|
+
"anyOf": [
|
|
17984
|
+
{
|
|
17985
|
+
"type": "string"
|
|
17986
|
+
},
|
|
17987
|
+
{
|
|
17988
|
+
"type": "null"
|
|
17989
|
+
}
|
|
17990
|
+
],
|
|
17991
|
+
"title": "Description",
|
|
17992
|
+
"description": "Text description of insight upload folder",
|
|
17993
|
+
"examples": [
|
|
17994
|
+
"Call recordings related to customer complaints"
|
|
17995
|
+
]
|
|
17996
|
+
},
|
|
17997
|
+
"id": {
|
|
17998
|
+
"type": "integer",
|
|
17999
|
+
"title": "Id",
|
|
18000
|
+
"description": "System-assign folder ID",
|
|
18001
|
+
"examples": [
|
|
18002
|
+
182764
|
|
18003
|
+
]
|
|
18004
|
+
},
|
|
18005
|
+
"created_at": {
|
|
18006
|
+
"type": "string",
|
|
18007
|
+
"format": "date-time",
|
|
17330
18008
|
"title": "Created At",
|
|
17331
18009
|
"description": "Timestamp at which insight upload folder was created",
|
|
17332
18010
|
"examples": [
|
|
17333
|
-
"2025-11-
|
|
18011
|
+
"2025-11-23T00:00:00Z"
|
|
17334
18012
|
]
|
|
17335
18013
|
},
|
|
17336
18014
|
"updated_at": {
|
|
@@ -17339,7 +18017,7 @@
|
|
|
17339
18017
|
"title": "Updated At",
|
|
17340
18018
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17341
18019
|
"examples": [
|
|
17342
|
-
"2025-11-
|
|
18020
|
+
"2025-11-24T00:00:00Z"
|
|
17343
18021
|
]
|
|
17344
18022
|
},
|
|
17345
18023
|
"last_updated_by": {
|
|
@@ -17772,73 +18450,243 @@
|
|
|
17772
18450
|
"**Incident Details**"
|
|
17773
18451
|
]
|
|
17774
18452
|
},
|
|
17775
|
-
"organization_id": {
|
|
18453
|
+
"organization_id": {
|
|
18454
|
+
"anyOf": [
|
|
18455
|
+
{
|
|
18456
|
+
"type": "integer"
|
|
18457
|
+
},
|
|
18458
|
+
{
|
|
18459
|
+
"type": "null"
|
|
18460
|
+
}
|
|
18461
|
+
],
|
|
18462
|
+
"title": "Organization Id",
|
|
18463
|
+
"description": "The ID of the organization",
|
|
18464
|
+
"examples": [
|
|
18465
|
+
123
|
|
18466
|
+
]
|
|
18467
|
+
},
|
|
18468
|
+
"sub_organization_id": {
|
|
18469
|
+
"anyOf": [
|
|
18470
|
+
{
|
|
18471
|
+
"type": "integer"
|
|
18472
|
+
},
|
|
18473
|
+
{
|
|
18474
|
+
"type": "null"
|
|
18475
|
+
}
|
|
18476
|
+
],
|
|
18477
|
+
"title": "Sub Organization Id",
|
|
18478
|
+
"description": "The ID of the sub-organization",
|
|
18479
|
+
"examples": [
|
|
18480
|
+
456
|
|
18481
|
+
]
|
|
18482
|
+
},
|
|
18483
|
+
"sub_organization": {
|
|
18484
|
+
"anyOf": [
|
|
18485
|
+
{
|
|
18486
|
+
"type": "string"
|
|
18487
|
+
},
|
|
18488
|
+
{
|
|
18489
|
+
"type": "null"
|
|
18490
|
+
}
|
|
18491
|
+
],
|
|
18492
|
+
"title": "Sub Organization",
|
|
18493
|
+
"description": "The name of the sub-organization (DEPRECATED)",
|
|
18494
|
+
"deprecated": true,
|
|
18495
|
+
"examples": [
|
|
18496
|
+
"SubOrg A"
|
|
18497
|
+
]
|
|
18498
|
+
},
|
|
18499
|
+
"id": {
|
|
18500
|
+
"type": "integer",
|
|
18501
|
+
"title": "Id",
|
|
18502
|
+
"description": "The ID of the incident to update",
|
|
18503
|
+
"examples": [
|
|
18504
|
+
1
|
|
18505
|
+
]
|
|
18506
|
+
}
|
|
18507
|
+
},
|
|
18508
|
+
"type": "object",
|
|
18509
|
+
"required": [
|
|
18510
|
+
"description",
|
|
18511
|
+
"start_datetime",
|
|
18512
|
+
"resolution_datetime",
|
|
18513
|
+
"impact_category",
|
|
18514
|
+
"sessions_impacted",
|
|
18515
|
+
"markdown",
|
|
18516
|
+
"id"
|
|
18517
|
+
],
|
|
18518
|
+
"title": "IncidentUpdateRequest",
|
|
18519
|
+
"description": "Request model to update an existing service incident."
|
|
18520
|
+
},
|
|
18521
|
+
"IncrementAction": {
|
|
18522
|
+
"properties": {
|
|
18523
|
+
"if": {
|
|
18524
|
+
"anyOf": [
|
|
18525
|
+
{
|
|
18526
|
+
"oneOf": [
|
|
18527
|
+
{
|
|
18528
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
18529
|
+
},
|
|
18530
|
+
{
|
|
18531
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
18532
|
+
}
|
|
18533
|
+
],
|
|
18534
|
+
"discriminator": {
|
|
18535
|
+
"propertyName": "type",
|
|
18536
|
+
"mapping": {
|
|
18537
|
+
"cel": "#/components/schemas/CelExpression",
|
|
18538
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
18539
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
18540
|
+
}
|
|
18541
|
+
}
|
|
18542
|
+
},
|
|
18543
|
+
{
|
|
18544
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
18545
|
+
},
|
|
18546
|
+
{
|
|
18547
|
+
"type": "string"
|
|
18548
|
+
},
|
|
18549
|
+
{
|
|
18550
|
+
"type": "null"
|
|
18551
|
+
}
|
|
18552
|
+
],
|
|
18553
|
+
"title": "If",
|
|
18554
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
18555
|
+
},
|
|
18556
|
+
"action": {
|
|
18557
|
+
"type": "string",
|
|
18558
|
+
"const": "inc",
|
|
18559
|
+
"title": "Action",
|
|
18560
|
+
"default": "inc"
|
|
18561
|
+
},
|
|
18562
|
+
"name": {
|
|
18563
|
+
"type": "string",
|
|
18564
|
+
"title": "Name",
|
|
18565
|
+
"description": "Numeric destination path to increment."
|
|
18566
|
+
},
|
|
18567
|
+
"by": {
|
|
18568
|
+
"type": "integer",
|
|
18569
|
+
"title": "By",
|
|
18570
|
+
"description": "Increment amount (defaults to 1).",
|
|
18571
|
+
"default": 1
|
|
18572
|
+
}
|
|
18573
|
+
},
|
|
18574
|
+
"type": "object",
|
|
18575
|
+
"required": [
|
|
18576
|
+
"name"
|
|
18577
|
+
],
|
|
18578
|
+
"title": "IncrementAction"
|
|
18579
|
+
},
|
|
18580
|
+
"InputParameter": {
|
|
18581
|
+
"properties": {
|
|
18582
|
+
"name": {
|
|
18583
|
+
"type": "string",
|
|
18584
|
+
"title": "Name",
|
|
18585
|
+
"description": "The name of the property."
|
|
18586
|
+
},
|
|
18587
|
+
"type": {
|
|
18588
|
+
"anyOf": [
|
|
18589
|
+
{
|
|
18590
|
+
"type": "string",
|
|
18591
|
+
"enum": [
|
|
18592
|
+
"string",
|
|
18593
|
+
"number",
|
|
18594
|
+
"integer",
|
|
18595
|
+
"boolean",
|
|
18596
|
+
"object",
|
|
18597
|
+
"array",
|
|
18598
|
+
"null"
|
|
18599
|
+
]
|
|
18600
|
+
},
|
|
18601
|
+
{
|
|
18602
|
+
"type": "null"
|
|
18603
|
+
}
|
|
18604
|
+
],
|
|
18605
|
+
"title": "Type"
|
|
18606
|
+
},
|
|
18607
|
+
"description": {
|
|
18608
|
+
"anyOf": [
|
|
18609
|
+
{
|
|
18610
|
+
"type": "string"
|
|
18611
|
+
},
|
|
18612
|
+
{
|
|
18613
|
+
"type": "null"
|
|
18614
|
+
}
|
|
18615
|
+
],
|
|
18616
|
+
"title": "Description"
|
|
18617
|
+
},
|
|
18618
|
+
"title": {
|
|
18619
|
+
"anyOf": [
|
|
18620
|
+
{
|
|
18621
|
+
"type": "string"
|
|
18622
|
+
},
|
|
18623
|
+
{
|
|
18624
|
+
"type": "null"
|
|
18625
|
+
}
|
|
18626
|
+
],
|
|
18627
|
+
"title": "Title"
|
|
18628
|
+
},
|
|
18629
|
+
"format": {
|
|
17776
18630
|
"anyOf": [
|
|
17777
18631
|
{
|
|
17778
|
-
"type": "
|
|
18632
|
+
"type": "string"
|
|
17779
18633
|
},
|
|
17780
18634
|
{
|
|
17781
18635
|
"type": "null"
|
|
17782
18636
|
}
|
|
17783
18637
|
],
|
|
17784
|
-
"title": "
|
|
17785
|
-
"description": "The ID of the organization",
|
|
17786
|
-
"examples": [
|
|
17787
|
-
123
|
|
17788
|
-
]
|
|
18638
|
+
"title": "Format"
|
|
17789
18639
|
},
|
|
17790
|
-
"
|
|
18640
|
+
"pattern": {
|
|
17791
18641
|
"anyOf": [
|
|
17792
18642
|
{
|
|
17793
|
-
"type": "
|
|
18643
|
+
"type": "string"
|
|
17794
18644
|
},
|
|
17795
18645
|
{
|
|
17796
18646
|
"type": "null"
|
|
17797
18647
|
}
|
|
17798
18648
|
],
|
|
17799
|
-
"title": "
|
|
17800
|
-
"description": "The ID of the sub-organization",
|
|
17801
|
-
"examples": [
|
|
17802
|
-
456
|
|
17803
|
-
]
|
|
18649
|
+
"title": "Pattern"
|
|
17804
18650
|
},
|
|
17805
|
-
"
|
|
18651
|
+
"enum": {
|
|
17806
18652
|
"anyOf": [
|
|
17807
18653
|
{
|
|
17808
|
-
"
|
|
18654
|
+
"items": {
|
|
18655
|
+
"type": "string"
|
|
18656
|
+
},
|
|
18657
|
+
"type": "array"
|
|
17809
18658
|
},
|
|
17810
18659
|
{
|
|
17811
18660
|
"type": "null"
|
|
17812
18661
|
}
|
|
17813
18662
|
],
|
|
17814
|
-
"title": "
|
|
17815
|
-
"description": "The name of the sub-organization (DEPRECATED)",
|
|
17816
|
-
"deprecated": true,
|
|
17817
|
-
"examples": [
|
|
17818
|
-
"SubOrg A"
|
|
17819
|
-
]
|
|
18663
|
+
"title": "Enum"
|
|
17820
18664
|
},
|
|
17821
|
-
"
|
|
17822
|
-
"
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
18665
|
+
"examples": {
|
|
18666
|
+
"anyOf": [
|
|
18667
|
+
{
|
|
18668
|
+
"items": {
|
|
18669
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
18670
|
+
},
|
|
18671
|
+
"type": "array"
|
|
18672
|
+
},
|
|
18673
|
+
{
|
|
18674
|
+
"type": "null"
|
|
18675
|
+
}
|
|
18676
|
+
],
|
|
18677
|
+
"title": "Examples"
|
|
18678
|
+
},
|
|
18679
|
+
"required": {
|
|
18680
|
+
"type": "boolean",
|
|
18681
|
+
"title": "Required",
|
|
18682
|
+
"default": true
|
|
17828
18683
|
}
|
|
17829
18684
|
},
|
|
17830
18685
|
"type": "object",
|
|
17831
18686
|
"required": [
|
|
17832
|
-
"
|
|
17833
|
-
"start_datetime",
|
|
17834
|
-
"resolution_datetime",
|
|
17835
|
-
"impact_category",
|
|
17836
|
-
"sessions_impacted",
|
|
17837
|
-
"markdown",
|
|
17838
|
-
"id"
|
|
18687
|
+
"name"
|
|
17839
18688
|
],
|
|
17840
|
-
"title": "
|
|
17841
|
-
"description": "Request model to update an existing service incident."
|
|
18689
|
+
"title": "InputParameter"
|
|
17842
18690
|
},
|
|
17843
18691
|
"InsightToolDefinition": {
|
|
17844
18692
|
"properties": {
|
|
@@ -18025,7 +18873,7 @@
|
|
|
18025
18873
|
"title": "Created At",
|
|
18026
18874
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
18027
18875
|
"examples": [
|
|
18028
|
-
"2025-11-
|
|
18876
|
+
"2025-11-23T00:00:00Z"
|
|
18029
18877
|
]
|
|
18030
18878
|
},
|
|
18031
18879
|
"updated_at": {
|
|
@@ -18034,7 +18882,7 @@
|
|
|
18034
18882
|
"title": "Updated At",
|
|
18035
18883
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
18036
18884
|
"examples": [
|
|
18037
|
-
"2025-11-
|
|
18885
|
+
"2025-11-24T00:00:00Z"
|
|
18038
18886
|
]
|
|
18039
18887
|
},
|
|
18040
18888
|
"last_updated_by": {
|
|
@@ -18415,7 +19263,7 @@
|
|
|
18415
19263
|
"title": "Start Datetime",
|
|
18416
19264
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
18417
19265
|
"examples": [
|
|
18418
|
-
"2025-11-
|
|
19266
|
+
"2025-11-23T00:00:00Z"
|
|
18419
19267
|
]
|
|
18420
19268
|
},
|
|
18421
19269
|
"end_datetime": {
|
|
@@ -18431,7 +19279,7 @@
|
|
|
18431
19279
|
"title": "End Datetime",
|
|
18432
19280
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
18433
19281
|
"examples": [
|
|
18434
|
-
"2025-11-
|
|
19282
|
+
"2025-11-24T00:00:00Z"
|
|
18435
19283
|
]
|
|
18436
19284
|
}
|
|
18437
19285
|
},
|
|
@@ -18506,7 +19354,7 @@
|
|
|
18506
19354
|
"title": "Start Datetime",
|
|
18507
19355
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
18508
19356
|
"examples": [
|
|
18509
|
-
"2025-11-
|
|
19357
|
+
"2025-11-23T00:00:00Z"
|
|
18510
19358
|
]
|
|
18511
19359
|
},
|
|
18512
19360
|
"end_datetime": {
|
|
@@ -18522,7 +19370,7 @@
|
|
|
18522
19370
|
"title": "End Datetime",
|
|
18523
19371
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
18524
19372
|
"examples": [
|
|
18525
|
-
"2025-11-
|
|
19373
|
+
"2025-11-24T00:00:00Z"
|
|
18526
19374
|
]
|
|
18527
19375
|
},
|
|
18528
19376
|
"id": {
|
|
@@ -18575,7 +19423,7 @@
|
|
|
18575
19423
|
"title": "Created At",
|
|
18576
19424
|
"description": "Timestamp at which the insight workflow was created",
|
|
18577
19425
|
"examples": [
|
|
18578
|
-
"2025-11-
|
|
19426
|
+
"2025-11-23T00:00:00Z"
|
|
18579
19427
|
]
|
|
18580
19428
|
},
|
|
18581
19429
|
"updated_at": {
|
|
@@ -18584,7 +19432,7 @@
|
|
|
18584
19432
|
"title": "Updated At",
|
|
18585
19433
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
18586
19434
|
"examples": [
|
|
18587
|
-
"2025-11-
|
|
19435
|
+
"2025-11-24T00:00:00Z"
|
|
18588
19436
|
]
|
|
18589
19437
|
},
|
|
18590
19438
|
"last_updated_by": {
|
|
@@ -18680,7 +19528,7 @@
|
|
|
18680
19528
|
"title": "Created At",
|
|
18681
19529
|
"description": "Timestamp at which insight upload folder was created",
|
|
18682
19530
|
"examples": [
|
|
18683
|
-
"2025-11-
|
|
19531
|
+
"2025-11-23T00:00:00Z"
|
|
18684
19532
|
]
|
|
18685
19533
|
},
|
|
18686
19534
|
"updated_at": {
|
|
@@ -18689,7 +19537,7 @@
|
|
|
18689
19537
|
"title": "Updated At",
|
|
18690
19538
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18691
19539
|
"examples": [
|
|
18692
|
-
"2025-11-
|
|
19540
|
+
"2025-11-24T00:00:00Z"
|
|
18693
19541
|
]
|
|
18694
19542
|
},
|
|
18695
19543
|
"last_updated_by": {
|
|
@@ -18924,7 +19772,7 @@
|
|
|
18924
19772
|
"title": "Created At",
|
|
18925
19773
|
"description": "Timestamp at which insight tool result was created",
|
|
18926
19774
|
"examples": [
|
|
18927
|
-
"2025-11-
|
|
19775
|
+
"2025-11-23T00:00:00Z"
|
|
18928
19776
|
]
|
|
18929
19777
|
},
|
|
18930
19778
|
"updated_at": {
|
|
@@ -18933,7 +19781,7 @@
|
|
|
18933
19781
|
"title": "Updated At",
|
|
18934
19782
|
"description": "Timestamp at which insight tool result was last updated",
|
|
18935
19783
|
"examples": [
|
|
18936
|
-
"2025-11-
|
|
19784
|
+
"2025-11-24T00:00:00Z"
|
|
18937
19785
|
]
|
|
18938
19786
|
},
|
|
18939
19787
|
"upload_file_metadata": {
|
|
@@ -19078,7 +19926,7 @@
|
|
|
19078
19926
|
"title": "Start Time",
|
|
19079
19927
|
"description": "Start time of the uploaded file",
|
|
19080
19928
|
"examples": [
|
|
19081
|
-
"2025-11-
|
|
19929
|
+
"2025-11-23T00:00:00Z"
|
|
19082
19930
|
]
|
|
19083
19931
|
},
|
|
19084
19932
|
"end_time": {
|
|
@@ -19094,7 +19942,7 @@
|
|
|
19094
19942
|
"title": "End Time",
|
|
19095
19943
|
"description": "End time of the uploaded file",
|
|
19096
19944
|
"examples": [
|
|
19097
|
-
"2025-11-
|
|
19945
|
+
"2025-11-24T00:00:00Z"
|
|
19098
19946
|
]
|
|
19099
19947
|
},
|
|
19100
19948
|
"error_message": {
|
|
@@ -19149,7 +19997,7 @@
|
|
|
19149
19997
|
"title": "Created At",
|
|
19150
19998
|
"description": "Timestamp at which insight upload file was created",
|
|
19151
19999
|
"examples": [
|
|
19152
|
-
"2025-11-
|
|
20000
|
+
"2025-11-23T00:00:00Z"
|
|
19153
20001
|
]
|
|
19154
20002
|
}
|
|
19155
20003
|
},
|
|
@@ -19286,6 +20134,32 @@
|
|
|
19286
20134
|
"title": "InternalTool",
|
|
19287
20135
|
"description": "A tool definition to be used by the OpenAI API."
|
|
19288
20136
|
},
|
|
20137
|
+
"JMESPathExpression": {
|
|
20138
|
+
"properties": {
|
|
20139
|
+
"expression": {
|
|
20140
|
+
"type": "string",
|
|
20141
|
+
"title": "Expression",
|
|
20142
|
+
"description": "The expression to evaluate."
|
|
20143
|
+
},
|
|
20144
|
+
"type": {
|
|
20145
|
+
"type": "string",
|
|
20146
|
+
"enum": [
|
|
20147
|
+
"jp",
|
|
20148
|
+
"jmespath"
|
|
20149
|
+
],
|
|
20150
|
+
"title": "Type",
|
|
20151
|
+
"description": "JMESPath expression.",
|
|
20152
|
+
"default": "jp"
|
|
20153
|
+
}
|
|
20154
|
+
},
|
|
20155
|
+
"type": "object",
|
|
20156
|
+
"required": [
|
|
20157
|
+
"expression"
|
|
20158
|
+
],
|
|
20159
|
+
"title": "JMESPathExpression",
|
|
20160
|
+
"description": "See https://jmespath.org/specification.html#grammar"
|
|
20161
|
+
},
|
|
20162
|
+
"JsonValue": {},
|
|
19289
20163
|
"LanguageCode": {
|
|
19290
20164
|
"type": "string",
|
|
19291
20165
|
"enum": [
|
|
@@ -21650,6 +22524,103 @@
|
|
|
21650
22524
|
],
|
|
21651
22525
|
"title": "ListResponse[VoiceGroupResponse]"
|
|
21652
22526
|
},
|
|
22527
|
+
"LoadToolFromFileTask": {
|
|
22528
|
+
"properties": {
|
|
22529
|
+
"id": {
|
|
22530
|
+
"anyOf": [
|
|
22531
|
+
{
|
|
22532
|
+
"type": "string"
|
|
22533
|
+
},
|
|
22534
|
+
{
|
|
22535
|
+
"type": "null"
|
|
22536
|
+
}
|
|
22537
|
+
],
|
|
22538
|
+
"title": "Id",
|
|
22539
|
+
"description": "A unique identifier for the task."
|
|
22540
|
+
},
|
|
22541
|
+
"config": {
|
|
22542
|
+
"anyOf": [
|
|
22543
|
+
{
|
|
22544
|
+
"additionalProperties": {
|
|
22545
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
22546
|
+
},
|
|
22547
|
+
"type": "object"
|
|
22548
|
+
},
|
|
22549
|
+
{
|
|
22550
|
+
"type": "null"
|
|
22551
|
+
}
|
|
22552
|
+
],
|
|
22553
|
+
"title": "Config"
|
|
22554
|
+
},
|
|
22555
|
+
"variables": {
|
|
22556
|
+
"anyOf": [
|
|
22557
|
+
{
|
|
22558
|
+
"items": {
|
|
22559
|
+
"$ref": "#/components/schemas/Variable"
|
|
22560
|
+
},
|
|
22561
|
+
"type": "array"
|
|
22562
|
+
},
|
|
22563
|
+
{
|
|
22564
|
+
"type": "null"
|
|
22565
|
+
}
|
|
22566
|
+
],
|
|
22567
|
+
"title": "Variables"
|
|
22568
|
+
},
|
|
22569
|
+
"metadata": {
|
|
22570
|
+
"anyOf": [
|
|
22571
|
+
{
|
|
22572
|
+
"$ref": "#/components/schemas/ContextTaskMetadata"
|
|
22573
|
+
},
|
|
22574
|
+
{
|
|
22575
|
+
"type": "null"
|
|
22576
|
+
}
|
|
22577
|
+
]
|
|
22578
|
+
},
|
|
22579
|
+
"tool": {
|
|
22580
|
+
"anyOf": [
|
|
22581
|
+
{
|
|
22582
|
+
"$ref": "#/components/schemas/ContextToolInfo"
|
|
22583
|
+
},
|
|
22584
|
+
{
|
|
22585
|
+
"type": "null"
|
|
22586
|
+
}
|
|
22587
|
+
]
|
|
22588
|
+
},
|
|
22589
|
+
"type": {
|
|
22590
|
+
"type": "string",
|
|
22591
|
+
"const": "import",
|
|
22592
|
+
"title": "Type",
|
|
22593
|
+
"default": "import"
|
|
22594
|
+
},
|
|
22595
|
+
"version": {
|
|
22596
|
+
"type": "string",
|
|
22597
|
+
"const": "v1alpha",
|
|
22598
|
+
"title": "Version",
|
|
22599
|
+
"default": "v1alpha"
|
|
22600
|
+
},
|
|
22601
|
+
"file": {
|
|
22602
|
+
"anyOf": [
|
|
22603
|
+
{
|
|
22604
|
+
"type": "string"
|
|
22605
|
+
},
|
|
22606
|
+
{
|
|
22607
|
+
"items": {
|
|
22608
|
+
"type": "string"
|
|
22609
|
+
},
|
|
22610
|
+
"type": "array"
|
|
22611
|
+
}
|
|
22612
|
+
],
|
|
22613
|
+
"title": "File",
|
|
22614
|
+
"description": "The local path of the tool definition JSON file."
|
|
22615
|
+
}
|
|
22616
|
+
},
|
|
22617
|
+
"type": "object",
|
|
22618
|
+
"required": [
|
|
22619
|
+
"file"
|
|
22620
|
+
],
|
|
22621
|
+
"title": "LoadToolFromFileTask",
|
|
22622
|
+
"description": "Bootstraps a tool from a file (for internal developer use only if ENV.local=True)."
|
|
22623
|
+
},
|
|
21653
22624
|
"LoginType": {
|
|
21654
22625
|
"type": "string",
|
|
21655
22626
|
"enum": [
|
|
@@ -21668,6 +22639,69 @@
|
|
|
21668
22639
|
"title": "MatchType",
|
|
21669
22640
|
"description": "Matching strategy for override text."
|
|
21670
22641
|
},
|
|
22642
|
+
"NextStep": {
|
|
22643
|
+
"properties": {
|
|
22644
|
+
"if": {
|
|
22645
|
+
"anyOf": [
|
|
22646
|
+
{
|
|
22647
|
+
"oneOf": [
|
|
22648
|
+
{
|
|
22649
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
22650
|
+
},
|
|
22651
|
+
{
|
|
22652
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
22653
|
+
}
|
|
22654
|
+
],
|
|
22655
|
+
"discriminator": {
|
|
22656
|
+
"propertyName": "type",
|
|
22657
|
+
"mapping": {
|
|
22658
|
+
"cel": "#/components/schemas/CelExpression",
|
|
22659
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
22660
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
22661
|
+
}
|
|
22662
|
+
}
|
|
22663
|
+
},
|
|
22664
|
+
{
|
|
22665
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
22666
|
+
},
|
|
22667
|
+
{
|
|
22668
|
+
"type": "string"
|
|
22669
|
+
},
|
|
22670
|
+
{
|
|
22671
|
+
"type": "null"
|
|
22672
|
+
}
|
|
22673
|
+
],
|
|
22674
|
+
"title": "If",
|
|
22675
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
22676
|
+
},
|
|
22677
|
+
"id": {
|
|
22678
|
+
"type": "string",
|
|
22679
|
+
"title": "Id",
|
|
22680
|
+
"description": "The identifier of the next step."
|
|
22681
|
+
},
|
|
22682
|
+
"requires": {
|
|
22683
|
+
"anyOf": [
|
|
22684
|
+
{
|
|
22685
|
+
"items": {
|
|
22686
|
+
"type": "string"
|
|
22687
|
+
},
|
|
22688
|
+
"type": "array"
|
|
22689
|
+
},
|
|
22690
|
+
{
|
|
22691
|
+
"type": "null"
|
|
22692
|
+
}
|
|
22693
|
+
],
|
|
22694
|
+
"title": "Requires",
|
|
22695
|
+
"description": "List of input field names required for this transition. Validates that specified inputs are collected before allowing transition."
|
|
22696
|
+
}
|
|
22697
|
+
},
|
|
22698
|
+
"type": "object",
|
|
22699
|
+
"required": [
|
|
22700
|
+
"id"
|
|
22701
|
+
],
|
|
22702
|
+
"title": "NextStep",
|
|
22703
|
+
"description": "Represents a conditional transition to the next step."
|
|
22704
|
+
},
|
|
21671
22705
|
"OrderByDirection": {
|
|
21672
22706
|
"type": "string",
|
|
21673
22707
|
"enum": [
|
|
@@ -22322,7 +23356,7 @@
|
|
|
22322
23356
|
"title": "Created At",
|
|
22323
23357
|
"description": "Timestamp of campaign creation",
|
|
22324
23358
|
"examples": [
|
|
22325
|
-
"2025-11-
|
|
23359
|
+
"2025-11-24T00:00:00Z"
|
|
22326
23360
|
]
|
|
22327
23361
|
},
|
|
22328
23362
|
"updated_at": {
|
|
@@ -22331,7 +23365,7 @@
|
|
|
22331
23365
|
"title": "Updated At",
|
|
22332
23366
|
"description": "Timestamp of campaign update",
|
|
22333
23367
|
"examples": [
|
|
22334
|
-
"2025-11-
|
|
23368
|
+
"2025-11-24T00:00:00Z"
|
|
22335
23369
|
]
|
|
22336
23370
|
},
|
|
22337
23371
|
"last_updated_by": {
|
|
@@ -23815,8 +24849,128 @@
|
|
|
23815
24849
|
1
|
|
23816
24850
|
]
|
|
23817
24851
|
},
|
|
23818
|
-
"last_updated_comments": {
|
|
24852
|
+
"last_updated_comments": {
|
|
24853
|
+
"anyOf": [
|
|
24854
|
+
{
|
|
24855
|
+
"type": "string"
|
|
24856
|
+
},
|
|
24857
|
+
{
|
|
24858
|
+
"type": "null"
|
|
24859
|
+
}
|
|
24860
|
+
],
|
|
24861
|
+
"title": "Last Updated Comments",
|
|
24862
|
+
"description": "Comments for the most recent edit to the role.",
|
|
24863
|
+
"examples": [
|
|
24864
|
+
"Updated to add delete permission"
|
|
24865
|
+
]
|
|
24866
|
+
}
|
|
24867
|
+
},
|
|
24868
|
+
"type": "object",
|
|
24869
|
+
"required": [
|
|
24870
|
+
"name",
|
|
24871
|
+
"permissions",
|
|
24872
|
+
"id"
|
|
24873
|
+
],
|
|
24874
|
+
"title": "RoleUpdateRequest",
|
|
24875
|
+
"description": "Request model to update an existing role."
|
|
24876
|
+
},
|
|
24877
|
+
"SaveAction": {
|
|
24878
|
+
"properties": {
|
|
24879
|
+
"if": {
|
|
24880
|
+
"anyOf": [
|
|
24881
|
+
{
|
|
24882
|
+
"oneOf": [
|
|
24883
|
+
{
|
|
24884
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
24885
|
+
},
|
|
24886
|
+
{
|
|
24887
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
24888
|
+
}
|
|
24889
|
+
],
|
|
24890
|
+
"discriminator": {
|
|
24891
|
+
"propertyName": "type",
|
|
24892
|
+
"mapping": {
|
|
24893
|
+
"cel": "#/components/schemas/CelExpression",
|
|
24894
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
24895
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
24896
|
+
}
|
|
24897
|
+
}
|
|
24898
|
+
},
|
|
24899
|
+
{
|
|
24900
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
24901
|
+
},
|
|
24902
|
+
{
|
|
24903
|
+
"type": "string"
|
|
24904
|
+
},
|
|
24905
|
+
{
|
|
24906
|
+
"type": "null"
|
|
24907
|
+
}
|
|
24908
|
+
],
|
|
24909
|
+
"title": "If",
|
|
24910
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
24911
|
+
},
|
|
24912
|
+
"action": {
|
|
24913
|
+
"type": "string",
|
|
24914
|
+
"const": "save",
|
|
24915
|
+
"title": "Action",
|
|
24916
|
+
"default": "save"
|
|
24917
|
+
},
|
|
24918
|
+
"name": {
|
|
24919
|
+
"anyOf": [
|
|
24920
|
+
{
|
|
24921
|
+
"type": "string"
|
|
24922
|
+
},
|
|
24923
|
+
{
|
|
24924
|
+
"type": "null"
|
|
24925
|
+
}
|
|
24926
|
+
],
|
|
24927
|
+
"title": "Name",
|
|
24928
|
+
"description": "Target name to save (defaults to global variable)."
|
|
24929
|
+
},
|
|
24930
|
+
"inputs": {
|
|
24931
|
+
"anyOf": [
|
|
24932
|
+
{
|
|
24933
|
+
"items": {
|
|
24934
|
+
"type": "string"
|
|
24935
|
+
},
|
|
24936
|
+
"type": "array"
|
|
24937
|
+
},
|
|
24938
|
+
{
|
|
24939
|
+
"type": "null"
|
|
24940
|
+
}
|
|
24941
|
+
],
|
|
24942
|
+
"title": "Inputs",
|
|
24943
|
+
"description": "Input field names to persist; None saves all collected inputs."
|
|
24944
|
+
}
|
|
24945
|
+
},
|
|
24946
|
+
"type": "object",
|
|
24947
|
+
"title": "SaveAction"
|
|
24948
|
+
},
|
|
24949
|
+
"SayAction": {
|
|
24950
|
+
"properties": {
|
|
24951
|
+
"if": {
|
|
23819
24952
|
"anyOf": [
|
|
24953
|
+
{
|
|
24954
|
+
"oneOf": [
|
|
24955
|
+
{
|
|
24956
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
24957
|
+
},
|
|
24958
|
+
{
|
|
24959
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
24960
|
+
}
|
|
24961
|
+
],
|
|
24962
|
+
"discriminator": {
|
|
24963
|
+
"propertyName": "type",
|
|
24964
|
+
"mapping": {
|
|
24965
|
+
"cel": "#/components/schemas/CelExpression",
|
|
24966
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
24967
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
24968
|
+
}
|
|
24969
|
+
}
|
|
24970
|
+
},
|
|
24971
|
+
{
|
|
24972
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
24973
|
+
},
|
|
23820
24974
|
{
|
|
23821
24975
|
"type": "string"
|
|
23822
24976
|
},
|
|
@@ -23824,21 +24978,36 @@
|
|
|
23824
24978
|
"type": "null"
|
|
23825
24979
|
}
|
|
23826
24980
|
],
|
|
23827
|
-
"title": "
|
|
23828
|
-
"description": "
|
|
23829
|
-
|
|
23830
|
-
|
|
23831
|
-
|
|
24981
|
+
"title": "If",
|
|
24982
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
24983
|
+
},
|
|
24984
|
+
"text": {
|
|
24985
|
+
"type": "string",
|
|
24986
|
+
"title": "Text",
|
|
24987
|
+
"description": "Text to apply if the condition is true."
|
|
24988
|
+
},
|
|
24989
|
+
"action": {
|
|
24990
|
+
"type": "string",
|
|
24991
|
+
"const": "say",
|
|
24992
|
+
"title": "Action",
|
|
24993
|
+
"default": "say"
|
|
24994
|
+
},
|
|
24995
|
+
"role": {
|
|
24996
|
+
"type": "string",
|
|
24997
|
+
"enum": [
|
|
24998
|
+
"user",
|
|
24999
|
+
"assistant"
|
|
25000
|
+
],
|
|
25001
|
+
"title": "Role",
|
|
25002
|
+
"description": "The role of the message.",
|
|
25003
|
+
"default": "assistant"
|
|
23832
25004
|
}
|
|
23833
25005
|
},
|
|
23834
25006
|
"type": "object",
|
|
23835
25007
|
"required": [
|
|
23836
|
-
"
|
|
23837
|
-
"permissions",
|
|
23838
|
-
"id"
|
|
25008
|
+
"text"
|
|
23839
25009
|
],
|
|
23840
|
-
"title": "
|
|
23841
|
-
"description": "Request model to update an existing role."
|
|
25010
|
+
"title": "SayAction"
|
|
23842
25011
|
},
|
|
23843
25012
|
"ServiceCreateRequest": {
|
|
23844
25013
|
"properties": {
|
|
@@ -24118,7 +25287,212 @@
|
|
|
24118
25287
|
"title": "Timestamp",
|
|
24119
25288
|
"description": "Timestamp of the session"
|
|
24120
25289
|
},
|
|
24121
|
-
"session_id": {
|
|
25290
|
+
"session_id": {
|
|
25291
|
+
"anyOf": [
|
|
25292
|
+
{
|
|
25293
|
+
"type": "string"
|
|
25294
|
+
},
|
|
25295
|
+
{
|
|
25296
|
+
"type": "null"
|
|
25297
|
+
}
|
|
25298
|
+
],
|
|
25299
|
+
"title": "Session Id",
|
|
25300
|
+
"description": "Internal ID of the session, generated based on interaction details"
|
|
25301
|
+
},
|
|
25302
|
+
"conversation_id": {
|
|
25303
|
+
"anyOf": [
|
|
25304
|
+
{
|
|
25305
|
+
"type": "string"
|
|
25306
|
+
},
|
|
25307
|
+
{
|
|
25308
|
+
"type": "null"
|
|
25309
|
+
}
|
|
25310
|
+
],
|
|
25311
|
+
"title": "Conversation Id",
|
|
25312
|
+
"description": "ID of the conversation of which the session is a part"
|
|
25313
|
+
},
|
|
25314
|
+
"channel_manager_service": {
|
|
25315
|
+
"anyOf": [
|
|
25316
|
+
{
|
|
25317
|
+
"type": "string"
|
|
25318
|
+
},
|
|
25319
|
+
{
|
|
25320
|
+
"type": "null"
|
|
25321
|
+
}
|
|
25322
|
+
],
|
|
25323
|
+
"title": "Channel Manager Service",
|
|
25324
|
+
"description": "Name of the service used to facilitate the session",
|
|
25325
|
+
"examples": [
|
|
25326
|
+
"hedy",
|
|
25327
|
+
"console"
|
|
25328
|
+
]
|
|
25329
|
+
},
|
|
25330
|
+
"channel_manager_type": {
|
|
25331
|
+
"anyOf": [
|
|
25332
|
+
{
|
|
25333
|
+
"type": "string"
|
|
25334
|
+
},
|
|
25335
|
+
{
|
|
25336
|
+
"type": "null"
|
|
25337
|
+
}
|
|
25338
|
+
],
|
|
25339
|
+
"title": "Channel Manager Type",
|
|
25340
|
+
"description": "Type of the service used to facilitate the session",
|
|
25341
|
+
"examples": [
|
|
25342
|
+
"voice_sip_v1",
|
|
25343
|
+
"voice_twilio_v1",
|
|
25344
|
+
"web_chat_v1"
|
|
25345
|
+
]
|
|
25346
|
+
},
|
|
25347
|
+
"channel_manager_sid": {
|
|
25348
|
+
"anyOf": [
|
|
25349
|
+
{
|
|
25350
|
+
"type": "string"
|
|
25351
|
+
},
|
|
25352
|
+
{
|
|
25353
|
+
"type": "null"
|
|
25354
|
+
}
|
|
25355
|
+
],
|
|
25356
|
+
"title": "Channel Manager Sid",
|
|
25357
|
+
"description": "Channel-manager-side ID of the session (different from session_id)"
|
|
25358
|
+
},
|
|
25359
|
+
"agent_id": {
|
|
25360
|
+
"anyOf": [
|
|
25361
|
+
{
|
|
25362
|
+
"type": "string"
|
|
25363
|
+
},
|
|
25364
|
+
{
|
|
25365
|
+
"type": "null"
|
|
25366
|
+
}
|
|
25367
|
+
],
|
|
25368
|
+
"title": "Agent Id",
|
|
25369
|
+
"description": "ID of the agent with which the session occurred"
|
|
25370
|
+
},
|
|
25371
|
+
"agent_name": {
|
|
25372
|
+
"anyOf": [
|
|
25373
|
+
{
|
|
25374
|
+
"type": "string"
|
|
25375
|
+
},
|
|
25376
|
+
{
|
|
25377
|
+
"type": "null"
|
|
25378
|
+
}
|
|
25379
|
+
],
|
|
25380
|
+
"title": "Agent Name",
|
|
25381
|
+
"description": "Name of the agent with which the session occurred"
|
|
25382
|
+
},
|
|
25383
|
+
"agent_type": {
|
|
25384
|
+
"anyOf": [
|
|
25385
|
+
{
|
|
25386
|
+
"type": "string"
|
|
25387
|
+
},
|
|
25388
|
+
{
|
|
25389
|
+
"type": "null"
|
|
25390
|
+
}
|
|
25391
|
+
],
|
|
25392
|
+
"title": "Agent Type",
|
|
25393
|
+
"description": "Type of the agent with which the session occurred"
|
|
25394
|
+
},
|
|
25395
|
+
"agent_timezone": {
|
|
25396
|
+
"anyOf": [
|
|
25397
|
+
{
|
|
25398
|
+
"type": "string"
|
|
25399
|
+
},
|
|
25400
|
+
{
|
|
25401
|
+
"type": "null"
|
|
25402
|
+
}
|
|
25403
|
+
],
|
|
25404
|
+
"title": "Agent Timezone",
|
|
25405
|
+
"description": "Timezone of the agent with which the session occurred"
|
|
25406
|
+
},
|
|
25407
|
+
"prompt_id": {
|
|
25408
|
+
"anyOf": [
|
|
25409
|
+
{
|
|
25410
|
+
"type": "string"
|
|
25411
|
+
},
|
|
25412
|
+
{
|
|
25413
|
+
"type": "null"
|
|
25414
|
+
}
|
|
25415
|
+
],
|
|
25416
|
+
"title": "Prompt Id",
|
|
25417
|
+
"description": "ID of the prompt used by the agent with which the session occurred"
|
|
25418
|
+
},
|
|
25419
|
+
"prompt_name": {
|
|
25420
|
+
"anyOf": [
|
|
25421
|
+
{
|
|
25422
|
+
"type": "string"
|
|
25423
|
+
},
|
|
25424
|
+
{
|
|
25425
|
+
"type": "null"
|
|
25426
|
+
}
|
|
25427
|
+
],
|
|
25428
|
+
"title": "Prompt Name",
|
|
25429
|
+
"description": "Name of the prompt used by the agent with which the session occurred"
|
|
25430
|
+
},
|
|
25431
|
+
"prompt_version": {
|
|
25432
|
+
"anyOf": [
|
|
25433
|
+
{
|
|
25434
|
+
"type": "string"
|
|
25435
|
+
},
|
|
25436
|
+
{
|
|
25437
|
+
"type": "null"
|
|
25438
|
+
}
|
|
25439
|
+
],
|
|
25440
|
+
"title": "Prompt Version",
|
|
25441
|
+
"description": "Legacy prompt version timestamp used by the agent with which the session occurred"
|
|
25442
|
+
},
|
|
25443
|
+
"prompt_version_number": {
|
|
25444
|
+
"anyOf": [
|
|
25445
|
+
{
|
|
25446
|
+
"type": "integer"
|
|
25447
|
+
},
|
|
25448
|
+
{
|
|
25449
|
+
"type": "null"
|
|
25450
|
+
}
|
|
25451
|
+
],
|
|
25452
|
+
"title": "Prompt Version Number",
|
|
25453
|
+
"description": "Prompt version number used by the agent with which the session occurred (new system)"
|
|
25454
|
+
},
|
|
25455
|
+
"duration": {
|
|
25456
|
+
"anyOf": [
|
|
25457
|
+
{
|
|
25458
|
+
"type": "number"
|
|
25459
|
+
},
|
|
25460
|
+
{
|
|
25461
|
+
"type": "null"
|
|
25462
|
+
}
|
|
25463
|
+
],
|
|
25464
|
+
"title": "Duration",
|
|
25465
|
+
"description": "Duration of the session in seconds"
|
|
25466
|
+
},
|
|
25467
|
+
"session_label_id": {
|
|
25468
|
+
"anyOf": [
|
|
25469
|
+
{
|
|
25470
|
+
"type": "string"
|
|
25471
|
+
},
|
|
25472
|
+
{
|
|
25473
|
+
"type": "null"
|
|
25474
|
+
}
|
|
25475
|
+
],
|
|
25476
|
+
"title": "Session Label Id",
|
|
25477
|
+
"description": "ID of the label (listing the quality of the session and any issues that occurred) associated with the session"
|
|
25478
|
+
},
|
|
25479
|
+
"source": {
|
|
25480
|
+
"anyOf": [
|
|
25481
|
+
{
|
|
25482
|
+
"type": "string"
|
|
25483
|
+
},
|
|
25484
|
+
{
|
|
25485
|
+
"type": "null"
|
|
25486
|
+
}
|
|
25487
|
+
],
|
|
25488
|
+
"title": "Source",
|
|
25489
|
+
"description": "Source of the session (e.g., for an inbound session, the user's phone number/username/email)",
|
|
25490
|
+
"examples": [
|
|
25491
|
+
"+18042221111",
|
|
25492
|
+
"user@email.com"
|
|
25493
|
+
]
|
|
25494
|
+
},
|
|
25495
|
+
"target": {
|
|
24122
25496
|
"anyOf": [
|
|
24123
25497
|
{
|
|
24124
25498
|
"type": "string"
|
|
@@ -24127,55 +25501,62 @@
|
|
|
24127
25501
|
"type": "null"
|
|
24128
25502
|
}
|
|
24129
25503
|
],
|
|
24130
|
-
"title": "
|
|
24131
|
-
"description": "
|
|
25504
|
+
"title": "Target",
|
|
25505
|
+
"description": "The name of the channel target associated with the agent at the time of the session (see ChannelTargetResponse.target)"
|
|
24132
25506
|
},
|
|
24133
|
-
"
|
|
25507
|
+
"is_legacy": {
|
|
24134
25508
|
"anyOf": [
|
|
24135
25509
|
{
|
|
24136
|
-
"type": "
|
|
25510
|
+
"type": "boolean"
|
|
24137
25511
|
},
|
|
24138
25512
|
{
|
|
24139
25513
|
"type": "null"
|
|
24140
25514
|
}
|
|
24141
25515
|
],
|
|
24142
|
-
"title": "
|
|
24143
|
-
"description": "
|
|
25516
|
+
"title": "Is Legacy",
|
|
25517
|
+
"description": "Whether the session occurred on the legacy Syllable system"
|
|
24144
25518
|
},
|
|
24145
|
-
"
|
|
25519
|
+
"is_test": {
|
|
24146
25520
|
"anyOf": [
|
|
24147
25521
|
{
|
|
24148
|
-
"type": "
|
|
25522
|
+
"type": "boolean"
|
|
24149
25523
|
},
|
|
24150
25524
|
{
|
|
24151
25525
|
"type": "null"
|
|
24152
25526
|
}
|
|
24153
25527
|
],
|
|
24154
|
-
"title": "
|
|
24155
|
-
"description": "
|
|
24156
|
-
"examples": [
|
|
24157
|
-
"hedy",
|
|
24158
|
-
"console"
|
|
24159
|
-
]
|
|
25528
|
+
"title": "Is Test",
|
|
25529
|
+
"description": "Whether the session is a test session"
|
|
24160
25530
|
},
|
|
24161
|
-
"
|
|
25531
|
+
"user_terminated": {
|
|
24162
25532
|
"anyOf": [
|
|
24163
25533
|
{
|
|
24164
|
-
"type": "
|
|
25534
|
+
"type": "boolean"
|
|
24165
25535
|
},
|
|
24166
25536
|
{
|
|
24167
25537
|
"type": "null"
|
|
24168
25538
|
}
|
|
24169
25539
|
],
|
|
24170
|
-
"title": "
|
|
24171
|
-
"description": "
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
25540
|
+
"title": "User Terminated",
|
|
25541
|
+
"description": "Whether the voice session was ended by the recipient (outbound) / caller (inbound). False if the user was transferred or there was an error. Unset if the session was not a voice session."
|
|
25542
|
+
}
|
|
25543
|
+
},
|
|
25544
|
+
"type": "object",
|
|
25545
|
+
"required": [
|
|
25546
|
+
"timestamp"
|
|
25547
|
+
],
|
|
25548
|
+
"title": "Session",
|
|
25549
|
+
"description": "A session is a building block of a conversation."
|
|
25550
|
+
},
|
|
25551
|
+
"SessionAction": {
|
|
25552
|
+
"properties": {
|
|
25553
|
+
"timestamp": {
|
|
25554
|
+
"type": "string",
|
|
25555
|
+
"format": "date-time",
|
|
25556
|
+
"title": "Timestamp",
|
|
25557
|
+
"description": "Timestamp of the tool invocation"
|
|
24177
25558
|
},
|
|
24178
|
-
"
|
|
25559
|
+
"tool_name": {
|
|
24179
25560
|
"anyOf": [
|
|
24180
25561
|
{
|
|
24181
25562
|
"type": "string"
|
|
@@ -24184,10 +25565,10 @@
|
|
|
24184
25565
|
"type": "null"
|
|
24185
25566
|
}
|
|
24186
25567
|
],
|
|
24187
|
-
"title": "
|
|
24188
|
-
"description": "
|
|
25568
|
+
"title": "Tool Name",
|
|
25569
|
+
"description": "Name of the tool that was invoked"
|
|
24189
25570
|
},
|
|
24190
|
-
"
|
|
25571
|
+
"tool_request": {
|
|
24191
25572
|
"anyOf": [
|
|
24192
25573
|
{
|
|
24193
25574
|
"type": "string"
|
|
@@ -24196,10 +25577,10 @@
|
|
|
24196
25577
|
"type": "null"
|
|
24197
25578
|
}
|
|
24198
25579
|
],
|
|
24199
|
-
"title": "
|
|
24200
|
-
"description": "
|
|
25580
|
+
"title": "Tool Request",
|
|
25581
|
+
"description": "Request sent to the tool API, if applicable"
|
|
24201
25582
|
},
|
|
24202
|
-
"
|
|
25583
|
+
"tool_result": {
|
|
24203
25584
|
"anyOf": [
|
|
24204
25585
|
{
|
|
24205
25586
|
"type": "string"
|
|
@@ -24208,10 +25589,10 @@
|
|
|
24208
25589
|
"type": "null"
|
|
24209
25590
|
}
|
|
24210
25591
|
],
|
|
24211
|
-
"title": "
|
|
24212
|
-
"description": "
|
|
25592
|
+
"title": "Tool Result",
|
|
25593
|
+
"description": "Response received from the tool API, if applicable"
|
|
24213
25594
|
},
|
|
24214
|
-
"
|
|
25595
|
+
"tool_error": {
|
|
24215
25596
|
"anyOf": [
|
|
24216
25597
|
{
|
|
24217
25598
|
"type": "string"
|
|
@@ -24220,10 +25601,109 @@
|
|
|
24220
25601
|
"type": "null"
|
|
24221
25602
|
}
|
|
24222
25603
|
],
|
|
24223
|
-
"title": "
|
|
24224
|
-
"description": "
|
|
25604
|
+
"title": "Tool Error",
|
|
25605
|
+
"description": "Error received from the tool API, if applicable"
|
|
25606
|
+
}
|
|
25607
|
+
},
|
|
25608
|
+
"type": "object",
|
|
25609
|
+
"required": [
|
|
25610
|
+
"timestamp"
|
|
25611
|
+
],
|
|
25612
|
+
"title": "SessionAction",
|
|
25613
|
+
"description": "Information about a given tool invocation as part of a session."
|
|
25614
|
+
},
|
|
25615
|
+
"SessionData": {
|
|
25616
|
+
"properties": {
|
|
25617
|
+
"session_id": {
|
|
25618
|
+
"type": "integer",
|
|
25619
|
+
"title": "Session Id",
|
|
25620
|
+
"description": "Session ID",
|
|
25621
|
+
"examples": [
|
|
25622
|
+
"123"
|
|
25623
|
+
]
|
|
24225
25624
|
},
|
|
24226
|
-
"
|
|
25625
|
+
"source": {
|
|
25626
|
+
"type": "string",
|
|
25627
|
+
"title": "Source",
|
|
25628
|
+
"description": "Session source",
|
|
25629
|
+
"examples": [
|
|
25630
|
+
"+1234567890"
|
|
25631
|
+
]
|
|
25632
|
+
},
|
|
25633
|
+
"target": {
|
|
25634
|
+
"type": "string",
|
|
25635
|
+
"title": "Target",
|
|
25636
|
+
"description": "Session target",
|
|
25637
|
+
"examples": [
|
|
25638
|
+
"+1239876543"
|
|
25639
|
+
]
|
|
25640
|
+
},
|
|
25641
|
+
"is_test": {
|
|
25642
|
+
"type": "boolean",
|
|
25643
|
+
"title": "Is Test",
|
|
25644
|
+
"description": "Is test session",
|
|
25645
|
+
"examples": [
|
|
25646
|
+
false
|
|
25647
|
+
]
|
|
25648
|
+
},
|
|
25649
|
+
"messages": {
|
|
25650
|
+
"items": {
|
|
25651
|
+
"$ref": "#/components/schemas/SessionMessage"
|
|
25652
|
+
},
|
|
25653
|
+
"type": "array",
|
|
25654
|
+
"title": "Messages",
|
|
25655
|
+
"description": "Session messages"
|
|
25656
|
+
}
|
|
25657
|
+
},
|
|
25658
|
+
"type": "object",
|
|
25659
|
+
"required": [
|
|
25660
|
+
"session_id",
|
|
25661
|
+
"source",
|
|
25662
|
+
"target",
|
|
25663
|
+
"is_test",
|
|
25664
|
+
"messages"
|
|
25665
|
+
],
|
|
25666
|
+
"title": "SessionData"
|
|
25667
|
+
},
|
|
25668
|
+
"SessionLabel": {
|
|
25669
|
+
"properties": {
|
|
25670
|
+
"session_id": {
|
|
25671
|
+
"type": "integer",
|
|
25672
|
+
"title": "Session Id",
|
|
25673
|
+
"description": "The internal ID of the session (see Session.session_id)",
|
|
25674
|
+
"examples": [
|
|
25675
|
+
1
|
|
25676
|
+
]
|
|
25677
|
+
},
|
|
25678
|
+
"type": {
|
|
25679
|
+
"type": "string",
|
|
25680
|
+
"title": "Type",
|
|
25681
|
+
"description": "The type of the label (either \"auto-rating\" or \"human-rating\")",
|
|
25682
|
+
"examples": [
|
|
25683
|
+
"auto-rating",
|
|
25684
|
+
"human-rating"
|
|
25685
|
+
]
|
|
25686
|
+
},
|
|
25687
|
+
"code": {
|
|
25688
|
+
"type": "string",
|
|
25689
|
+
"title": "Code",
|
|
25690
|
+
"description": "A code describing the quality of the labeled session (either \"GOOD\", \"OK\", \"BAD\", or \"N/A\")",
|
|
25691
|
+
"examples": [
|
|
25692
|
+
"GOOD",
|
|
25693
|
+
"OK",
|
|
25694
|
+
"BAD",
|
|
25695
|
+
"N/A"
|
|
25696
|
+
]
|
|
25697
|
+
},
|
|
25698
|
+
"user_email": {
|
|
25699
|
+
"type": "string",
|
|
25700
|
+
"title": "User Email",
|
|
25701
|
+
"description": "The email of the user who created the label",
|
|
25702
|
+
"examples": [
|
|
25703
|
+
"user@email.com"
|
|
25704
|
+
]
|
|
25705
|
+
},
|
|
25706
|
+
"comments": {
|
|
24227
25707
|
"anyOf": [
|
|
24228
25708
|
{
|
|
24229
25709
|
"type": "string"
|
|
@@ -24232,34 +25712,101 @@
|
|
|
24232
25712
|
"type": "null"
|
|
24233
25713
|
}
|
|
24234
25714
|
],
|
|
24235
|
-
"title": "
|
|
24236
|
-
"description": "
|
|
25715
|
+
"title": "Comments",
|
|
25716
|
+
"description": "Comment string describing additional details about the session"
|
|
25717
|
+
},
|
|
25718
|
+
"issue_categories": {
|
|
25719
|
+
"anyOf": [
|
|
25720
|
+
{
|
|
25721
|
+
"items": {
|
|
25722
|
+
"type": "string"
|
|
25723
|
+
},
|
|
25724
|
+
"type": "array"
|
|
25725
|
+
},
|
|
25726
|
+
{
|
|
25727
|
+
"type": "null"
|
|
25728
|
+
}
|
|
25729
|
+
],
|
|
25730
|
+
"title": "Issue Categories",
|
|
25731
|
+
"description": "Descriptions of issues occurring in the labeled call",
|
|
25732
|
+
"default": [],
|
|
25733
|
+
"examples": [
|
|
25734
|
+
[
|
|
25735
|
+
"Silent treatment"
|
|
25736
|
+
],
|
|
25737
|
+
[
|
|
25738
|
+
"Speech transcription (STT)"
|
|
25739
|
+
]
|
|
25740
|
+
]
|
|
25741
|
+
},
|
|
25742
|
+
"id": {
|
|
25743
|
+
"type": "integer",
|
|
25744
|
+
"title": "Id",
|
|
25745
|
+
"description": "The internal ID of the label",
|
|
25746
|
+
"examples": [
|
|
25747
|
+
1
|
|
25748
|
+
]
|
|
25749
|
+
},
|
|
25750
|
+
"timestamp": {
|
|
25751
|
+
"type": "string",
|
|
25752
|
+
"title": "Timestamp",
|
|
25753
|
+
"description": "The timestamp at which the label was created",
|
|
25754
|
+
"examples": [
|
|
25755
|
+
"2024-01-01T12:00:00Z"
|
|
25756
|
+
]
|
|
25757
|
+
}
|
|
25758
|
+
},
|
|
25759
|
+
"type": "object",
|
|
25760
|
+
"required": [
|
|
25761
|
+
"session_id",
|
|
25762
|
+
"type",
|
|
25763
|
+
"code",
|
|
25764
|
+
"user_email",
|
|
25765
|
+
"id",
|
|
25766
|
+
"timestamp"
|
|
25767
|
+
],
|
|
25768
|
+
"title": "SessionLabel",
|
|
25769
|
+
"description": "Response model for session label operations.\nA session label is associated with a given session and contains an evaluation of quality and\ndescriptions of issues the user encountered in that session or other details."
|
|
25770
|
+
},
|
|
25771
|
+
"SessionLabelCreate": {
|
|
25772
|
+
"properties": {
|
|
25773
|
+
"session_id": {
|
|
25774
|
+
"type": "integer",
|
|
25775
|
+
"title": "Session Id",
|
|
25776
|
+
"description": "The internal ID of the session (see Session.session_id)",
|
|
25777
|
+
"examples": [
|
|
25778
|
+
1
|
|
25779
|
+
]
|
|
25780
|
+
},
|
|
25781
|
+
"type": {
|
|
25782
|
+
"type": "string",
|
|
25783
|
+
"title": "Type",
|
|
25784
|
+
"description": "The type of the label (either \"auto-rating\" or \"human-rating\")",
|
|
25785
|
+
"examples": [
|
|
25786
|
+
"auto-rating",
|
|
25787
|
+
"human-rating"
|
|
25788
|
+
]
|
|
24237
25789
|
},
|
|
24238
|
-
"
|
|
24239
|
-
"
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
"description": "ID of the prompt used by the agent with which the session occurred"
|
|
25790
|
+
"code": {
|
|
25791
|
+
"type": "string",
|
|
25792
|
+
"title": "Code",
|
|
25793
|
+
"description": "A code describing the quality of the labeled session (either \"GOOD\", \"OK\", \"BAD\", or \"N/A\")",
|
|
25794
|
+
"examples": [
|
|
25795
|
+
"GOOD",
|
|
25796
|
+
"OK",
|
|
25797
|
+
"BAD",
|
|
25798
|
+
"N/A"
|
|
25799
|
+
]
|
|
24249
25800
|
},
|
|
24250
|
-
"
|
|
24251
|
-
"
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
}
|
|
24258
|
-
],
|
|
24259
|
-
"title": "Prompt Name",
|
|
24260
|
-
"description": "Name of the prompt used by the agent with which the session occurred"
|
|
25801
|
+
"user_email": {
|
|
25802
|
+
"type": "string",
|
|
25803
|
+
"title": "User Email",
|
|
25804
|
+
"description": "The email of the user who created the label",
|
|
25805
|
+
"examples": [
|
|
25806
|
+
"user@email.com"
|
|
25807
|
+
]
|
|
24261
25808
|
},
|
|
24262
|
-
"
|
|
25809
|
+
"comments": {
|
|
24263
25810
|
"anyOf": [
|
|
24264
25811
|
{
|
|
24265
25812
|
"type": "string"
|
|
@@ -24268,46 +25815,123 @@
|
|
|
24268
25815
|
"type": "null"
|
|
24269
25816
|
}
|
|
24270
25817
|
],
|
|
24271
|
-
"title": "
|
|
24272
|
-
"description": "
|
|
25818
|
+
"title": "Comments",
|
|
25819
|
+
"description": "Comment string describing additional details about the session"
|
|
24273
25820
|
},
|
|
24274
|
-
"
|
|
25821
|
+
"issue_categories": {
|
|
24275
25822
|
"anyOf": [
|
|
24276
25823
|
{
|
|
24277
|
-
"
|
|
25824
|
+
"items": {
|
|
25825
|
+
"type": "string"
|
|
25826
|
+
},
|
|
25827
|
+
"type": "array"
|
|
24278
25828
|
},
|
|
24279
25829
|
{
|
|
24280
25830
|
"type": "null"
|
|
24281
25831
|
}
|
|
24282
25832
|
],
|
|
24283
|
-
"title": "
|
|
24284
|
-
"description": "
|
|
25833
|
+
"title": "Issue Categories",
|
|
25834
|
+
"description": "Descriptions of issues occurring in the labeled call",
|
|
25835
|
+
"default": [],
|
|
25836
|
+
"examples": [
|
|
25837
|
+
[
|
|
25838
|
+
"Silent treatment"
|
|
25839
|
+
],
|
|
25840
|
+
[
|
|
25841
|
+
"Speech transcription (STT)"
|
|
25842
|
+
]
|
|
25843
|
+
]
|
|
25844
|
+
}
|
|
25845
|
+
},
|
|
25846
|
+
"type": "object",
|
|
25847
|
+
"required": [
|
|
25848
|
+
"session_id",
|
|
25849
|
+
"type",
|
|
25850
|
+
"code",
|
|
25851
|
+
"user_email"
|
|
25852
|
+
],
|
|
25853
|
+
"title": "SessionLabelCreate"
|
|
25854
|
+
},
|
|
25855
|
+
"SessionLabelProperties": {
|
|
25856
|
+
"type": "string",
|
|
25857
|
+
"enum": [
|
|
25858
|
+
"timestamp",
|
|
25859
|
+
"session_id",
|
|
25860
|
+
"type",
|
|
25861
|
+
"code",
|
|
25862
|
+
"user_email",
|
|
25863
|
+
"issue_categories",
|
|
25864
|
+
"session_id_list"
|
|
25865
|
+
],
|
|
25866
|
+
"title": "SessionLabelProperties"
|
|
25867
|
+
},
|
|
25868
|
+
"SessionMessage": {
|
|
25869
|
+
"properties": {
|
|
25870
|
+
"role": {
|
|
25871
|
+
"$ref": "#/components/schemas/DialogRole",
|
|
25872
|
+
"description": "Dialog role",
|
|
25873
|
+
"examples": [
|
|
25874
|
+
"agent",
|
|
25875
|
+
"user"
|
|
25876
|
+
]
|
|
24285
25877
|
},
|
|
24286
|
-
"
|
|
24287
|
-
"
|
|
24288
|
-
|
|
24289
|
-
"type": "number"
|
|
24290
|
-
},
|
|
24291
|
-
{
|
|
24292
|
-
"type": "null"
|
|
24293
|
-
}
|
|
24294
|
-
],
|
|
24295
|
-
"title": "Duration",
|
|
24296
|
-
"description": "Duration of the session in seconds"
|
|
25878
|
+
"dialog": {
|
|
25879
|
+
"$ref": "#/components/schemas/DialogMessage",
|
|
25880
|
+
"description": "Dialog message"
|
|
24297
25881
|
},
|
|
24298
|
-
"
|
|
24299
|
-
"
|
|
24300
|
-
|
|
24301
|
-
|
|
24302
|
-
|
|
24303
|
-
|
|
24304
|
-
|
|
24305
|
-
}
|
|
24306
|
-
],
|
|
24307
|
-
"title": "Session Label Id",
|
|
24308
|
-
"description": "ID of the label (listing the quality of the session and any issues that occurred) associated with the session"
|
|
25882
|
+
"tool_calls": {
|
|
25883
|
+
"items": {
|
|
25884
|
+
"$ref": "#/components/schemas/DialogToolCall"
|
|
25885
|
+
},
|
|
25886
|
+
"type": "array",
|
|
25887
|
+
"title": "Tool Calls",
|
|
25888
|
+
"description": "Tool calls"
|
|
24309
25889
|
},
|
|
24310
|
-
"
|
|
25890
|
+
"timestamp": {
|
|
25891
|
+
"type": "string",
|
|
25892
|
+
"format": "date-time",
|
|
25893
|
+
"title": "Timestamp",
|
|
25894
|
+
"description": "Message timestamp",
|
|
25895
|
+
"examples": [
|
|
25896
|
+
"2024-06-19T00:00:00"
|
|
25897
|
+
]
|
|
25898
|
+
}
|
|
25899
|
+
},
|
|
25900
|
+
"type": "object",
|
|
25901
|
+
"required": [
|
|
25902
|
+
"role",
|
|
25903
|
+
"dialog",
|
|
25904
|
+
"tool_calls",
|
|
25905
|
+
"timestamp"
|
|
25906
|
+
],
|
|
25907
|
+
"title": "SessionMessage"
|
|
25908
|
+
},
|
|
25909
|
+
"SessionProperties": {
|
|
25910
|
+
"type": "string",
|
|
25911
|
+
"enum": [
|
|
25912
|
+
"timestamp",
|
|
25913
|
+
"session_id",
|
|
25914
|
+
"conversation_id",
|
|
25915
|
+
"channel_manager_service",
|
|
25916
|
+
"channel_manager_type",
|
|
25917
|
+
"channel_manager_sid",
|
|
25918
|
+
"agent_type",
|
|
25919
|
+
"agent_id",
|
|
25920
|
+
"agent_name",
|
|
25921
|
+
"prompt_id",
|
|
25922
|
+
"prompt_name",
|
|
25923
|
+
"source",
|
|
25924
|
+
"target",
|
|
25925
|
+
"duration",
|
|
25926
|
+
"is_legacy",
|
|
25927
|
+
"is_test"
|
|
25928
|
+
],
|
|
25929
|
+
"title": "SessionProperties",
|
|
25930
|
+
"description": "Names of session fields supported for filtering/sorting on list endpoint."
|
|
25931
|
+
},
|
|
25932
|
+
"SessionRecordingResponse": {
|
|
25933
|
+
"properties": {
|
|
25934
|
+
"session_id": {
|
|
24311
25935
|
"anyOf": [
|
|
24312
25936
|
{
|
|
24313
25937
|
"type": "string"
|
|
@@ -24316,78 +25940,84 @@
|
|
|
24316
25940
|
"type": "null"
|
|
24317
25941
|
}
|
|
24318
25942
|
],
|
|
24319
|
-
"title": "
|
|
24320
|
-
"description": "
|
|
25943
|
+
"title": "Session Id",
|
|
25944
|
+
"description": "The internal ID of the session",
|
|
24321
25945
|
"examples": [
|
|
24322
|
-
|
|
24323
|
-
"user@email.com"
|
|
25946
|
+
1
|
|
24324
25947
|
]
|
|
24325
25948
|
},
|
|
24326
|
-
"
|
|
25949
|
+
"recordings": {
|
|
24327
25950
|
"anyOf": [
|
|
24328
25951
|
{
|
|
24329
|
-
"
|
|
25952
|
+
"items": {
|
|
25953
|
+
"type": "string"
|
|
25954
|
+
},
|
|
25955
|
+
"type": "array"
|
|
24330
25956
|
},
|
|
24331
25957
|
{
|
|
24332
25958
|
"type": "null"
|
|
24333
25959
|
}
|
|
24334
25960
|
],
|
|
24335
|
-
"title": "
|
|
24336
|
-
"description": "
|
|
24337
|
-
|
|
24338
|
-
|
|
25961
|
+
"title": "Recordings",
|
|
25962
|
+
"description": "List of recording URLs",
|
|
25963
|
+
"examples": [
|
|
25964
|
+
[
|
|
25965
|
+
"https://example.com/recording1.mp3",
|
|
25966
|
+
"https://example.com/recording2.mp3"
|
|
25967
|
+
]
|
|
25968
|
+
]
|
|
25969
|
+
}
|
|
25970
|
+
},
|
|
25971
|
+
"type": "object",
|
|
25972
|
+
"title": "SessionRecordingResponse",
|
|
25973
|
+
"description": "Recording URLs for a given session."
|
|
25974
|
+
},
|
|
25975
|
+
"SessionSummaryResponse": {
|
|
25976
|
+
"properties": {
|
|
25977
|
+
"summary": {
|
|
24339
25978
|
"anyOf": [
|
|
24340
25979
|
{
|
|
24341
|
-
"type": "
|
|
25980
|
+
"type": "string"
|
|
24342
25981
|
},
|
|
24343
25982
|
{
|
|
24344
25983
|
"type": "null"
|
|
24345
25984
|
}
|
|
24346
25985
|
],
|
|
24347
|
-
"title": "
|
|
24348
|
-
"description": "
|
|
25986
|
+
"title": "Summary",
|
|
25987
|
+
"description": "The AI summary of the session",
|
|
25988
|
+
"examples": [
|
|
25989
|
+
"The customer service agent successfully assisted the caller with their inquiry and the call ended positively."
|
|
25990
|
+
]
|
|
24349
25991
|
},
|
|
24350
|
-
"
|
|
25992
|
+
"rating": {
|
|
24351
25993
|
"anyOf": [
|
|
24352
25994
|
{
|
|
24353
|
-
"type": "
|
|
25995
|
+
"type": "string"
|
|
24354
25996
|
},
|
|
24355
25997
|
{
|
|
24356
25998
|
"type": "null"
|
|
24357
25999
|
}
|
|
24358
26000
|
],
|
|
24359
|
-
"title": "
|
|
24360
|
-
"description": "
|
|
26001
|
+
"title": "Rating",
|
|
26002
|
+
"description": "The AI rating of the session",
|
|
26003
|
+
"examples": [
|
|
26004
|
+
"Good"
|
|
26005
|
+
]
|
|
24361
26006
|
}
|
|
24362
26007
|
},
|
|
24363
26008
|
"type": "object",
|
|
24364
|
-
"
|
|
24365
|
-
|
|
24366
|
-
],
|
|
24367
|
-
"title": "Session",
|
|
24368
|
-
"description": "A session is a building block of a conversation."
|
|
26009
|
+
"title": "SessionSummaryResponse",
|
|
26010
|
+
"description": "AI summary information for a given session."
|
|
24369
26011
|
},
|
|
24370
|
-
"
|
|
26012
|
+
"SessionText": {
|
|
24371
26013
|
"properties": {
|
|
24372
26014
|
"timestamp": {
|
|
24373
|
-
"type": "string",
|
|
24374
|
-
"format": "date-time",
|
|
24375
|
-
"title": "Timestamp",
|
|
24376
|
-
"description": "Timestamp of the
|
|
24377
|
-
},
|
|
24378
|
-
"tool_name": {
|
|
24379
|
-
"anyOf": [
|
|
24380
|
-
{
|
|
24381
|
-
"type": "string"
|
|
24382
|
-
},
|
|
24383
|
-
{
|
|
24384
|
-
"type": "null"
|
|
24385
|
-
}
|
|
24386
|
-
],
|
|
24387
|
-
"title": "Tool Name",
|
|
24388
|
-
"description": "Name of the tool that was invoked"
|
|
26015
|
+
"type": "string",
|
|
26016
|
+
"format": "date-time",
|
|
26017
|
+
"title": "Timestamp",
|
|
26018
|
+
"description": "Timestamp of the message"
|
|
24389
26019
|
},
|
|
24390
|
-
"
|
|
26020
|
+
"lang": {
|
|
24391
26021
|
"anyOf": [
|
|
24392
26022
|
{
|
|
24393
26023
|
"type": "string"
|
|
@@ -24396,10 +26026,15 @@
|
|
|
24396
26026
|
"type": "null"
|
|
24397
26027
|
}
|
|
24398
26028
|
],
|
|
24399
|
-
"title": "
|
|
24400
|
-
"description": "
|
|
26029
|
+
"title": "Lang",
|
|
26030
|
+
"description": "ISO 639 code of the language used for the message (may appear as \"unset\" if was not conclusively determined)",
|
|
26031
|
+
"examples": [
|
|
26032
|
+
"en-US",
|
|
26033
|
+
"es-US",
|
|
26034
|
+
"unset"
|
|
26035
|
+
]
|
|
24401
26036
|
},
|
|
24402
|
-
"
|
|
26037
|
+
"source": {
|
|
24403
26038
|
"anyOf": [
|
|
24404
26039
|
{
|
|
24405
26040
|
"type": "string"
|
|
@@ -24408,10 +26043,14 @@
|
|
|
24408
26043
|
"type": "null"
|
|
24409
26044
|
}
|
|
24410
26045
|
],
|
|
24411
|
-
"title": "
|
|
24412
|
-
"description": "
|
|
26046
|
+
"title": "Source",
|
|
26047
|
+
"description": "Whether the user or agent sent the message",
|
|
26048
|
+
"examples": [
|
|
26049
|
+
"user",
|
|
26050
|
+
"agent"
|
|
26051
|
+
]
|
|
24413
26052
|
},
|
|
24414
|
-
"
|
|
26053
|
+
"text": {
|
|
24415
26054
|
"anyOf": [
|
|
24416
26055
|
{
|
|
24417
26056
|
"type": "string"
|
|
@@ -24420,110 +26059,86 @@
|
|
|
24420
26059
|
"type": "null"
|
|
24421
26060
|
}
|
|
24422
26061
|
],
|
|
24423
|
-
"title": "
|
|
24424
|
-
"description": "
|
|
26062
|
+
"title": "Text",
|
|
26063
|
+
"description": "Content of the message"
|
|
24425
26064
|
}
|
|
24426
26065
|
},
|
|
24427
26066
|
"type": "object",
|
|
24428
26067
|
"required": [
|
|
24429
26068
|
"timestamp"
|
|
24430
26069
|
],
|
|
24431
|
-
"title": "
|
|
24432
|
-
"description": "Information about a given
|
|
26070
|
+
"title": "SessionText",
|
|
26071
|
+
"description": "Information about a given message from a user to an agent or vice-versa."
|
|
24433
26072
|
},
|
|
24434
|
-
"
|
|
26073
|
+
"SessionTranscriptionResponse": {
|
|
24435
26074
|
"properties": {
|
|
24436
26075
|
"session_id": {
|
|
24437
|
-
"type": "integer",
|
|
24438
|
-
"title": "Session Id",
|
|
24439
|
-
"description": "Session ID",
|
|
24440
|
-
"examples": [
|
|
24441
|
-
"123"
|
|
24442
|
-
]
|
|
24443
|
-
},
|
|
24444
|
-
"source": {
|
|
24445
|
-
"type": "string",
|
|
24446
|
-
"title": "Source",
|
|
24447
|
-
"description": "Session source",
|
|
24448
|
-
"examples": [
|
|
24449
|
-
"+1234567890"
|
|
24450
|
-
]
|
|
24451
|
-
},
|
|
24452
|
-
"target": {
|
|
24453
26076
|
"type": "string",
|
|
24454
|
-
"title": "
|
|
24455
|
-
"description": "
|
|
24456
|
-
"examples": [
|
|
24457
|
-
"+1239876543"
|
|
24458
|
-
]
|
|
26077
|
+
"title": "Session Id",
|
|
26078
|
+
"description": "Internal ID of the session"
|
|
24459
26079
|
},
|
|
24460
|
-
"
|
|
24461
|
-
"
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
"
|
|
24465
|
-
|
|
24466
|
-
|
|
26080
|
+
"transcription": {
|
|
26081
|
+
"items": {
|
|
26082
|
+
"$ref": "#/components/schemas/SessionText"
|
|
26083
|
+
},
|
|
26084
|
+
"type": "array",
|
|
26085
|
+
"title": "Transcription",
|
|
26086
|
+
"description": "Transcriptions of all messages in the session"
|
|
24467
26087
|
},
|
|
24468
|
-
"
|
|
26088
|
+
"actions": {
|
|
24469
26089
|
"items": {
|
|
24470
|
-
"$ref": "#/components/schemas/
|
|
26090
|
+
"$ref": "#/components/schemas/SessionAction"
|
|
24471
26091
|
},
|
|
24472
26092
|
"type": "array",
|
|
24473
|
-
"title": "
|
|
24474
|
-
"description": "
|
|
26093
|
+
"title": "Actions",
|
|
26094
|
+
"description": "Tool invocations that occurred during the session"
|
|
24475
26095
|
}
|
|
24476
26096
|
},
|
|
24477
26097
|
"type": "object",
|
|
24478
26098
|
"required": [
|
|
24479
26099
|
"session_id",
|
|
24480
|
-
"
|
|
24481
|
-
"
|
|
24482
|
-
"is_test",
|
|
24483
|
-
"messages"
|
|
26100
|
+
"transcription",
|
|
26101
|
+
"actions"
|
|
24484
26102
|
],
|
|
24485
|
-
"title": "
|
|
26103
|
+
"title": "SessionTranscriptionResponse",
|
|
26104
|
+
"description": "Text transcript of a given session. For more information, see\n[Console docs](https://docs.syllable.ai/workspaces/Sessions)."
|
|
24486
26105
|
},
|
|
24487
|
-
"
|
|
26106
|
+
"SetValueAction": {
|
|
24488
26107
|
"properties": {
|
|
24489
|
-
"
|
|
24490
|
-
"
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24494
|
-
|
|
24495
|
-
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
"
|
|
24499
|
-
"title": "Type",
|
|
24500
|
-
"description": "The type of the label (either \"auto-rating\" or \"human-rating\")",
|
|
24501
|
-
"examples": [
|
|
24502
|
-
"auto-rating",
|
|
24503
|
-
"human-rating"
|
|
24504
|
-
]
|
|
24505
|
-
},
|
|
24506
|
-
"code": {
|
|
24507
|
-
"type": "string",
|
|
24508
|
-
"title": "Code",
|
|
24509
|
-
"description": "A code describing the quality of the labeled session (either \"GOOD\", \"OK\", \"BAD\", or \"N/A\")",
|
|
24510
|
-
"examples": [
|
|
24511
|
-
"GOOD",
|
|
24512
|
-
"OK",
|
|
24513
|
-
"BAD",
|
|
24514
|
-
"N/A"
|
|
24515
|
-
]
|
|
24516
|
-
},
|
|
24517
|
-
"user_email": {
|
|
24518
|
-
"type": "string",
|
|
24519
|
-
"title": "User Email",
|
|
24520
|
-
"description": "The email of the user who created the label",
|
|
24521
|
-
"examples": [
|
|
24522
|
-
"user@email.com"
|
|
24523
|
-
]
|
|
26108
|
+
"value": {
|
|
26109
|
+
"anyOf": [
|
|
26110
|
+
{
|
|
26111
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
26112
|
+
},
|
|
26113
|
+
{
|
|
26114
|
+
"type": "null"
|
|
26115
|
+
}
|
|
26116
|
+
],
|
|
26117
|
+
"description": "Initial value of the variable."
|
|
24524
26118
|
},
|
|
24525
|
-
"
|
|
26119
|
+
"value_from": {
|
|
24526
26120
|
"anyOf": [
|
|
26121
|
+
{
|
|
26122
|
+
"oneOf": [
|
|
26123
|
+
{
|
|
26124
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
26125
|
+
},
|
|
26126
|
+
{
|
|
26127
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
26128
|
+
}
|
|
26129
|
+
],
|
|
26130
|
+
"discriminator": {
|
|
26131
|
+
"propertyName": "type",
|
|
26132
|
+
"mapping": {
|
|
26133
|
+
"cel": "#/components/schemas/CelExpression",
|
|
26134
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
26135
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
26136
|
+
}
|
|
26137
|
+
}
|
|
26138
|
+
},
|
|
26139
|
+
{
|
|
26140
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
26141
|
+
},
|
|
24527
26142
|
{
|
|
24528
26143
|
"type": "string"
|
|
24529
26144
|
},
|
|
@@ -24531,101 +26146,71 @@
|
|
|
24531
26146
|
"type": "null"
|
|
24532
26147
|
}
|
|
24533
26148
|
],
|
|
24534
|
-
"title": "
|
|
24535
|
-
"description": "
|
|
26149
|
+
"title": "Value From",
|
|
26150
|
+
"description": "Expression to compute initial value (mutually exclusive with value)."
|
|
24536
26151
|
},
|
|
24537
|
-
"
|
|
26152
|
+
"if": {
|
|
24538
26153
|
"anyOf": [
|
|
24539
26154
|
{
|
|
24540
|
-
"
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
26155
|
+
"oneOf": [
|
|
26156
|
+
{
|
|
26157
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
26158
|
+
},
|
|
26159
|
+
{
|
|
26160
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
26161
|
+
}
|
|
26162
|
+
],
|
|
26163
|
+
"discriminator": {
|
|
26164
|
+
"propertyName": "type",
|
|
26165
|
+
"mapping": {
|
|
26166
|
+
"cel": "#/components/schemas/CelExpression",
|
|
26167
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
26168
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
26169
|
+
}
|
|
26170
|
+
}
|
|
26171
|
+
},
|
|
26172
|
+
{
|
|
26173
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
26174
|
+
},
|
|
26175
|
+
{
|
|
26176
|
+
"type": "string"
|
|
24544
26177
|
},
|
|
24545
26178
|
{
|
|
24546
26179
|
"type": "null"
|
|
24547
26180
|
}
|
|
24548
26181
|
],
|
|
24549
|
-
"title": "
|
|
24550
|
-
"description": "
|
|
24551
|
-
"default": [],
|
|
24552
|
-
"examples": [
|
|
24553
|
-
[
|
|
24554
|
-
"Silent treatment"
|
|
24555
|
-
],
|
|
24556
|
-
[
|
|
24557
|
-
"Speech transcription (STT)"
|
|
24558
|
-
]
|
|
24559
|
-
]
|
|
26182
|
+
"title": "If",
|
|
26183
|
+
"description": "An expression that must evaluate to true for the action to be applied."
|
|
24560
26184
|
},
|
|
24561
|
-
"
|
|
24562
|
-
"type": "
|
|
24563
|
-
"
|
|
24564
|
-
"
|
|
24565
|
-
"
|
|
24566
|
-
1
|
|
24567
|
-
]
|
|
26185
|
+
"action": {
|
|
26186
|
+
"type": "string",
|
|
26187
|
+
"const": "set",
|
|
26188
|
+
"title": "Action",
|
|
26189
|
+
"default": "set"
|
|
24568
26190
|
},
|
|
24569
|
-
"
|
|
26191
|
+
"name": {
|
|
24570
26192
|
"type": "string",
|
|
24571
|
-
"title": "
|
|
24572
|
-
"description": "
|
|
24573
|
-
"examples": [
|
|
24574
|
-
"2024-01-01T12:00:00Z"
|
|
24575
|
-
]
|
|
26193
|
+
"title": "Name",
|
|
26194
|
+
"description": "Destination path to mutate (e.g. output.foo)."
|
|
24576
26195
|
}
|
|
24577
26196
|
},
|
|
24578
26197
|
"type": "object",
|
|
24579
26198
|
"required": [
|
|
24580
|
-
"
|
|
24581
|
-
"type",
|
|
24582
|
-
"code",
|
|
24583
|
-
"user_email",
|
|
24584
|
-
"id",
|
|
24585
|
-
"timestamp"
|
|
26199
|
+
"name"
|
|
24586
26200
|
],
|
|
24587
|
-
"title": "
|
|
24588
|
-
"description": "Response model for session label operations.\nA session label is associated with a given session and contains an evaluation of quality and\ndescriptions of issues the user encountered in that session or other details."
|
|
26201
|
+
"title": "SetValueAction"
|
|
24589
26202
|
},
|
|
24590
|
-
"
|
|
26203
|
+
"StaticToolParameter": {
|
|
24591
26204
|
"properties": {
|
|
24592
|
-
"
|
|
24593
|
-
"type": "integer",
|
|
24594
|
-
"title": "Session Id",
|
|
24595
|
-
"description": "The internal ID of the session (see Session.session_id)",
|
|
24596
|
-
"examples": [
|
|
24597
|
-
1
|
|
24598
|
-
]
|
|
24599
|
-
},
|
|
24600
|
-
"type": {
|
|
24601
|
-
"type": "string",
|
|
24602
|
-
"title": "Type",
|
|
24603
|
-
"description": "The type of the label (either \"auto-rating\" or \"human-rating\")",
|
|
24604
|
-
"examples": [
|
|
24605
|
-
"auto-rating",
|
|
24606
|
-
"human-rating"
|
|
24607
|
-
]
|
|
24608
|
-
},
|
|
24609
|
-
"code": {
|
|
24610
|
-
"type": "string",
|
|
24611
|
-
"title": "Code",
|
|
24612
|
-
"description": "A code describing the quality of the labeled session (either \"GOOD\", \"OK\", \"BAD\", or \"N/A\")",
|
|
24613
|
-
"examples": [
|
|
24614
|
-
"GOOD",
|
|
24615
|
-
"OK",
|
|
24616
|
-
"BAD",
|
|
24617
|
-
"N/A"
|
|
24618
|
-
]
|
|
24619
|
-
},
|
|
24620
|
-
"user_email": {
|
|
26205
|
+
"name": {
|
|
24621
26206
|
"type": "string",
|
|
24622
|
-
"title": "
|
|
24623
|
-
"description": "The
|
|
26207
|
+
"title": "Name",
|
|
26208
|
+
"description": "The name of the parameter - must be unique within the tool.",
|
|
24624
26209
|
"examples": [
|
|
24625
|
-
"
|
|
26210
|
+
"temperature_unit"
|
|
24626
26211
|
]
|
|
24627
26212
|
},
|
|
24628
|
-
"
|
|
26213
|
+
"description": {
|
|
24629
26214
|
"anyOf": [
|
|
24630
26215
|
{
|
|
24631
26216
|
"type": "string"
|
|
@@ -24634,142 +26219,201 @@
|
|
|
24634
26219
|
"type": "null"
|
|
24635
26220
|
}
|
|
24636
26221
|
],
|
|
24637
|
-
"title": "
|
|
24638
|
-
"description": "
|
|
26222
|
+
"title": "Description",
|
|
26223
|
+
"description": "The description of the parameter.",
|
|
26224
|
+
"examples": [
|
|
26225
|
+
"Whether the temperature information should be fetched in celsius or fahrenheit."
|
|
26226
|
+
]
|
|
26227
|
+
},
|
|
26228
|
+
"required": {
|
|
26229
|
+
"type": "boolean",
|
|
26230
|
+
"title": "Required",
|
|
26231
|
+
"description": "Whether the parameter is required to have a value assigned.",
|
|
26232
|
+
"examples": [
|
|
26233
|
+
true
|
|
26234
|
+
]
|
|
26235
|
+
},
|
|
26236
|
+
"type": {
|
|
26237
|
+
"$ref": "#/components/schemas/StaticToolParameterType",
|
|
26238
|
+
"description": "The expected type for the parameter.",
|
|
26239
|
+
"examples": [
|
|
26240
|
+
"string"
|
|
26241
|
+
]
|
|
24639
26242
|
},
|
|
24640
|
-
"
|
|
26243
|
+
"default": {
|
|
24641
26244
|
"anyOf": [
|
|
24642
|
-
{
|
|
24643
|
-
"items": {
|
|
24644
|
-
"type": "string"
|
|
24645
|
-
},
|
|
24646
|
-
"type": "array"
|
|
24647
|
-
},
|
|
26245
|
+
{},
|
|
24648
26246
|
{
|
|
24649
26247
|
"type": "null"
|
|
24650
26248
|
}
|
|
24651
26249
|
],
|
|
24652
|
-
"title": "
|
|
24653
|
-
"description": "
|
|
24654
|
-
"default": [],
|
|
26250
|
+
"title": "Default",
|
|
26251
|
+
"description": "The default value for the parameter. If `type` is string, must be a string. If `type` is int, must be an int. If `type` is boolean, must be a boolean. If `type` is data_source_list, must be a list of strings (data source names).",
|
|
24655
26252
|
"examples": [
|
|
24656
|
-
|
|
24657
|
-
"Silent treatment"
|
|
24658
|
-
],
|
|
24659
|
-
[
|
|
24660
|
-
"Speech transcription (STT)"
|
|
24661
|
-
]
|
|
26253
|
+
"fahrenheit"
|
|
24662
26254
|
]
|
|
24663
26255
|
}
|
|
24664
26256
|
},
|
|
24665
26257
|
"type": "object",
|
|
24666
26258
|
"required": [
|
|
24667
|
-
"
|
|
24668
|
-
"
|
|
24669
|
-
"
|
|
24670
|
-
"user_email"
|
|
26259
|
+
"name",
|
|
26260
|
+
"required",
|
|
26261
|
+
"type"
|
|
24671
26262
|
],
|
|
24672
|
-
"title": "
|
|
26263
|
+
"title": "StaticToolParameter",
|
|
26264
|
+
"description": "A parameter for the tool whose value should be set at config time."
|
|
24673
26265
|
},
|
|
24674
|
-
"
|
|
26266
|
+
"StaticToolParameterType": {
|
|
24675
26267
|
"type": "string",
|
|
24676
26268
|
"enum": [
|
|
24677
|
-
"
|
|
24678
|
-
"
|
|
24679
|
-
"
|
|
24680
|
-
"
|
|
24681
|
-
"user_email",
|
|
24682
|
-
"issue_categories",
|
|
24683
|
-
"session_id_list"
|
|
26269
|
+
"string",
|
|
26270
|
+
"int",
|
|
26271
|
+
"boolean",
|
|
26272
|
+
"data_source_list"
|
|
24684
26273
|
],
|
|
24685
|
-
"title": "
|
|
26274
|
+
"title": "StaticToolParameterType",
|
|
26275
|
+
"description": "The expected type for a static tool parameter."
|
|
24686
26276
|
},
|
|
24687
|
-
"
|
|
26277
|
+
"Step": {
|
|
24688
26278
|
"properties": {
|
|
24689
|
-
"
|
|
24690
|
-
"
|
|
24691
|
-
"
|
|
24692
|
-
"
|
|
24693
|
-
"agent",
|
|
24694
|
-
"user"
|
|
24695
|
-
]
|
|
26279
|
+
"id": {
|
|
26280
|
+
"type": "string",
|
|
26281
|
+
"title": "Id",
|
|
26282
|
+
"description": "The unique identifier of the step."
|
|
24696
26283
|
},
|
|
24697
|
-
"
|
|
24698
|
-
"
|
|
24699
|
-
"
|
|
26284
|
+
"goal": {
|
|
26285
|
+
"type": "string",
|
|
26286
|
+
"title": "Goal",
|
|
26287
|
+
"description": "The goal of the step."
|
|
24700
26288
|
},
|
|
24701
|
-
"
|
|
26289
|
+
"instructions": {
|
|
24702
26290
|
"items": {
|
|
24703
|
-
"
|
|
26291
|
+
"anyOf": [
|
|
26292
|
+
{
|
|
26293
|
+
"$ref": "#/components/schemas/ConditionalText"
|
|
26294
|
+
},
|
|
26295
|
+
{
|
|
26296
|
+
"type": "string"
|
|
26297
|
+
}
|
|
26298
|
+
]
|
|
24704
26299
|
},
|
|
24705
26300
|
"type": "array",
|
|
24706
|
-
"title": "
|
|
24707
|
-
"description": "
|
|
26301
|
+
"title": "Instructions",
|
|
26302
|
+
"description": "The instructions for the step."
|
|
24708
26303
|
},
|
|
24709
|
-
"
|
|
24710
|
-
"
|
|
24711
|
-
"
|
|
24712
|
-
|
|
24713
|
-
|
|
24714
|
-
"
|
|
24715
|
-
"
|
|
24716
|
-
|
|
26304
|
+
"tools": {
|
|
26305
|
+
"$ref": "#/components/schemas/StepTools",
|
|
26306
|
+
"description": "The tools configuration for the step."
|
|
26307
|
+
},
|
|
26308
|
+
"inputs": {
|
|
26309
|
+
"items": {
|
|
26310
|
+
"$ref": "#/components/schemas/InputParameter"
|
|
26311
|
+
},
|
|
26312
|
+
"type": "array",
|
|
26313
|
+
"title": "Inputs",
|
|
26314
|
+
"description": "The inputs for the step."
|
|
26315
|
+
},
|
|
26316
|
+
"on": {
|
|
26317
|
+
"$ref": "#/components/schemas/StepEventActions",
|
|
26318
|
+
"description": "The events that trigger the actions to be executed."
|
|
26319
|
+
},
|
|
26320
|
+
"next": {
|
|
26321
|
+
"items": {
|
|
26322
|
+
"anyOf": [
|
|
26323
|
+
{
|
|
26324
|
+
"$ref": "#/components/schemas/NextStep"
|
|
26325
|
+
},
|
|
26326
|
+
{
|
|
26327
|
+
"type": "string"
|
|
26328
|
+
}
|
|
26329
|
+
]
|
|
26330
|
+
},
|
|
26331
|
+
"type": "array",
|
|
26332
|
+
"title": "Next",
|
|
26333
|
+
"description": "The next steps to execute."
|
|
24717
26334
|
}
|
|
24718
26335
|
},
|
|
24719
26336
|
"type": "object",
|
|
24720
26337
|
"required": [
|
|
24721
|
-
"
|
|
24722
|
-
"
|
|
24723
|
-
"tool_calls",
|
|
24724
|
-
"timestamp"
|
|
24725
|
-
],
|
|
24726
|
-
"title": "SessionMessage"
|
|
24727
|
-
},
|
|
24728
|
-
"SessionProperties": {
|
|
24729
|
-
"type": "string",
|
|
24730
|
-
"enum": [
|
|
24731
|
-
"timestamp",
|
|
24732
|
-
"session_id",
|
|
24733
|
-
"conversation_id",
|
|
24734
|
-
"channel_manager_service",
|
|
24735
|
-
"channel_manager_type",
|
|
24736
|
-
"channel_manager_sid",
|
|
24737
|
-
"agent_type",
|
|
24738
|
-
"agent_id",
|
|
24739
|
-
"agent_name",
|
|
24740
|
-
"prompt_id",
|
|
24741
|
-
"prompt_name",
|
|
24742
|
-
"source",
|
|
24743
|
-
"target",
|
|
24744
|
-
"duration",
|
|
24745
|
-
"is_legacy",
|
|
24746
|
-
"is_test"
|
|
26338
|
+
"id",
|
|
26339
|
+
"goal"
|
|
24747
26340
|
],
|
|
24748
|
-
"title": "
|
|
24749
|
-
"description": "Names of session fields supported for filtering/sorting on list endpoint."
|
|
26341
|
+
"title": "Step"
|
|
24750
26342
|
},
|
|
24751
|
-
"
|
|
26343
|
+
"StepEventActions": {
|
|
24752
26344
|
"properties": {
|
|
24753
|
-
"
|
|
26345
|
+
"start": {
|
|
24754
26346
|
"anyOf": [
|
|
24755
26347
|
{
|
|
24756
|
-
"
|
|
26348
|
+
"items": {
|
|
26349
|
+
"oneOf": [
|
|
26350
|
+
{
|
|
26351
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
26352
|
+
},
|
|
26353
|
+
{
|
|
26354
|
+
"$ref": "#/components/schemas/SayAction"
|
|
26355
|
+
},
|
|
26356
|
+
{
|
|
26357
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
26358
|
+
},
|
|
26359
|
+
{
|
|
26360
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
26361
|
+
},
|
|
26362
|
+
{
|
|
26363
|
+
"$ref": "#/components/schemas/CallAction"
|
|
26364
|
+
}
|
|
26365
|
+
],
|
|
26366
|
+
"discriminator": {
|
|
26367
|
+
"propertyName": "action",
|
|
26368
|
+
"mapping": {
|
|
26369
|
+
"call": "#/components/schemas/CallAction",
|
|
26370
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
26371
|
+
"save": "#/components/schemas/SaveAction",
|
|
26372
|
+
"say": "#/components/schemas/SayAction",
|
|
26373
|
+
"set": "#/components/schemas/SetValueAction"
|
|
26374
|
+
}
|
|
26375
|
+
}
|
|
26376
|
+
},
|
|
26377
|
+
"type": "array"
|
|
24757
26378
|
},
|
|
24758
26379
|
{
|
|
24759
26380
|
"type": "null"
|
|
24760
26381
|
}
|
|
24761
26382
|
],
|
|
24762
|
-
"title": "
|
|
24763
|
-
"description": "
|
|
24764
|
-
"examples": [
|
|
24765
|
-
1
|
|
24766
|
-
]
|
|
26383
|
+
"title": "Start",
|
|
26384
|
+
"description": "Actions to execute on the first input from the user."
|
|
24767
26385
|
},
|
|
24768
|
-
"
|
|
26386
|
+
"enter": {
|
|
24769
26387
|
"anyOf": [
|
|
24770
26388
|
{
|
|
24771
26389
|
"items": {
|
|
24772
|
-
"
|
|
26390
|
+
"oneOf": [
|
|
26391
|
+
{
|
|
26392
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
26393
|
+
},
|
|
26394
|
+
{
|
|
26395
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
26396
|
+
},
|
|
26397
|
+
{
|
|
26398
|
+
"$ref": "#/components/schemas/SayAction"
|
|
26399
|
+
},
|
|
26400
|
+
{
|
|
26401
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
26402
|
+
},
|
|
26403
|
+
{
|
|
26404
|
+
"$ref": "#/components/schemas/CallAction"
|
|
26405
|
+
}
|
|
26406
|
+
],
|
|
26407
|
+
"discriminator": {
|
|
26408
|
+
"propertyName": "action",
|
|
26409
|
+
"mapping": {
|
|
26410
|
+
"call": "#/components/schemas/CallAction",
|
|
26411
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
26412
|
+
"save": "#/components/schemas/SaveAction",
|
|
26413
|
+
"say": "#/components/schemas/SayAction",
|
|
26414
|
+
"set": "#/components/schemas/SetValueAction"
|
|
26415
|
+
}
|
|
26416
|
+
}
|
|
24773
26417
|
},
|
|
24774
26418
|
"type": "array"
|
|
24775
26419
|
},
|
|
@@ -24777,66 +26421,104 @@
|
|
|
24777
26421
|
"type": "null"
|
|
24778
26422
|
}
|
|
24779
26423
|
],
|
|
24780
|
-
"title": "
|
|
24781
|
-
"description": "
|
|
24782
|
-
|
|
24783
|
-
|
|
24784
|
-
|
|
24785
|
-
|
|
24786
|
-
|
|
24787
|
-
|
|
26424
|
+
"title": "Enter",
|
|
26425
|
+
"description": "Actions to execute when entering a step (before collecting inputs)."
|
|
26426
|
+
},
|
|
26427
|
+
"submit": {
|
|
26428
|
+
"anyOf": [
|
|
26429
|
+
{
|
|
26430
|
+
"items": {
|
|
26431
|
+
"oneOf": [
|
|
26432
|
+
{
|
|
26433
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
26434
|
+
},
|
|
26435
|
+
{
|
|
26436
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
26437
|
+
},
|
|
26438
|
+
{
|
|
26439
|
+
"$ref": "#/components/schemas/SayAction"
|
|
26440
|
+
},
|
|
26441
|
+
{
|
|
26442
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
26443
|
+
},
|
|
26444
|
+
{
|
|
26445
|
+
"$ref": "#/components/schemas/CallAction"
|
|
26446
|
+
}
|
|
26447
|
+
],
|
|
26448
|
+
"discriminator": {
|
|
26449
|
+
"propertyName": "action",
|
|
26450
|
+
"mapping": {
|
|
26451
|
+
"call": "#/components/schemas/CallAction",
|
|
26452
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
26453
|
+
"save": "#/components/schemas/SaveAction",
|
|
26454
|
+
"say": "#/components/schemas/SayAction",
|
|
26455
|
+
"set": "#/components/schemas/SetValueAction"
|
|
26456
|
+
}
|
|
26457
|
+
}
|
|
26458
|
+
},
|
|
26459
|
+
"type": "array"
|
|
26460
|
+
},
|
|
26461
|
+
{
|
|
26462
|
+
"type": "null"
|
|
26463
|
+
}
|
|
26464
|
+
],
|
|
26465
|
+
"title": "Submit",
|
|
26466
|
+
"description": "Actions to execute when the tool/step is submitted by the LLM."
|
|
24788
26467
|
}
|
|
24789
26468
|
},
|
|
24790
26469
|
"type": "object",
|
|
24791
|
-
"title": "
|
|
24792
|
-
"description": "
|
|
26470
|
+
"title": "StepEventActions",
|
|
26471
|
+
"description": "Actions to perform when events occur (enter, submit)."
|
|
24793
26472
|
},
|
|
24794
|
-
"
|
|
26473
|
+
"StepTools": {
|
|
24795
26474
|
"properties": {
|
|
24796
|
-
"
|
|
26475
|
+
"call": {
|
|
24797
26476
|
"anyOf": [
|
|
24798
26477
|
{
|
|
24799
|
-
"type": "
|
|
26478
|
+
"type": "boolean"
|
|
24800
26479
|
},
|
|
24801
26480
|
{
|
|
24802
26481
|
"type": "null"
|
|
24803
26482
|
}
|
|
24804
26483
|
],
|
|
24805
|
-
"title": "
|
|
24806
|
-
"description": "
|
|
24807
|
-
"examples": [
|
|
24808
|
-
"The customer service agent successfully assisted the caller with their inquiry and the call ended positively."
|
|
24809
|
-
]
|
|
26484
|
+
"title": "Call",
|
|
26485
|
+
"description": "Whether to force immediate tool call without user interaction."
|
|
24810
26486
|
},
|
|
24811
|
-
"
|
|
26487
|
+
"allow": {
|
|
24812
26488
|
"anyOf": [
|
|
24813
26489
|
{
|
|
24814
|
-
"
|
|
26490
|
+
"items": {
|
|
26491
|
+
"type": "string"
|
|
26492
|
+
},
|
|
26493
|
+
"type": "array"
|
|
24815
26494
|
},
|
|
24816
26495
|
{
|
|
24817
26496
|
"type": "null"
|
|
24818
26497
|
}
|
|
24819
26498
|
],
|
|
24820
|
-
"title": "
|
|
24821
|
-
"description": "
|
|
24822
|
-
|
|
24823
|
-
|
|
24824
|
-
|
|
26499
|
+
"title": "Allow",
|
|
26500
|
+
"description": "List of allowed tool names for this step."
|
|
26501
|
+
},
|
|
26502
|
+
"allow_go_to_step": {
|
|
26503
|
+
"anyOf": [
|
|
26504
|
+
{
|
|
26505
|
+
"type": "boolean"
|
|
26506
|
+
},
|
|
26507
|
+
{
|
|
26508
|
+
"type": "null"
|
|
26509
|
+
}
|
|
26510
|
+
],
|
|
26511
|
+
"title": "Allow Go To Step",
|
|
26512
|
+
"description": "Whether to expose the go_to_step escape hatch to the LLM. Defaults to disabled."
|
|
24825
26513
|
}
|
|
24826
26514
|
},
|
|
24827
26515
|
"type": "object",
|
|
24828
|
-
"title": "
|
|
24829
|
-
"description": "
|
|
26516
|
+
"title": "StepTools",
|
|
26517
|
+
"description": "Configuration for tools available in a step."
|
|
24830
26518
|
},
|
|
24831
|
-
"
|
|
26519
|
+
"StepsTask": {
|
|
24832
26520
|
"properties": {
|
|
24833
|
-
"
|
|
24834
|
-
"type": "string",
|
|
24835
|
-
"format": "date-time",
|
|
24836
|
-
"title": "Timestamp",
|
|
24837
|
-
"description": "Timestamp of the message"
|
|
24838
|
-
},
|
|
24839
|
-
"lang": {
|
|
26521
|
+
"id": {
|
|
24840
26522
|
"anyOf": [
|
|
24841
26523
|
{
|
|
24842
26524
|
"type": "string"
|
|
@@ -24845,156 +26527,79 @@
|
|
|
24845
26527
|
"type": "null"
|
|
24846
26528
|
}
|
|
24847
26529
|
],
|
|
24848
|
-
"title": "
|
|
24849
|
-
"description": "
|
|
24850
|
-
"examples": [
|
|
24851
|
-
"en-US",
|
|
24852
|
-
"es-US",
|
|
24853
|
-
"unset"
|
|
24854
|
-
]
|
|
26530
|
+
"title": "Id",
|
|
26531
|
+
"description": "A unique identifier for the task."
|
|
24855
26532
|
},
|
|
24856
|
-
"
|
|
26533
|
+
"config": {
|
|
24857
26534
|
"anyOf": [
|
|
24858
26535
|
{
|
|
24859
|
-
"
|
|
26536
|
+
"additionalProperties": {
|
|
26537
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
26538
|
+
},
|
|
26539
|
+
"type": "object"
|
|
24860
26540
|
},
|
|
24861
26541
|
{
|
|
24862
26542
|
"type": "null"
|
|
24863
26543
|
}
|
|
24864
26544
|
],
|
|
24865
|
-
"title": "
|
|
24866
|
-
"description": "Whether the user or agent sent the message",
|
|
24867
|
-
"examples": [
|
|
24868
|
-
"user",
|
|
24869
|
-
"agent"
|
|
24870
|
-
]
|
|
26545
|
+
"title": "Config"
|
|
24871
26546
|
},
|
|
24872
|
-
"
|
|
26547
|
+
"variables": {
|
|
24873
26548
|
"anyOf": [
|
|
24874
26549
|
{
|
|
24875
|
-
"
|
|
26550
|
+
"items": {
|
|
26551
|
+
"$ref": "#/components/schemas/Variable"
|
|
26552
|
+
},
|
|
26553
|
+
"type": "array"
|
|
24876
26554
|
},
|
|
24877
26555
|
{
|
|
24878
26556
|
"type": "null"
|
|
24879
26557
|
}
|
|
24880
26558
|
],
|
|
24881
|
-
"title": "
|
|
24882
|
-
"description": "Content of the message"
|
|
24883
|
-
}
|
|
24884
|
-
},
|
|
24885
|
-
"type": "object",
|
|
24886
|
-
"required": [
|
|
24887
|
-
"timestamp"
|
|
24888
|
-
],
|
|
24889
|
-
"title": "SessionText",
|
|
24890
|
-
"description": "Information about a given message from a user to an agent or vice-versa."
|
|
24891
|
-
},
|
|
24892
|
-
"SessionTranscriptionResponse": {
|
|
24893
|
-
"properties": {
|
|
24894
|
-
"session_id": {
|
|
24895
|
-
"type": "string",
|
|
24896
|
-
"title": "Session Id",
|
|
24897
|
-
"description": "Internal ID of the session"
|
|
24898
|
-
},
|
|
24899
|
-
"transcription": {
|
|
24900
|
-
"items": {
|
|
24901
|
-
"$ref": "#/components/schemas/SessionText"
|
|
24902
|
-
},
|
|
24903
|
-
"type": "array",
|
|
24904
|
-
"title": "Transcription",
|
|
24905
|
-
"description": "Transcriptions of all messages in the session"
|
|
24906
|
-
},
|
|
24907
|
-
"actions": {
|
|
24908
|
-
"items": {
|
|
24909
|
-
"$ref": "#/components/schemas/SessionAction"
|
|
24910
|
-
},
|
|
24911
|
-
"type": "array",
|
|
24912
|
-
"title": "Actions",
|
|
24913
|
-
"description": "Tool invocations that occurred during the session"
|
|
24914
|
-
}
|
|
24915
|
-
},
|
|
24916
|
-
"type": "object",
|
|
24917
|
-
"required": [
|
|
24918
|
-
"session_id",
|
|
24919
|
-
"transcription",
|
|
24920
|
-
"actions"
|
|
24921
|
-
],
|
|
24922
|
-
"title": "SessionTranscriptionResponse",
|
|
24923
|
-
"description": "Text transcript of a given session. For more information, see\n[Console docs](https://docs.syllable.ai/workspaces/Sessions)."
|
|
24924
|
-
},
|
|
24925
|
-
"StaticToolParameter": {
|
|
24926
|
-
"properties": {
|
|
24927
|
-
"name": {
|
|
24928
|
-
"type": "string",
|
|
24929
|
-
"title": "Name",
|
|
24930
|
-
"description": "The name of the parameter - must be unique within the tool.",
|
|
24931
|
-
"examples": [
|
|
24932
|
-
"temperature_unit"
|
|
24933
|
-
]
|
|
26559
|
+
"title": "Variables"
|
|
24934
26560
|
},
|
|
24935
|
-
"
|
|
26561
|
+
"metadata": {
|
|
24936
26562
|
"anyOf": [
|
|
24937
26563
|
{
|
|
24938
|
-
"
|
|
26564
|
+
"$ref": "#/components/schemas/ContextTaskMetadata"
|
|
24939
26565
|
},
|
|
24940
26566
|
{
|
|
24941
26567
|
"type": "null"
|
|
24942
26568
|
}
|
|
24943
|
-
],
|
|
24944
|
-
"title": "Description",
|
|
24945
|
-
"description": "The description of the parameter.",
|
|
24946
|
-
"examples": [
|
|
24947
|
-
"Whether the temperature information should be fetched in celsius or fahrenheit."
|
|
24948
|
-
]
|
|
24949
|
-
},
|
|
24950
|
-
"required": {
|
|
24951
|
-
"type": "boolean",
|
|
24952
|
-
"title": "Required",
|
|
24953
|
-
"description": "Whether the parameter is required to have a value assigned.",
|
|
24954
|
-
"examples": [
|
|
24955
|
-
true
|
|
24956
|
-
]
|
|
24957
|
-
},
|
|
24958
|
-
"type": {
|
|
24959
|
-
"$ref": "#/components/schemas/StaticToolParameterType",
|
|
24960
|
-
"description": "The expected type for the parameter.",
|
|
24961
|
-
"examples": [
|
|
24962
|
-
"string"
|
|
24963
26569
|
]
|
|
24964
26570
|
},
|
|
24965
|
-
"
|
|
26571
|
+
"tool": {
|
|
24966
26572
|
"anyOf": [
|
|
24967
|
-
{
|
|
26573
|
+
{
|
|
26574
|
+
"$ref": "#/components/schemas/ContextToolInfo"
|
|
26575
|
+
},
|
|
24968
26576
|
{
|
|
24969
26577
|
"type": "null"
|
|
24970
26578
|
}
|
|
24971
|
-
],
|
|
24972
|
-
"title": "Default",
|
|
24973
|
-
"description": "The default value for the parameter. If `type` is string, must be a string. If `type` is int, must be an int. If `type` is boolean, must be a boolean. If `type` is data_source_list, must be a list of strings (data source names).",
|
|
24974
|
-
"examples": [
|
|
24975
|
-
"fahrenheit"
|
|
24976
26579
|
]
|
|
26580
|
+
},
|
|
26581
|
+
"type": {
|
|
26582
|
+
"type": "string",
|
|
26583
|
+
"const": "steps",
|
|
26584
|
+
"title": "Type",
|
|
26585
|
+
"default": "steps"
|
|
26586
|
+
},
|
|
26587
|
+
"version": {
|
|
26588
|
+
"type": "string",
|
|
26589
|
+
"const": "v1alpha",
|
|
26590
|
+
"title": "Version",
|
|
26591
|
+
"default": "v1alpha"
|
|
26592
|
+
},
|
|
26593
|
+
"steps": {
|
|
26594
|
+
"items": {
|
|
26595
|
+
"$ref": "#/components/schemas/Step"
|
|
26596
|
+
},
|
|
26597
|
+
"type": "array",
|
|
26598
|
+
"title": "Steps"
|
|
24977
26599
|
}
|
|
24978
26600
|
},
|
|
24979
26601
|
"type": "object",
|
|
24980
|
-
"
|
|
24981
|
-
"name",
|
|
24982
|
-
"required",
|
|
24983
|
-
"type"
|
|
24984
|
-
],
|
|
24985
|
-
"title": "StaticToolParameter",
|
|
24986
|
-
"description": "A parameter for the tool whose value should be set at config time."
|
|
24987
|
-
},
|
|
24988
|
-
"StaticToolParameterType": {
|
|
24989
|
-
"type": "string",
|
|
24990
|
-
"enum": [
|
|
24991
|
-
"string",
|
|
24992
|
-
"int",
|
|
24993
|
-
"boolean",
|
|
24994
|
-
"data_source_list"
|
|
24995
|
-
],
|
|
24996
|
-
"title": "StaticToolParameterType",
|
|
24997
|
-
"description": "The expected type for a static tool parameter."
|
|
26602
|
+
"title": "StepsTask"
|
|
24998
26603
|
},
|
|
24999
26604
|
"SummaryEntry": {
|
|
25000
26605
|
"properties": {
|
|
@@ -25497,6 +27102,15 @@
|
|
|
25497
27102
|
"method": "get",
|
|
25498
27103
|
"url": "https://api.open-meteo.com/v1/forecast"
|
|
25499
27104
|
},
|
|
27105
|
+
"static_parameters": [
|
|
27106
|
+
{
|
|
27107
|
+
"default": "fahrenheit",
|
|
27108
|
+
"description": "Whether the temperature information should be fetched in Celsius or Fahrenheit",
|
|
27109
|
+
"name": "temperature_unit",
|
|
27110
|
+
"required": false,
|
|
27111
|
+
"type": "string"
|
|
27112
|
+
}
|
|
27113
|
+
],
|
|
25500
27114
|
"tool": {
|
|
25501
27115
|
"function": {
|
|
25502
27116
|
"description": "Get the weather for a city",
|
|
@@ -25694,6 +27308,15 @@
|
|
|
25694
27308
|
"method": "get",
|
|
25695
27309
|
"url": "https://api.open-meteo.com/v1/forecast"
|
|
25696
27310
|
},
|
|
27311
|
+
"static_parameters": [
|
|
27312
|
+
{
|
|
27313
|
+
"default": "fahrenheit",
|
|
27314
|
+
"description": "Whether the temperature information should be fetched in Celsius or Fahrenheit",
|
|
27315
|
+
"name": "temperature_unit",
|
|
27316
|
+
"required": false,
|
|
27317
|
+
"type": "string"
|
|
27318
|
+
}
|
|
27319
|
+
],
|
|
25697
27320
|
"tool": {
|
|
25698
27321
|
"function": {
|
|
25699
27322
|
"description": "Get the weather for a city",
|
|
@@ -26105,6 +27728,15 @@
|
|
|
26105
27728
|
"method": "get",
|
|
26106
27729
|
"url": "https://api.open-meteo.com/v1/forecast"
|
|
26107
27730
|
},
|
|
27731
|
+
"static_parameters": [
|
|
27732
|
+
{
|
|
27733
|
+
"default": "fahrenheit",
|
|
27734
|
+
"description": "Whether the temperature information should be fetched in Celsius or Fahrenheit",
|
|
27735
|
+
"name": "temperature_unit",
|
|
27736
|
+
"required": false,
|
|
27737
|
+
"type": "string"
|
|
27738
|
+
}
|
|
27739
|
+
],
|
|
26108
27740
|
"tool": {
|
|
26109
27741
|
"function": {
|
|
26110
27742
|
"description": "Get the weather for a city",
|
|
@@ -26286,6 +27918,15 @@
|
|
|
26286
27918
|
"method": "get",
|
|
26287
27919
|
"url": "https://api.open-meteo.com/v1/forecast"
|
|
26288
27920
|
},
|
|
27921
|
+
"static_parameters": [
|
|
27922
|
+
{
|
|
27923
|
+
"default": "fahrenheit",
|
|
27924
|
+
"description": "Whether the temperature information should be fetched in Celsius or Fahrenheit",
|
|
27925
|
+
"name": "temperature_unit",
|
|
27926
|
+
"required": false,
|
|
27927
|
+
"type": "string"
|
|
27928
|
+
}
|
|
27929
|
+
],
|
|
26289
27930
|
"tool": {
|
|
26290
27931
|
"function": {
|
|
26291
27932
|
"description": "Get the weather for a city",
|
|
@@ -27031,6 +28672,156 @@
|
|
|
27031
28672
|
],
|
|
27032
28673
|
"title": "ValidationError"
|
|
27033
28674
|
},
|
|
28675
|
+
"Variable": {
|
|
28676
|
+
"properties": {
|
|
28677
|
+
"value": {
|
|
28678
|
+
"anyOf": [
|
|
28679
|
+
{
|
|
28680
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
28681
|
+
},
|
|
28682
|
+
{
|
|
28683
|
+
"type": "null"
|
|
28684
|
+
}
|
|
28685
|
+
],
|
|
28686
|
+
"description": "Initial value of the variable."
|
|
28687
|
+
},
|
|
28688
|
+
"value_from": {
|
|
28689
|
+
"anyOf": [
|
|
28690
|
+
{
|
|
28691
|
+
"oneOf": [
|
|
28692
|
+
{
|
|
28693
|
+
"$ref": "#/components/schemas/CelExpression"
|
|
28694
|
+
},
|
|
28695
|
+
{
|
|
28696
|
+
"$ref": "#/components/schemas/JMESPathExpression"
|
|
28697
|
+
}
|
|
28698
|
+
],
|
|
28699
|
+
"discriminator": {
|
|
28700
|
+
"propertyName": "type",
|
|
28701
|
+
"mapping": {
|
|
28702
|
+
"cel": "#/components/schemas/CelExpression",
|
|
28703
|
+
"jmespath": "#/components/schemas/JMESPathExpression",
|
|
28704
|
+
"jp": "#/components/schemas/JMESPathExpression"
|
|
28705
|
+
}
|
|
28706
|
+
}
|
|
28707
|
+
},
|
|
28708
|
+
{
|
|
28709
|
+
"$ref": "#/components/schemas/CaseExpression"
|
|
28710
|
+
},
|
|
28711
|
+
{
|
|
28712
|
+
"type": "string"
|
|
28713
|
+
},
|
|
28714
|
+
{
|
|
28715
|
+
"type": "null"
|
|
28716
|
+
}
|
|
28717
|
+
],
|
|
28718
|
+
"title": "Value From",
|
|
28719
|
+
"description": "Expression to compute initial value (mutually exclusive with value)."
|
|
28720
|
+
},
|
|
28721
|
+
"name": {
|
|
28722
|
+
"type": "string",
|
|
28723
|
+
"title": "Name",
|
|
28724
|
+
"description": "The name of the property."
|
|
28725
|
+
},
|
|
28726
|
+
"type": {
|
|
28727
|
+
"anyOf": [
|
|
28728
|
+
{
|
|
28729
|
+
"type": "string",
|
|
28730
|
+
"enum": [
|
|
28731
|
+
"string",
|
|
28732
|
+
"number",
|
|
28733
|
+
"integer",
|
|
28734
|
+
"boolean",
|
|
28735
|
+
"object",
|
|
28736
|
+
"array",
|
|
28737
|
+
"null"
|
|
28738
|
+
]
|
|
28739
|
+
},
|
|
28740
|
+
{
|
|
28741
|
+
"type": "null"
|
|
28742
|
+
}
|
|
28743
|
+
],
|
|
28744
|
+
"title": "Type"
|
|
28745
|
+
},
|
|
28746
|
+
"description": {
|
|
28747
|
+
"anyOf": [
|
|
28748
|
+
{
|
|
28749
|
+
"type": "string"
|
|
28750
|
+
},
|
|
28751
|
+
{
|
|
28752
|
+
"type": "null"
|
|
28753
|
+
}
|
|
28754
|
+
],
|
|
28755
|
+
"title": "Description"
|
|
28756
|
+
},
|
|
28757
|
+
"title": {
|
|
28758
|
+
"anyOf": [
|
|
28759
|
+
{
|
|
28760
|
+
"type": "string"
|
|
28761
|
+
},
|
|
28762
|
+
{
|
|
28763
|
+
"type": "null"
|
|
28764
|
+
}
|
|
28765
|
+
],
|
|
28766
|
+
"title": "Title"
|
|
28767
|
+
},
|
|
28768
|
+
"format": {
|
|
28769
|
+
"anyOf": [
|
|
28770
|
+
{
|
|
28771
|
+
"type": "string"
|
|
28772
|
+
},
|
|
28773
|
+
{
|
|
28774
|
+
"type": "null"
|
|
28775
|
+
}
|
|
28776
|
+
],
|
|
28777
|
+
"title": "Format"
|
|
28778
|
+
},
|
|
28779
|
+
"pattern": {
|
|
28780
|
+
"anyOf": [
|
|
28781
|
+
{
|
|
28782
|
+
"type": "string"
|
|
28783
|
+
},
|
|
28784
|
+
{
|
|
28785
|
+
"type": "null"
|
|
28786
|
+
}
|
|
28787
|
+
],
|
|
28788
|
+
"title": "Pattern"
|
|
28789
|
+
},
|
|
28790
|
+
"enum": {
|
|
28791
|
+
"anyOf": [
|
|
28792
|
+
{
|
|
28793
|
+
"items": {
|
|
28794
|
+
"type": "string"
|
|
28795
|
+
},
|
|
28796
|
+
"type": "array"
|
|
28797
|
+
},
|
|
28798
|
+
{
|
|
28799
|
+
"type": "null"
|
|
28800
|
+
}
|
|
28801
|
+
],
|
|
28802
|
+
"title": "Enum"
|
|
28803
|
+
},
|
|
28804
|
+
"examples": {
|
|
28805
|
+
"anyOf": [
|
|
28806
|
+
{
|
|
28807
|
+
"items": {
|
|
28808
|
+
"$ref": "#/components/schemas/JsonValue"
|
|
28809
|
+
},
|
|
28810
|
+
"type": "array"
|
|
28811
|
+
},
|
|
28812
|
+
{
|
|
28813
|
+
"type": "null"
|
|
28814
|
+
}
|
|
28815
|
+
],
|
|
28816
|
+
"title": "Examples"
|
|
28817
|
+
}
|
|
28818
|
+
},
|
|
28819
|
+
"type": "object",
|
|
28820
|
+
"required": [
|
|
28821
|
+
"name"
|
|
28822
|
+
],
|
|
28823
|
+
"title": "Variable"
|
|
28824
|
+
},
|
|
27034
28825
|
"VoiceDisplayInfo": {
|
|
27035
28826
|
"properties": {
|
|
27036
28827
|
"display_name": {
|