List
GET/workflows
List workflows
Query Parameters
List
curl https://api.cloud.scenario.com/v1/workflows \
-u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET"{
"workflows": [
{
"id": "id",
"authorId": "authorId",
"createdAt": "createdAt",
"description": "description",
"editorInfo": {
"foo": "bar"
},
"flow": [
{
"id": "id",
"type": "custom-model",
"count": 0,
"dependsOn": [
"string"
],
"includeOutputsInWorkflowJob": true,
"inputs": [
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"items": [
[
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"ref": {
"conditional": [
"string"
],
"equal": "equal",
"name": "name",
"node": "node"
},
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1,
"value": {}
}
]
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"ref": {
"conditional": [
"string"
],
"equal": "equal",
"name": "name",
"node": "node"
},
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1,
"value": {}
}
],
"items": [
"string"
],
"iterationIndex": 0,
"logic": {
"cases": [
{
"condition": "condition",
"value": "value"
}
],
"default": "default",
"transform": "transform"
},
"logicType": "if-else",
"loopBodyNodeIds": [
"string"
],
"loopNodeId": "loopNodeId",
"modelId": "modelId",
"workflowId": "workflowId"
}
],
"inputs": [
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1
}
],
"name": "name",
"ownerId": "ownerId",
"privacy": "private",
"shortDescription": "shortDescription",
"status": "deleted",
"tagSet": [
"string"
],
"updatedAt": "updatedAt",
"after": {
"assetId": "assetId",
"url": "url"
},
"before": {
"assetId": "assetId",
"url": "url"
},
"embedding": {},
"isLocked": true,
"lastIndexedAt": "2019-12-27T18:11:19.117Z",
"lastIndexingType": "CREATE",
"lastReadyFlowUpdatedAt": "2019-12-27T18:11:19.117Z",
"lockedStateChangedAt": "lockedStateChangedAt",
"lockedStateChangedBy": "lockedStateChangedBy",
"outputAssetKinds": [
"3d"
],
"thumbnail": {
"assetId": "assetId",
"url": "url"
},
"uiConfig": {
"inputProperties": {
"foo": {
"collapsed": true
}
},
"lorasComponent": {
"label": "label",
"modelInput": "modelInput",
"scaleInput": "scaleInput",
"modelIdInput": "modelIdInput"
},
"presets": [
{
"fields": [
"string"
],
"presets": {}
}
],
"resolutionComponent": {
"heightInput": "heightInput",
"label": "label",
"presets": [
{
"height": 0,
"label": "label",
"width": 0
}
],
"widthInput": "widthInput"
},
"selects": {
"foo": {}
},
"triggerGenerate": {
"label": "label",
"after": "after",
"position": "bottom"
}
}
}
],
"nextPaginationToken": "nextPaginationToken"
}Returns Examples
{
"workflows": [
{
"id": "id",
"authorId": "authorId",
"createdAt": "createdAt",
"description": "description",
"editorInfo": {
"foo": "bar"
},
"flow": [
{
"id": "id",
"type": "custom-model",
"count": 0,
"dependsOn": [
"string"
],
"includeOutputsInWorkflowJob": true,
"inputs": [
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"items": [
[
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"ref": {
"conditional": [
"string"
],
"equal": "equal",
"name": "name",
"node": "node"
},
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1,
"value": {}
}
]
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"ref": {
"conditional": [
"string"
],
"equal": "equal",
"name": "name",
"node": "node"
},
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1,
"value": {}
}
],
"items": [
"string"
],
"iterationIndex": 0,
"logic": {
"cases": [
{
"condition": "condition",
"value": "value"
}
],
"default": "default",
"transform": "transform"
},
"logicType": "if-else",
"loopBodyNodeIds": [
"string"
],
"loopNodeId": "loopNodeId",
"modelId": "modelId",
"workflowId": "workflowId"
}
],
"inputs": [
{
"name": "name",
"type": "boolean",
"allowedValues": [
{}
],
"backgroundBehavior": "opaque",
"color": true,
"costImpact": true,
"default": {},
"description": "description",
"group": "group",
"hint": "hint",
"inputs": [
{
"foo": "bar"
}
],
"kind": "3d",
"label": "label",
"maskFrom": "maskFrom",
"max": 0,
"maxLength": 0,
"maxSize": 0,
"min": 0,
"minLength": 0,
"modelTypes": [
"custom"
],
"parent": true,
"placeholder": "placeholder",
"prompt": true,
"promptSpark": true,
"required": {
"always": true,
"conditionalValues": {},
"ifDefined": {},
"ifNotDefined": {}
},
"step": 1
}
],
"name": "name",
"ownerId": "ownerId",
"privacy": "private",
"shortDescription": "shortDescription",
"status": "deleted",
"tagSet": [
"string"
],
"updatedAt": "updatedAt",
"after": {
"assetId": "assetId",
"url": "url"
},
"before": {
"assetId": "assetId",
"url": "url"
},
"embedding": {},
"isLocked": true,
"lastIndexedAt": "2019-12-27T18:11:19.117Z",
"lastIndexingType": "CREATE",
"lastReadyFlowUpdatedAt": "2019-12-27T18:11:19.117Z",
"lockedStateChangedAt": "lockedStateChangedAt",
"lockedStateChangedBy": "lockedStateChangedBy",
"outputAssetKinds": [
"3d"
],
"thumbnail": {
"assetId": "assetId",
"url": "url"
},
"uiConfig": {
"inputProperties": {
"foo": {
"collapsed": true
}
},
"lorasComponent": {
"label": "label",
"modelInput": "modelInput",
"scaleInput": "scaleInput",
"modelIdInput": "modelIdInput"
},
"presets": [
{
"fields": [
"string"
],
"presets": {}
}
],
"resolutionComponent": {
"heightInput": "heightInput",
"label": "label",
"presets": [
{
"height": 0,
"label": "label",
"width": 0
}
],
"widthInput": "widthInput"
},
"selects": {
"foo": {}
},
"triggerGenerate": {
"label": "label",
"after": "after",
"position": "bottom"
}
}
}
],
"nextPaginationToken": "nextPaginationToken"
}