Workflow Edges
Workflow Edges
GET /api/v1/workflows/{workflow_id}/versions/{version_id}/edges
Get Workflow Edges
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workflow_id | path | string | true |
version_id | path | string | true |
Response
Type: []WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/edgesPOST /api/v1/workflows/{workflow_id}/versions/{version_id}/edges
Create Workflow Edge
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workflow_id | path | string | true |
version_id | path | string | true |
Request Body
Type: WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Response
Type: WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/edgesGET /api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}
Get Workflow Edge
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workflow_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Response
Type: WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}PUT /api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}
Update Workflow Edge
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workflow_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Request Body
Type: WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Response
Type: WorkflowEdge
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
begin_node_id | string | |
end_node_id | string | |
edge_type | WorkflowEdgeType | data or context |
user_id | string | |
version_id | string |
Example
curl -X PUT \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}DELETE /api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}
Delete Workflow Edge
Parameters
| Name | In | Type | Required |
|---|---|---|---|
workflow_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Example
curl -X DELETE \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/edges/{id}