Workflow Nodes

GET /api/v1/workflows/{workflow_id}/versions/{version_id}/nodes

Get Workflow Nodes

Parameters

NameInTypeRequired
workflow_idpathstringtrue
version_idpathstringtrue

Response

Type: []WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/nodes

POST /api/v1/workflows/{workflow_id}/versions/{version_id}/nodes

Create Workflow Node

Parameters

NameInTypeRequired
workflow_idpathstringtrue
version_idpathstringtrue

Request Body

Type: WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

Response

Type: WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

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}/nodes

GET /api/v1/workflows/{workflow_id}/versions/{version_id}/nodes/{id}

Get Workflow Node

Parameters

NameInTypeRequired
workflow_idpathstringtrue
version_idpathstringtrue
idpathstringtrue

Response

Type: WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/nodes/{id}

PUT /api/v1/workflows/{workflow_id}/versions/{version_id}/nodes/{id}

Update Workflow Node

Parameters

NameInTypeRequired
workflow_idpathstringtrue
version_idpathstringtrue
idpathstringtrue

Request Body

Type: WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

Response

Type: WorkflowNode

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
entity_typestring
entity_idstring
entity_version_idstring
configstringJSON config for node-specific settings
positionstringJSON string for node position {x, y}
timeoutintExecution timeout in seconds
on_failurestringAction on failure: “stop”, “continue”, etc.
user_idstring
version_idstring
entity_namestringRead-through access fields (not stored in DB, populated for workflow context) (optional)
entity_descriptionstring(optional)
entity_logostring(optional)
has_direct_accessboolTrue if user has explicit share on entity
model_kindstringModel-specific read-through fields (for inference UI) (optional)
model_application_idstring(optional)
active_version_idstring(optional)
model_versions[]ModelVersionVersion read-through fields (populated for workflow context when user lacks direct access) (optional)
dataset_versions[]DatasetVersion(optional)

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}/nodes/{id}

DELETE /api/v1/workflows/{workflow_id}/versions/{version_id}/nodes/{id}

Delete Workflow Node

Parameters

NameInTypeRequired
workflow_idpathstringtrue
version_idpathstringtrue
idpathstringtrue

Example

curl -X DELETE \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/workflows/{workflow_id}/versions/{version_id}/nodes/{id}