{"item":[{"id":"1ca8eedd-873a-45be-a20d-678c4f5e6cd1","name":"Workflows","description":{"content":"","type":"text/plain"},"item":[{"id":"f6fd4f0e-1fc3-4e7b-95e6-0684af81cc3c","name":"Get list of workflows","request":{"name":"Get list of workflows","description":{"content":"Retrieve a paginated list of workflows.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_LIST_READ`\n\n**User role permission required:** `automation_2_journeys: read`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"1","description":"The selected page"},{"disabled":false,"key":"limit","value":"10","description":"Selected page"},{"disabled":false,"key":"status","value":"All","description":"Filter workflows by status"},{"disabled":false,"key":"sort","value":"UpdatedTime","description":"Sort workflows by a property value"},{"disabled":false,"key":"sortBy","value":"createdTime:desc","description":"Sort workflows clause"},{"disabled":false,"key":"order","value":"Desc","description":"Sorting order"},{"disabled":false,"key":"search","value":"string","description":"A string to search for in workflow names and email addresses of authors. Workflows that don't match the search aren't returned at all."},{"disabled":false,"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","description":"UUID of the directory"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"1d144062-efb1-4a35-b7cb-6e1aeefbfb2e","name":"A page of workflows","originalRequest":{"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 4879.788538063009,\n        \"clientId\": 5382.041959216715,\n        \"clientApiHash\": \"string\",\n        \"businessProfileApiHash\": \"string\"\n      },\n      \"name\": \"Example name\",\n      \"created\": \"2019-01-04T13:17:18.315Z\",\n      \"updated\": \"2019-01-04T13:17:18.315Z\",\n      \"status\": \"Draft\",\n      \"scheduleStatus\": \"Off\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 5612.4347499222395,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 3367.8352788452935\n          }\n        },\n        \"multipleJourneys\": false\n      },\n      \"catalogId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"context\": \"Client\",\n      \"tags\": [\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        },\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        }\n      ],\n      \"description\": \"Sample workflow description\",\n      \"hasTransformation\": false,\n      \"businessProfileId\": 9191.744073180544\n    },\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 491.9361978880199,\n        \"clientId\": 2141.8435163851714,\n        \"clientApiHash\": \"string\",\n        \"businessProfileApiHash\": \"string\"\n      },\n      \"name\": \"Example name\",\n      \"created\": \"2019-01-04T13:17:18.315Z\",\n      \"updated\": \"2019-01-04T13:17:18.315Z\",\n      \"status\": \"Running\",\n      \"scheduleStatus\": \"On\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 2366.782014848878,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 4429.077447892984\n          }\n        },\n        \"multipleJourneys\": false\n      },\n      \"catalogId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"context\": \"Undefined\",\n      \"tags\": [\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        },\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        }\n      ],\n      \"description\": \"Sample workflow description\",\n      \"hasTransformation\": true,\n      \"businessProfileId\": 5154.999853064281\n    }\n  ],\n  \"meta\": {\n    \"limit\": 3,\n    \"page\": 1,\n    \"totalPages\": 10,\n    \"totalCount\": 29\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"895a4ad7-dab3-4dc1-a2ad-8a5580687b5e","name":"Bad request: input data missing or malformed","originalRequest":{"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"376f61f6-468f-4e7d-b27d-14fcc131f42a","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ec03c642-ae9a-421d-b372-a81689185f79","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24ad1e7c-9b00-452e-a05c-cfa845ceb1e3","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"efd8de32-3bd6-49bc-8d7b-e1ed4bde2a81","name":"Get list of workflows","request":{"name":"Get list of workflows","description":{"content":"Retrieve a paginated list of workflows.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_LIST_READ`\n\n**User role permission required:** `automation_2_journeys: read`\n","type":"text/plain"},"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"page","value":"1","description":"The selected page"},{"disabled":false,"key":"limit","value":"50","description":"Selected page"},{"disabled":false,"key":"status","value":"All","description":"Filter workflows by status"},{"disabled":false,"key":"sort","value":"UpdatedTime","description":"Sort workflows by a property value"},{"disabled":false,"key":"sortBy","value":"createdTime:desc","description":"Sort workflows clause"},{"disabled":false,"key":"order","value":"Desc","description":"Sorting order"},{"disabled":false,"key":"search","value":"string","description":"A string to search for in workflow names and email addresses of authors. Workflows that don't match the search aren't returned at all."},{"disabled":false,"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","description":"UUID of the directory"},{"disabled":false,"key":"tags","value":"string"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"7f515017-7cbc-4bdb-ad63-4312ee210e5c","name":"A page of workflows","originalRequest":{"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"},{"key":"tags","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 8777.195824516939,\n        \"clientId\": 1820.01747101164,\n        \"clientApiHash\": \"string\",\n        \"businessProfileApiHash\": \"string\"\n      },\n      \"name\": \"Example name\",\n      \"created\": \"2019-01-04T13:17:18.315Z\",\n      \"updated\": \"2019-01-04T13:17:18.315Z\",\n      \"status\": \"Draft\",\n      \"scheduleStatus\": \"Off\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 9343.226218216962,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 8774.037121437308\n          }\n        },\n        \"multipleJourneys\": false\n      },\n      \"catalogId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"context\": \"Business\",\n      \"tags\": [\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        },\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        }\n      ],\n      \"description\": \"Sample workflow description\",\n      \"hasTransformation\": false,\n      \"businessProfileId\": 6183.220100484392\n    },\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 5335.180252512306,\n        \"clientId\": 9282.370432589883,\n        \"clientApiHash\": \"string\",\n        \"businessProfileApiHash\": \"string\"\n      },\n      \"name\": \"Example name\",\n      \"created\": \"2019-01-04T13:17:18.315Z\",\n      \"updated\": \"2019-01-04T13:17:18.315Z\",\n      \"status\": \"Stopped\",\n      \"scheduleStatus\": \"Off\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 2517.349933990286,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 7896.225488460958\n          }\n        },\n        \"multipleJourneys\": false\n      },\n      \"catalogId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"context\": \"Client\",\n      \"tags\": [\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        },\n        {\n          \"hash\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n          \"value\": \"string\",\n          \"color\": \"#0b68ff\",\n          \"description\": \"string\",\n          \"icon\": \"string\"\n        }\n      ],\n      \"description\": \"Sample workflow description\",\n      \"hasTransformation\": true,\n      \"businessProfileId\": 9886.652651842127\n    }\n  ],\n  \"meta\": {\n    \"limit\": 3,\n    \"links\": [\n      {\n        \"rel\": \"first\",\n        \"url\": \"http://automation-brain/v2/diagrams?page=1&limit=10\"\n      },\n      {\n        \"rel\": \"first\",\n        \"url\": \"http://automation-brain/v2/diagrams?page=1&limit=10\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"89e0ea4b-f148-45d2-b82a-f9de865bc819","name":"Bad request: input data missing or malformed","originalRequest":{"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"},{"key":"tags","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2999bb09-2f8b-4e6c-9db4-434e04ff5031","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"},{"key":"tags","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73b65bb4-11c1-4527-bf5e-bb0e13662098","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"},{"key":"tags","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc43b966-7560-43f5-bad0-ae02807bb485","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","v2","diagrams"],"host":["{{baseUrl}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"status","value":"All"},{"key":"sort","value":"UpdatedTime"},{"key":"sortBy","value":"createdTime:desc"},{"key":"order","value":"Desc"},{"key":"search","value":"string"},{"key":"directoryId","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed"},{"key":"tags","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3eb07cc5-91df-438f-954b-8a0f23d0f3e4","name":"Run/resume workflow","request":{"name":"Run/resume workflow","description":{"content":"Run a or resume workflow.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_EXECUTE`\n\n**User role permission required:** `automation_2_journeys: execute`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"text/plain"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"74c254da-388d-4201-881a-f2bbc25b2d78","name":"Workflow run/resumed or was already running","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"cf1eb612-a3d6-41ce-952f-a52c0c74edf8","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 5991,\n  \"message\": \"string\",\n  \"timestamp\": \"1986-11-16T02:52:02.011Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 5734,\n      \"message\": \"string\",\n      \"timestamp\": \"2009-07-28T11:13:01.925Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 2310,\n      \"message\": \"string\",\n      \"timestamp\": \"1946-08-17T04:35:33.085Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"76401c31-48de-4ef3-8a7a-e9e238ff0eed","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd6a9b44-94ae-4363-81ba-f2792b48ec4b","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbc19bed-6c24-49f3-a19d-46ad985263fa","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9bfaf887-971d-414b-af5b-5dac03294942","name":"Pause workflow","request":{"name":"Pause workflow","description":{"content":"Pause a workflow.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_EXECUTE`\n\n**User role permission required:** `automation_2_journeys: execute`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"text/plain"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]},"body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"87b7c11d-e79d-47e8-904c-b2c49e83c0f0","name":"Diagram paused or was already paused","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"0ce01649-4691-4689-8a46-7ff9b0234772","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4171ab94-2f43-4d6a-bc8c-99a84267c2e9","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d5926225-b41f-48a2-bbf6-1a119e10b0fb","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8eaed48d-0749-4bd6-ab0e-bd6036285698","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","pause"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"scheduleAction\": \"NoAction\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4a0513b8-995d-4e27-8610-f72518d0bf6d","name":"Stop workflow","request":{"name":"Stop workflow","description":{"content":"Stop a workflow.\n\n<span style=\"color:red\"><strong>WARNING:</strong> A stopped workflow can't be restarted.</span>\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_EXECUTE`\n\n**User role permission required:** `automation_2_journeys: execute`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Accept","value":"text/plain"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"e64b2145-7d0a-426b-9354-e0e906ab8a95","name":"Workflow stopped or was already stopped","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"f847846b-722e-4369-9a91-eea0f55be730","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c6d0fed-fcf9-4f19-a684-0e592eae2101","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6ad897e-30f9-4e96-a7b1-b35d1bd2b3d5","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15cdda73-ef56-42c5-8811-fafd4ffd3e9d","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","stop"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ce342081-3d5e-4ec5-a566-60ebfa725a7e","name":"Enable schedule for workflow","request":{"name":"Enable schedule for workflow","description":{"content":"Enable schedule for workflow.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_EXECUTE`\n\n**User role permission required:** `automation_2_journeys: execute`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Accept","value":"text/plain"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"fa681241-244b-4e46-9240-745b1d7ac58d","name":"Workflow scheduled or was already scheduled","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"18554702-9a94-400f-86c1-986f214a23e3","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39260b0e-536d-4e04-8ad3-aaba13baee73","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"182b0763-0f52-4ae7-94ab-4bdf6219e3ae","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49ff305a-efd4-4f99-813d-ba226a539f5b","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-on"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"173a644a-e369-4008-b3a1-2bdcd99bf13c","name":"Disable schedule for workflow","request":{"name":"Disable schedule for workflow","description":{"content":"Disable schedule for workflow.\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATON_BRAIN_DIAGRAM_EXECUTE`\n\n**User role permission required:** `automation_2_journeys: execute`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Accept","value":"text/plain"}],"method":"POST","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"5975bd7c-2ab1-479d-bf70-3160c4318423","name":"Workflow unscheduled or was already unscheduled","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"171982e9-4cd0-4f05-8810-84100fc3cef0","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9470816e-9b30-45f2-9a75-49518859358c","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8fec156d-ea5f-4d6e-860b-a0b163763039","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"02a24208-9923-4183-95d1-ea9f46ab3d82","name":"Resource not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","schedule-off"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 4024,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"35741583-96f4-4999-83a8-dace9a4af680","name":"Get workflow statistics with node details","request":{"name":"Get workflow statistics with node details","description":{"content":"Retrieve workflow execution statistics, including node statistics and metadata (name, type).\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATION_STATS_READ`\n\n**User role permission required:** `automation_2_journeys: read`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"timePeriod","value":"previousDay","description":"Time period for the statistics"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"9550acaf-4bd3-458e-ac40-692484ed619f","name":"Diagram statistics with node info","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"started\": 2864,\n  \"finished\": 5252,\n  \"inProgress\": 1307,\n  \"blocks\": {\n    \"key_0\": {\n      \"type\": \"EventTrigger\",\n      \"entered\": 6970,\n      \"name\": \"string\",\n      \"executed\": 2804\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"82e6918b-841b-487d-9390-b8658317440f","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9014b64f-9735-437e-9189-137318b5723d","name":"Insufficient permissions to perform this action","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"a7090b4e-7373-441f-b45a-a0c238a3c982","name":"Diagram not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d8e974f0-0f39-4a19-9243-20ae31b79077","name":"Get node statistics","request":{"name":"Get node statistics","description":{"content":"Retrieve execution statistics for a single block enriched with block metadata (name, type).\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `AUTOMATION_STATS_READ`\n\n**User role permission required:** `automation_2_journeys: read`\n","type":"text/plain"},"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"timePeriod","value":"previousDay","description":"Time period for statistics"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."},{"disabled":false,"type":"any","value":"string","key":"blockId","description":"(Required) UUID of the node"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"c568a814-3e6d-4b7d-a338-a34e58999012","name":"Block statistics with block info","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."},{"disabled":false,"type":"any","value":"string","key":"blockId","description":"(Required) UUID of the node"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"type\": \"EventTrigger\",\n  \"entered\": 5017,\n  \"name\": \"string\",\n  \"executed\": 3475\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6eac375-baf8-487b-aa19-fd02e5bd85a6","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."},{"disabled":false,"type":"any","value":"string","key":"blockId","description":"(Required) UUID of the node"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 1198,\n  \"message\": \"string\",\n  \"timestamp\": \"1995-10-10T00:54:48.776Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9792,\n      \"message\": \"string\",\n      \"timestamp\": \"1988-07-24T03:06:24.505Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 9504,\n      \"message\": \"string\",\n      \"timestamp\": \"1956-05-02T14:30:40.716Z\",\n      \"help\": \"string\",\n      \"traceId\": \"string\",\n      \"errors\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        },\n        {\n          \"value\": \"<Circular reference to #/components/schemas/automation-brain-Error detected>\"\n        }\n      ],\n      \"source\": {\n        \"pointer\": \"string\",\n        \"value\": \"string\"\n      },\n      \"details\": {\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": \"string\"\n      },\n      \"field\": \"string\"\n    }\n  ],\n  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8bf81de5-c539-4ffd-b30f-676a753005ab","name":"Insufficient permissions to perform this action","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."},{"disabled":false,"type":"any","value":"string","key":"blockId","description":"(Required) UUID of the node"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"870eb722-4924-45c8-9b69-2943368fd5e8","name":"Diagram or block not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"previousDay"}],"variable":[{"disabled":false,"type":"any","value":"string","key":"diagramId","description":"(Required) UUID of the workflow/diagram."},{"disabled":false,"type":"any","value":"string","key":"blockId","description":"(Required) UUID of the node"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"58dbdb32-5c73-4ff6-887a-f11a2f4c3cf3","name":"Data Processing Job Logs","description":{"content":"","type":"text/plain"},"item":[{"id":"ef5f0577-c39f-42c5-b657-0fe57c4f64ef","name":"Get last log with stages","request":{"name":"Get last log with stages","description":{"content":"\nRetrieve the status of a workflow's last run and its stages.\n\nThe workflow must contain at least one of the following nodes:\n- Any Data Transformation node\n- Any node that pulls data into a workflow (for example local file, SFTP, Azure Blob Storage)\n- Any node that pushes data out of the workflow (for example SFTP, Pub/Sub)\n- Any node that imports data into Synerise\n\n\n---\n\n**API consumers:** <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=userLogin\" target=\"_blank\" rel=\"noopener\">Synerise User</a>, <a href=\"/api-reference/authorization?tag=Authorization&amp;operationId=profileLogin\" target=\"_blank\" rel=\"noopener\">Workspace (Business Profile)</a>\n\n**API key permission required:** `MORPH_JOBS_READ`\n\n**User role permission required:** `automation_2_journeys: read`\n","type":"text/plain"},"url":{"path":["morph","logs","automation",":automationWorkflowId","last-run","with-stages"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"limit","value":"500","description":"The maximum number of log lines in each stage"}],"variable":[{"disabled":false,"type":"any","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","key":"automationWorkflowId","description":"(Required) `diagramId` of the workflow to fetch last job from"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"40bdd66d-051d-408f-8566-fac61be490a9","name":"Information about last data transformation journey status","originalRequest":{"url":{"path":["morph","logs","automation",":automationWorkflowId","last-run","with-stages"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"500"}],"variable":[{"disabled":false,"type":"any","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","key":"automationWorkflowId","description":"(Required) `diagramId` of the workflow to fetch last job from"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"startTime\": \"2023-09-05T14:07:44.264Z\",\n  \"pipelineResponse\": {\n    \"importData\": {\n      \"status\": \"Pending\",\n      \"logs\": [\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\",\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\"\n      ],\n      \"logsSize\": 2401.9715198979975,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"02e64a33-d8d4-6ef0-6ff7-100d5814358d\",\n      \"successCount\": 66,\n      \"failureCount\": 9928\n    },\n    \"transformData\": {\n      \"status\": \"Pending\",\n      \"logs\": [\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\",\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\"\n      ],\n      \"logsSize\": 1339.0881962792623,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"c9caba49-33b6-1c78-82ab-ba924a814e94\",\n      \"successCount\": 5614,\n      \"failureCount\": 3812\n    },\n    \"exportData\": {\n      \"status\": \"Pending\",\n      \"logs\": [\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\",\n        \"2022-01-31T12:37:25.109412Z INFO Job finished with success!\"\n      ],\n      \"logsSize\": 1630.1808960778974,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"7b2ab2fc-a58a-19b6-7f99-141f7f76ab46\",\n      \"successCount\": 2518,\n      \"failureCount\": 8453\n    }\n  },\n  \"overallRunStatus\": \"Pending\",\n  \"runId\": \"115b874b-f350-e417-6087-b35912896629\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed56c3a5-68f9-4209-b83d-a38b4b50f693","name":"Unauthorized: wrong consumer scope; token missing/expired/invalid; invalid API key; etc.","originalRequest":{"url":{"path":["morph","logs","automation",":automationWorkflowId","last-run","with-stages"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"500"}],"variable":[{"disabled":false,"type":"any","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","key":"automationWorkflowId","description":"(Required) `diagramId` of the workflow to fetch last job from"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 2913,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"181fa435-16c3-446d-a249-a96fa5ca3ef6","name":"Forbidden; insufficient permissions","originalRequest":{"url":{"path":["morph","logs","automation",":automationWorkflowId","last-run","with-stages"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"500"}],"variable":[{"disabled":false,"type":"any","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","key":"automationWorkflowId","description":"(Required) `diagramId` of the workflow to fetch last job from"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 2913,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"edd3afce-aac2-4ae0-84fd-10b162b12f9f","name":"- workflow doesn't exist; \n- no journeys exist for a workflow; \n- workflow doesn't contain any of the required nodes (returns a \"no journeys found\" error)\n","originalRequest":{"url":{"path":["morph","logs","automation",":automationWorkflowId","last-run","with-stages"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"500"}],"variable":[{"disabled":false,"type":"any","value":"e0e44d5b-c7eb-5557-62ec-ccef6935d1ed","key":"automationWorkflowId","description":"(Required) `diagramId` of the workflow to fetch last job from"}]},"header":[{"description":{"content":"Added as a part of security scheme: bearer","type":"text/plain"},"key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"Not found\",\n  \"status\": 404,\n  \"timestamp\": \"2023-09-06T11:54:08.564Z\",\n  \"message\": \"No journeys for diagram fe7e3a80-91bb-433a-94cf-744253cc442c found\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]}],"event":[],"variable":[{"type":"string","value":"https://api.synerise.com","key":"baseUrl"}],"info":{"_postman_id":"7e16ec37-0a48-4e11-8575-69f226c1eeae","name":"Automation - Synerise Public API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"","type":"text/plain"}}}