Here you can find out more details about the Orchestrator API endpoints.
Authorization requests
To include an authorization token with an API request, you need to pass the Authorization header following by the token:
Header: Authorization
Value: Bearer lhdCI6MTYxMjgx...kNGZjIiwiYW
Fields
Node.component_id
This field indicates some of the component's values. Here are some examples:
MiniApps
Click to see the details
Example: user-id.corpus2.CorpusCollection.MiniApps.group
|
Name |
Value |
Static |
|---|---|---|
|
|
user-id |
No |
|
|
corpus2 |
No |
|
|
CorpusCollection |
No |
|
|
MiniApps |
Yes |
|
|
group |
No |
Conditions
Click to see the details
Example: user-id.Condition.builtin.orc.group
|
Name |
Value |
Static |
|---|---|---|
|
|
user-id |
No |
|
|
Condition |
Yes |
|
|
builtin |
Yes |
|
|
orc |
Yes |
|
|
group |
No |
Flows
Click to see the details
Example: user-id.MyFlowName.Flows.orc.group
|
Name |
Value |
Static |
|---|---|---|
|
|
user-id |
No |
|
|
MyFlowName |
No |
|
|
Flows |
Yes |
|
|
orc |
Yes |
|
|
group |
No |
Apps
Click to see the details
Example: user-id.MyAppName.Apps.orc.group
|
Name |
Value |
Static |
|---|---|---|
|
|
user-id |
No |
|
|
MyAppName |
No |
|
|
Apps |
Yes |
|
|
orc |
Yes |
|
|
group |
No |
Models
Here you can find a list of the models we are using in the Orchestrator API.
Canvas
Click to see the details
|
Name |
Type |
Description |
|---|---|---|
|
|
CanvasContent |
The Canvas content. |
CanvasContent
Click to see the details
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
array[Node] |
[ ] |
The array of nodes. |
|
|
array[Edge] |
[ ] |
The array of edges. |
Example
{
"content": {
"nodes": [
{
"title": "ia_iandronis_announcement",
"node_id": "758d7ab6-5eba-47e7-8d29-749fb79bf346",
"component_id": "827aa8e8-351c-4622-9e11-722d38efdcfe.ia_iandronis_announcement.Announcement.MiniApps.iandronis",
"configuration": {
"reset_on_intent": false,
"input_fields": {},
"output_fields": [
{
"miniapp_name": "AnnouncementResult",
"local_name": "ia_iandronis_announcement_0_output",
"optional": false,
"locked": true
}
],
"referents": []
},
"x_value": 83.0,
"y_value": 86.0,
"type": "miniApp",
"miniapp_type": "Announcement"
},
{
"title": "ia_iandronis_intent",
"node_id": "98668bc3-f857-44f1-943e-99281a5d55d5",
"component_id": "827aa8e8-351c-4622-9e11-722d38efdcfe.ia_iandronis_intent.Banking.MiniApps.iandronis",
"configuration": {
"reset_on_intent": false,
"input_fields": {},
"output_fields": [
{
"miniapp_name": "Intent",
"local_name": "Intent",
"optional": false,
"locked": true
}
],
"referents": []
},
"x_value": 201.0,
"y_value": 265.0,
"type": "miniApp",
"miniapp_type": "Banking"
}
],
"edges": [
{
"id": "3221acbe-9d52-472f-a144-1fe8784d98d7",
"source": "758d7ab6-5eba-47e7-8d29-749fb79bf346",
"target": "98668bc3-f857-44f1-943e-99281a5d55d5",
"conditions": [],
"condition_operator": "AND",
"port": "out"
}
]
}
}
App
Click to see the details
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
string |
- |
The application’s name. |
|
|
uuid |
- |
The application’s Canvas id. |
Example
{
"name": "my_app",
"canvas_id": "8101c262-be18-40c7-a85a-78b47dcdf80d"
}
Flow
Click to see the details
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
string |
- |
The Flow's name. |
|
|
array[string] |
[ ] |
The Flow's input fields. |
|
|
array[string] |
[ ] |
The Flow's output fields. |
|
|
uuid |
- |
The Flow's Canvas id. |
Example
{
"name": "my_flow",
"input_fields": ["inputField1", "inputField2"],
"output_fields": ["outputField1", "outputField2"],
"canvas_id": "8101c262-be18-40c7-a85a-78b47dcdf80d"
}
Graph.Node
Click to see the details
|
Name |
Type |
Default |
Optional |
Description |
|---|---|---|---|---|
|
|
string |
null |
True |
The node's title. |
|
|
uuid |
- |
False |
The node's node_id. |
|
|
string |
null |
False |
The node's component_id. |
|
|
NodeConfiguration |
- |
False |
The node's configuration. |
|
|
float |
100 |
True |
The node's x value. |
|
|
float |
100 |
True |
The node's y value. |
|
|
string (read-only) |
- |
False |
The component's type ("miniApp"/"Flow"/"condition"). |
|
|
string (read-only) |
- |
False |
The component's miniApp type (ex. "Announcement", "Banking"). |
Graph.Node.NodeConfiguration
Click to see the details
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
dict[string, string] |
{ } |
Maps miniApp input fields to Orchestrator fields. |
|
|
dict[string, string] |
{ } |
Maps miniApp output fields to Orchestrator fields. |
|
|
array[dict[string, string]] |
- |
Provides additional data required for Node configuration. |
|
|
string |
- |
Intent miniApp's component id. |
|
|
int |
- |
The Re-ask prompt index number (from 0 to 10). |
Graph.Edge
Click to see the details
|
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
uuid |
- |
The edge's id. |
|
|
uuid |
- |
The edge's source's id. |
|
|
uuid |
- |
The edge's target's id. |
|
|
array[EdgeCondition] |
[ ] |
The edge's conditions. |
|
|
string |
"AND" |
The logical operator (available values: ["AND", "OR"]). |
|
|
string |
- |
The edge's connection port. |
Graph.Node.EdgeCondition
Click to see the details
|
Name |
Type |
Description |
|---|---|---|
|
|
string |
The condition's field. |
|
|
string |
The condition's value. |
Example
{
"nodes": [
{
"title": "ia_iandronis_announcement",
"node_id": "758d7ab6-5eba-47e7-8d29-749fb79bf346",
"component_id": "827aa8e8-351c-4622-9e11-722d38efdcfe.ia_iandronis_announcement.Announcement.MiniApps.iandronis",
"configuration": {
"reset_on_intent": false,
"input_fields": {},
"output_fields": [
{
"miniapp_name": "AnnouncementResult",
"local_name": "ia_iandronis_announcement_0_output",
"optional": false,
"locked": true
}
],
"referents": []
},
"x_value": 83.0,
"y_value": 86.0,
"type": "miniApp",
"miniapp_type": "Announcement"
},
{
"title": "ia_iandronis_intent",
"node_id": "98668bc3-f857-44f1-943e-99281a5d55d5",
"component_id": "827aa8e8-351c-4622-9e11-722d38efdcfe.ia_iandronis_intent.Banking.MiniApps.iandronis",
"configuration": {
"reset_on_intent": false,
"input_fields": {},
"output_fields": [
{
"miniapp_name": "Intent",
"local_name": "Intent",
"optional": false,
"locked": true
}
],
"referents": []
},
"x_value": 201.0,
"y_value": 265.0,
"type": "miniApp",
"miniapp_type": "Banking"
}
],
"edges": [
{
"id": "3221acbe-9d52-472f-a144-1fe8784d98d7",
"source": "758d7ab6-5eba-47e7-8d29-749fb79bf346",
"target": "98668bc3-f857-44f1-943e-99281a5d55d5",
"conditions": [],
"condition_operator": "AND",
"port": "out"
}
]
}
MiniApp
Click to see the details
|
Name |
Type |
Description |
|---|---|---|
|
|
string |
The miniApp's id (see Node.component_id). |
|
|
string |
The miniApp's name. |
|
|
string |
The miniApp's type. |
|
|
string |
The miniApp's DiaManT application name. |
|
|
string |
The miniApp's group. |
|
|
list |
The list of numbers. |
Example
{
"id": "025c9ddd-2357-4415-8c55-466cbe44a548.corpus3.CorpusCollection.MiniApps.e92b6e81c15c448e9972b0e4669e18bb",
"name": "corpus3",
"type": "CorpusCollection",
"diamantAppName": "MiniApps",
"group": "ocp",
"numbers": [
{
"number": "+12244781692",
"country": "US",
"groupId": "ocp",
"miniAppId": "025c9ddd-2357-4415-8c55-466cbe44a548.corpus3.CorpusCollection.MiniApps.e92b6e81c15c448e9972b0e4669e18bb",
"locale": "en-US"
}
]
}
Read more in the following articles: