@retell-ai/retell-cli 0.12.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/generated/operations.js +153 -21
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ export const catalogMetadata = {
|
|
|
3
3
|
"title": "Retell SDK",
|
|
4
4
|
"apiVersion": "3.0.0",
|
|
5
5
|
"server": "https://api.retellai.com",
|
|
6
|
-
"sourceSha256": "
|
|
7
|
-
"operationCount":
|
|
6
|
+
"sourceSha256": "4e2d3cbbeecf1f8e961d23ec75cfa4172111102050019e897789af31afdb9095",
|
|
7
|
+
"operationCount": 109
|
|
8
8
|
};
|
|
9
9
|
export const schemaDefinitions = {
|
|
10
10
|
"AgentFilter": {
|
|
@@ -6592,7 +6592,7 @@ export const operations = [
|
|
|
6592
6592
|
"flag": "--responsiveness",
|
|
6593
6593
|
"required": false,
|
|
6594
6594
|
"type": "number",
|
|
6595
|
-
"description": "Controls how responsive the agent
|
|
6595
|
+
"description": "Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.",
|
|
6596
6596
|
"example": 1,
|
|
6597
6597
|
"array": false,
|
|
6598
6598
|
"nullable": false,
|
|
@@ -6712,7 +6712,7 @@ export const operations = [
|
|
|
6712
6712
|
"flag": "--webhook-url",
|
|
6713
6713
|
"required": false,
|
|
6714
6714
|
"type": "string",
|
|
6715
|
-
"description": "The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will
|
|
6715
|
+
"description": "The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.",
|
|
6716
6716
|
"example": "https://webhook-url-here",
|
|
6717
6717
|
"array": false,
|
|
6718
6718
|
"nullable": true,
|
|
@@ -7571,7 +7571,7 @@ export const operations = [
|
|
|
7571
7571
|
}
|
|
7572
7572
|
]
|
|
7573
7573
|
},
|
|
7574
|
-
"responseContractHash": "
|
|
7574
|
+
"responseContractHash": "62531dcc54900399151590ff19b8da06601726af27bd2530283f063efdf04742"
|
|
7575
7575
|
},
|
|
7576
7576
|
{
|
|
7577
7577
|
"operationId": "createChatAgent",
|
|
@@ -7676,7 +7676,7 @@ export const operations = [
|
|
|
7676
7676
|
"flag": "--webhook-url",
|
|
7677
7677
|
"required": false,
|
|
7678
7678
|
"type": "string",
|
|
7679
|
-
"description": "The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will
|
|
7679
|
+
"description": "The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.",
|
|
7680
7680
|
"example": "https://webhook-url-here",
|
|
7681
7681
|
"array": false,
|
|
7682
7682
|
"nullable": true,
|
|
@@ -8603,7 +8603,7 @@ export const operations = [
|
|
|
8603
8603
|
"name": "max_chunk_size",
|
|
8604
8604
|
"required": false,
|
|
8605
8605
|
"type": "integer",
|
|
8606
|
-
"description": "Maximum number of characters per chunk when splitting knowledge base
|
|
8606
|
+
"description": "Maximum number of characters per chunk when splitting knowledge base. Default is 2000. content. Immutable after creation.",
|
|
8607
8607
|
"file": false,
|
|
8608
8608
|
"array": false,
|
|
8609
8609
|
"serialization": "text",
|
|
@@ -9456,7 +9456,7 @@ export const operations = [
|
|
|
9456
9456
|
}
|
|
9457
9457
|
]
|
|
9458
9458
|
},
|
|
9459
|
-
"responseContractHash": "
|
|
9459
|
+
"responseContractHash": "b14d904a975892f99c9dfb613d0f2d3b905f974c6a31bc34ad8b3fb12b061683"
|
|
9460
9460
|
},
|
|
9461
9461
|
{
|
|
9462
9462
|
"operationId": "createTestCaseDefinition",
|
|
@@ -9723,7 +9723,139 @@ export const operations = [
|
|
|
9723
9723
|
}
|
|
9724
9724
|
]
|
|
9725
9725
|
},
|
|
9726
|
-
"responseContractHash": "
|
|
9726
|
+
"responseContractHash": "41fb8734cceb8c5d24a3dbb3024a881746d7ceea15a22814299ba9b174adacd2"
|
|
9727
|
+
},
|
|
9728
|
+
{
|
|
9729
|
+
"operationId": "createWebCallV3",
|
|
9730
|
+
"command": "create-web-call-v3",
|
|
9731
|
+
"method": "POST",
|
|
9732
|
+
"path": "/v3/create-web-call",
|
|
9733
|
+
"description": "Create a new web call and return browser connection details.",
|
|
9734
|
+
"deprecated": false,
|
|
9735
|
+
"authenticated": true,
|
|
9736
|
+
"parameters": [],
|
|
9737
|
+
"requestBody": {
|
|
9738
|
+
"required": true,
|
|
9739
|
+
"contentType": "application/json",
|
|
9740
|
+
"propertyCount": 7,
|
|
9741
|
+
"requiredFields": [
|
|
9742
|
+
"agent_id"
|
|
9743
|
+
],
|
|
9744
|
+
"validationSchema": {
|
|
9745
|
+
"type": "object",
|
|
9746
|
+
"required": [
|
|
9747
|
+
"agent_id"
|
|
9748
|
+
],
|
|
9749
|
+
"properties": {
|
|
9750
|
+
"agent_id": {
|
|
9751
|
+
"type": "string",
|
|
9752
|
+
"minLength": 1
|
|
9753
|
+
},
|
|
9754
|
+
"agent_version": {
|
|
9755
|
+
"$ref": "#/components/schemas/AgentVersionReference"
|
|
9756
|
+
},
|
|
9757
|
+
"agent_override": {
|
|
9758
|
+
"$ref": "#/components/schemas/AgentOverrideRequest"
|
|
9759
|
+
},
|
|
9760
|
+
"metadata": {
|
|
9761
|
+
"type": "object"
|
|
9762
|
+
},
|
|
9763
|
+
"retell_llm_dynamic_variables": {
|
|
9764
|
+
"type": "object",
|
|
9765
|
+
"additionalProperties": {
|
|
9766
|
+
"type": "string"
|
|
9767
|
+
}
|
|
9768
|
+
},
|
|
9769
|
+
"current_node_id": {
|
|
9770
|
+
"type": "string",
|
|
9771
|
+
"nullable": true
|
|
9772
|
+
},
|
|
9773
|
+
"current_state": {
|
|
9774
|
+
"type": "string",
|
|
9775
|
+
"nullable": true
|
|
9776
|
+
}
|
|
9777
|
+
}
|
|
9778
|
+
},
|
|
9779
|
+
"fields": [
|
|
9780
|
+
{
|
|
9781
|
+
"name": "agent_id",
|
|
9782
|
+
"flag": "--agent-id",
|
|
9783
|
+
"required": true,
|
|
9784
|
+
"type": "string",
|
|
9785
|
+
"description": "Unique id of agent used for the call. Your agent would contain the LLM Websocket url used for this call.",
|
|
9786
|
+
"example": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
|
|
9787
|
+
"array": false,
|
|
9788
|
+
"nullable": false,
|
|
9789
|
+
"contractHash": "9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95"
|
|
9790
|
+
},
|
|
9791
|
+
{
|
|
9792
|
+
"name": "agent_version",
|
|
9793
|
+
"flag": "--agent-version",
|
|
9794
|
+
"required": false,
|
|
9795
|
+
"type": "oneOf",
|
|
9796
|
+
"description": "The version of the agent to use for the call.",
|
|
9797
|
+
"array": false,
|
|
9798
|
+
"nullable": false,
|
|
9799
|
+
"contractHash": "684cd44f848f81e904b8973188277a469c18a3514b8094f3817829afc286f07b"
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
"name": "agent_override",
|
|
9803
|
+
"flag": "--agent-override",
|
|
9804
|
+
"required": false,
|
|
9805
|
+
"type": "object",
|
|
9806
|
+
"description": "For this particular call, override agent configuration with these settings. This allows you to customize agent behavior for individual calls without modifying the base agent.",
|
|
9807
|
+
"array": false,
|
|
9808
|
+
"nullable": false,
|
|
9809
|
+
"contractHash": "bf6fddff97fd4506afe9c37c0eac1edae28af369c56826673701f2ee8d8d1b89"
|
|
9810
|
+
},
|
|
9811
|
+
{
|
|
9812
|
+
"name": "metadata",
|
|
9813
|
+
"flag": "--metadata",
|
|
9814
|
+
"required": false,
|
|
9815
|
+
"type": "object",
|
|
9816
|
+
"description": "An arbitrary object for storage purpose only. You can put anything here like your internal customer id associated with the call. Not used for processing. You can later get this field from the call object.",
|
|
9817
|
+
"array": false,
|
|
9818
|
+
"nullable": false,
|
|
9819
|
+
"contractHash": "a2c799262a3ce3c19ef5cdd983bf3d12b43ab3c426227091b909dcb7054738c0"
|
|
9820
|
+
},
|
|
9821
|
+
{
|
|
9822
|
+
"name": "retell_llm_dynamic_variables",
|
|
9823
|
+
"flag": "--retell-llm-dynamic-variables",
|
|
9824
|
+
"required": false,
|
|
9825
|
+
"type": "object",
|
|
9826
|
+
"description": "Add optional dynamic variables in key value pairs of string that injects into your Response Engine prompt and tool description. Only applicable for Response Engine.",
|
|
9827
|
+
"example": {
|
|
9828
|
+
"customer_name": "John Doe"
|
|
9829
|
+
},
|
|
9830
|
+
"array": false,
|
|
9831
|
+
"nullable": false,
|
|
9832
|
+
"contractHash": "3f161562db4a7237942681ccf41abd9a699b0260591ddd0d154bfca063f449bf"
|
|
9833
|
+
},
|
|
9834
|
+
{
|
|
9835
|
+
"name": "current_node_id",
|
|
9836
|
+
"flag": "--current-node-id",
|
|
9837
|
+
"required": false,
|
|
9838
|
+
"type": "string",
|
|
9839
|
+
"description": "Start the call at this conversation flow node (stage). Must be a valid node id in the agent's conversation flow. Only applicable when the agent uses conversation flow as the response engine. Ignored for retell-llm agents.",
|
|
9840
|
+
"example": "collect_info",
|
|
9841
|
+
"array": false,
|
|
9842
|
+
"nullable": true,
|
|
9843
|
+
"contractHash": "e16b0c0d0cdce6a489ad1ac5bbb7534eb3cca67b3ad23818a640e2bce397a142"
|
|
9844
|
+
},
|
|
9845
|
+
{
|
|
9846
|
+
"name": "current_state",
|
|
9847
|
+
"flag": "--current-state",
|
|
9848
|
+
"required": false,
|
|
9849
|
+
"type": "string",
|
|
9850
|
+
"description": "Start the conversation in this state (stage). Must be a valid state name in the agent's Retell LLM. Only applicable when the agent uses Retell LLM with states. Ignored for conversation-flow agents.",
|
|
9851
|
+
"example": "information_collection",
|
|
9852
|
+
"array": false,
|
|
9853
|
+
"nullable": true,
|
|
9854
|
+
"contractHash": "e16b0c0d0cdce6a489ad1ac5bbb7534eb3cca67b3ad23818a640e2bce397a142"
|
|
9855
|
+
}
|
|
9856
|
+
]
|
|
9857
|
+
},
|
|
9858
|
+
"responseContractHash": "45482a8f3e81d244ac5ed30eacac1fd2625bbd309f642637dea271d4c57fa860"
|
|
9727
9859
|
},
|
|
9728
9860
|
{
|
|
9729
9861
|
"operationId": "deleteAgent",
|
|
@@ -10405,7 +10537,7 @@ export const operations = [
|
|
|
10405
10537
|
}
|
|
10406
10538
|
}
|
|
10407
10539
|
],
|
|
10408
|
-
"responseContractHash": "
|
|
10540
|
+
"responseContractHash": "08a8595c700692eb3f04d14219ba8a175fee8b5d5bf3985f56260b9371dd13e4"
|
|
10409
10541
|
},
|
|
10410
10542
|
{
|
|
10411
10543
|
"operationId": "getChat",
|
|
@@ -10433,7 +10565,7 @@ export const operations = [
|
|
|
10433
10565
|
}
|
|
10434
10566
|
}
|
|
10435
10567
|
],
|
|
10436
|
-
"responseContractHash": "
|
|
10568
|
+
"responseContractHash": "b14d904a975892f99c9dfb613d0f2d3b905f974c6a31bc34ad8b3fb12b061683"
|
|
10437
10569
|
},
|
|
10438
10570
|
{
|
|
10439
10571
|
"operationId": "getChatAgent",
|
|
@@ -11079,7 +11211,7 @@ export const operations = [
|
|
|
11079
11211
|
"flag": "--termination-uri",
|
|
11080
11212
|
"required": true,
|
|
11081
11213
|
"type": "string",
|
|
11082
|
-
"description": "The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always
|
|
11214
|
+
"description": "The termination uri to uniquely identify your elastic SIP trunk. This is used for outbound calls. For Twilio elastic SIP trunks it always end with \".pstn.twilio.com\".",
|
|
11083
11215
|
"example": "someuri.pstn.twilio.com",
|
|
11084
11216
|
"array": false,
|
|
11085
11217
|
"nullable": false,
|
|
@@ -11772,7 +11904,7 @@ export const operations = [
|
|
|
11772
11904
|
"cursorField": "pagination_key",
|
|
11773
11905
|
"hasMoreField": "has_more"
|
|
11774
11906
|
},
|
|
11775
|
-
"responseContractHash": "
|
|
11907
|
+
"responseContractHash": "599b24d500e9e93f85ca0d4fdde05f46c27f3fdb6d7f4f859d368bd6cbd1e77d"
|
|
11776
11908
|
},
|
|
11777
11909
|
{
|
|
11778
11910
|
"operationId": "listChats",
|
|
@@ -11868,7 +12000,7 @@ export const operations = [
|
|
|
11868
12000
|
"cursorField": "pagination_key",
|
|
11869
12001
|
"hasMoreField": "has_more"
|
|
11870
12002
|
},
|
|
11871
|
-
"responseContractHash": "
|
|
12003
|
+
"responseContractHash": "36347cc7ec1f8e8a8a60283fc1ecc1b2bae30fb9501073d0acb650f3f320e1c4"
|
|
11872
12004
|
},
|
|
11873
12005
|
{
|
|
11874
12006
|
"operationId": "listContactConversations",
|
|
@@ -12906,7 +13038,7 @@ export const operations = [
|
|
|
12906
13038
|
}
|
|
12907
13039
|
}
|
|
12908
13040
|
],
|
|
12909
|
-
"responseContractHash": "
|
|
13041
|
+
"responseContractHash": "cb53d9aca266e5adb0058c88eb55a2bac199d5837465099c7ad9d9a1091c5d36"
|
|
12910
13042
|
},
|
|
12911
13043
|
{
|
|
12912
13044
|
"operationId": "rerunChatAnalysis",
|
|
@@ -12934,7 +13066,7 @@ export const operations = [
|
|
|
12934
13066
|
}
|
|
12935
13067
|
}
|
|
12936
13068
|
],
|
|
12937
|
-
"responseContractHash": "
|
|
13069
|
+
"responseContractHash": "62531dcc54900399151590ff19b8da06601726af27bd2530283f063efdf04742"
|
|
12938
13070
|
},
|
|
12939
13071
|
{
|
|
12940
13072
|
"operationId": "runSyncJob",
|
|
@@ -13350,7 +13482,7 @@ export const operations = [
|
|
|
13350
13482
|
"flag": "--responsiveness",
|
|
13351
13483
|
"required": false,
|
|
13352
13484
|
"type": "number",
|
|
13353
|
-
"description": "Controls how responsive the agent
|
|
13485
|
+
"description": "Controls how responsive is the agent. Value ranging from [0,1]. Lower value means less responsive agent (wait more, respond slower), while higher value means faster exchanges (respond when it can). If unset, default value 1 will apply.",
|
|
13354
13486
|
"example": 1,
|
|
13355
13487
|
"array": false,
|
|
13356
13488
|
"nullable": false,
|
|
@@ -13470,7 +13602,7 @@ export const operations = [
|
|
|
13470
13602
|
"flag": "--webhook-url",
|
|
13471
13603
|
"required": false,
|
|
13472
13604
|
"type": "string",
|
|
13473
|
-
"description": "The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will
|
|
13605
|
+
"description": "The webhook for agent to listen to call events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.",
|
|
13474
13606
|
"example": "https://webhook-url-here",
|
|
13475
13607
|
"array": false,
|
|
13476
13608
|
"nullable": true,
|
|
@@ -14049,7 +14181,7 @@ export const operations = [
|
|
|
14049
14181
|
}
|
|
14050
14182
|
]
|
|
14051
14183
|
},
|
|
14052
|
-
"responseContractHash": "
|
|
14184
|
+
"responseContractHash": "08a8595c700692eb3f04d14219ba8a175fee8b5d5bf3985f56260b9371dd13e4"
|
|
14053
14185
|
},
|
|
14054
14186
|
{
|
|
14055
14187
|
"operationId": "updateChatAgent",
|
|
@@ -14178,7 +14310,7 @@ export const operations = [
|
|
|
14178
14310
|
"flag": "--webhook-url",
|
|
14179
14311
|
"required": false,
|
|
14180
14312
|
"type": "string",
|
|
14181
|
-
"description": "The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will
|
|
14313
|
+
"description": "The webhook for agent to listen to chat events. See what events it would get at [webhook doc](/features/webhook). If set, will binds webhook events for this agent to the specified url, and will ignore the account level webhook for this agent. Set to `null` to remove webhook url from this agent.",
|
|
14182
14314
|
"example": "https://webhook-url-here",
|
|
14183
14315
|
"array": false,
|
|
14184
14316
|
"nullable": true,
|
|
@@ -14471,7 +14603,7 @@ export const operations = [
|
|
|
14471
14603
|
}
|
|
14472
14604
|
]
|
|
14473
14605
|
},
|
|
14474
|
-
"responseContractHash": "
|
|
14606
|
+
"responseContractHash": "b14d904a975892f99c9dfb613d0f2d3b905f974c6a31bc34ad8b3fb12b061683"
|
|
14475
14607
|
},
|
|
14476
14608
|
{
|
|
14477
14609
|
"operationId": "updateContact",
|