Sequences
Get sequence graph
Returns the current Sequence workflow snapshot.
get/public/v1/sequences/{sequenceId}/graph
Path parameters
sequenceIdinteger required
Example:1
Response
Sequence graph
Example response
{
"id": "example",
"assistantId": "example",
"accountId": 1,
"entityId": 1,
"type": "FLOW",
"nodes": [
{
"alias": "example",
"workflowId": "example",
"name": "example",
"position": {
"positionX": 1,
"positionY": 1
},
"type": "SEQUENCE_START",
"handles": [
{
"handleId": "example",
"sourceEdge": {
"from": "example",
"fromHandleId": "example",
"to": "example",
"toHandleId": "example"
},
"text": "example"
}
],
"targetEdges": [
{
"from": "example",
"fromHandleId": "example",
"to": "example",
"toHandleId": "example"
}
],
"data": {
"type": "RESPONSE_AI",
"assistantId": "example",
"aiModelId": 1,
"model": "example",
"aiVendor": "OPENAI",
"instructions": "example",
"temperature": 1,
"exitNodeWhen": "ALL_VARIABLES",
"knowledgeBaseMode": "DEFAULT",
"knowledgeBaseIds": [
1
]
},
"createdAt": "example",
"updatedAt": "example"
}
],
"createdAt": "example",
"updatedAt": "example",
"breakingChangeAt": "example",
"breakingChangeReason": "example",
"snapshotKind": "EDITABLE",
"sourceSnapshotId": "example",
"pinnedAt": "example",
"warnings": [
"example"
]
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○