{"item":[{"id":"6d908e96-fd58-4594-b4bc-ee93aa20e3fd","name":"Workflows","description":{"content":"","type":"text/plain"},"item":[{"id":"4a2525e9-1684-432d-bb54-e1eff93b0699","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","description":"UUID of the directory"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"bearer","bearer":[{"key":"token","value":"{{bearerToken}}"}]}},"response":[{"id":"dba31d91-8b06-4530-898d-3e738966f1eb","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"}],"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\": 831.1732809723227,\n        \"clientId\": 5797.226415653574,\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\": 3952.616485676054,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 3211.478784801586\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\": 3312.82790314377\n    },\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 7743.539200077524,\n        \"clientId\": 9466.69422554258,\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\": \"Paused\",\n      \"scheduleStatus\": \"Off\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 5214.451722878151,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 8150.969755809172\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\": 5808.945246413247\n    }\n  ],\n  \"meta\": {\n    \"limit\": 3,\n    \"page\": 1,\n    \"totalPages\": 10,\n    \"totalCount\": 29\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"439a9431-df5a-4db8-b40c-c6c454afe47e","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"}],"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bfa87f1-1cc8-4254-afd1-05ae8d05890a","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"}],"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e81bcfd-1dfa-44f7-80a6-a55f6ed85651","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"}],"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0468effa-93cb-4967-b2f5-ba5d6ea7731a","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"}],"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"20ef5578-f426-477b-8acb-c9070c185b4d","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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":"0bc2e3b0-31fb-4b5a-a0ed-1a11c14296af","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"},{"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\": 2795.0519659060637,\n        \"clientId\": 293.235914947082,\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\": 6859.078245345714,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 3394.2230916152425\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\": 1871.0263603000444\n    },\n    {\n      \"diagramId\": \"030a9be3-8ccc-44c7-b20b-27768816cab7\",\n      \"author\": \"example@synerise.com\",\n      \"listingAuthor\": {\n        \"userId\": 5989.819146300387,\n        \"clientId\": 8318.760783024223,\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\": \"Paused\",\n      \"scheduleStatus\": \"Off\",\n      \"configuration\": {\n        \"capping\": {\n          \"limit\": 8241.337839052487,\n          \"period\": {\n            \"type\": \"Time\",\n            \"timeSeconds\": 2793.4588492679545\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\": 9258.601141086718\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":"c87f46ea-45ac-4234-9929-d8ce630d5929","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"},{"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61152225-8227-4da8-a01e-46f3103afcf1","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"},{"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d8bdd00-0e19-4d11-871f-568acb2e9fca","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"},{"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b92a12f-2ace-4cc6-a97b-d55b29681457","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd"},{"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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2aad45fc-3297-4283-806c-6d11e0b3579f","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e1616f95-6062-4cd3-9961-c7ffc7bcff0c","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"97760661-4f08-46ee-8a59-c43ac57b5ea2","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 2059,\n  \"message\": \"string\",\n  \"timestamp\": \"2015-09-02T02:09:58.731Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3991,\n      \"message\": \"string\",\n      \"timestamp\": \"1981-02-24T11:33:34.994Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 4702,\n      \"message\": \"string\",\n      \"timestamp\": \"1986-05-27T23:06:11.521Z\",\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":"c75b1084-c479-44d2-b20d-b0c57f81b23a","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f4b72654-0984-406f-afb6-68bbd59d8915","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6daaa908-6513-4b07-b9e5-49159e26b826","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"550fbc2c-928b-4715-a5a5-62b9f227bf52","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3120b203-305d-4b4a-87f9-3b998491c7f6","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"6b37cf73-daa7-48ee-b4dc-7f9d5d742c0c","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"errorCode\": \"string\",\n  \"httpStatus\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c410abe8-c0ce-44e2-958d-8c14ff5ac7c0","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab05adf4-f1a7-42f7-88b1-e0190fff3a06","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"35215101-c52c-4da2-a976-75c63b151c71","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\": \"On\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": \"string\",\n  \"status\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"493e9853-06cc-4910-999d-2aabc0873039","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":"354b0891-cb30-4778-a6ad-3330662ff1bc","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":"911ceb87-9146-4ee1-a253-4c1477c7cb83","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\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18e0b2c1-c9e0-4955-ab4d-4d0da43128c8","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0ddedd70-02bf-457e-8d02-0bc1b0de895c","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0406b97d-ed65-445e-b56d-4f1b9f2fe69d","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3f075a1f-019e-4c75-89d4-03bd345ccc36","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":"0a33ba2c-afd6-439c-9ffa-b2c51a291247","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":"3ff71f47-9bde-45d9-be2b-dbe78cc3b4a5","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\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"08f52128-4b2f-4e72-b8f3-85ad7a4f4214","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2127859-90bf-4937-bdb2-74e2cfd8694c","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af3844ff-7218-4ab8-a00d-69d2dd7019ae","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"49f73a06-d973-4501-9a2f-ad22640eef3b","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":"5d80a403-ebd9-427e-ab00-1defaf03d1ad","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":"a65ceb8b-bcad-4746-aa6d-48c6c8ae47b2","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\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad8e5d29-9fba-49c9-bdeb-f8c53d618d06","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86778626-218f-4d6f-914a-a8d3d2ad3f8f","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12f98c26-a374-4873-bbdd-f02b2889167d","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\": 3253,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a2d150ec-a002-4231-b990-83c29379b706","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":"currentHour","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":"9aa24c5d-3b80-4f49-9643-cdb5c867b979","name":"Diagram statistics with node info","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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\": 6263,\n  \"finished\": 8936,\n  \"inProgress\": 8516,\n  \"blocks\": {\n    \"key_0\": {\n      \"type\": \"EventTrigger\",\n      \"entered\": 1455,\n      \"name\": \"string\",\n      \"executed\": 253\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d793f07f-9f80-4954-88ed-73c78626e652","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b5b00b5-4193-4db7-9bab-84f9bb362a60","name":"Insufficient permissions to perform this action","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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":"0d0a2898-1822-4a0b-991a-0d231d74c760","name":"Diagram not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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":"42143a70-f832-4f1d-bc40-77a4aaf8fb9d","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":"currentHour","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":"b61d526a-d126-49cd-a1ea-d52022bb2a6b","name":"Block statistics with block info","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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\": 864,\n  \"name\": \"string\",\n  \"executed\": 7068\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebefec0b-17d1-422d-bebb-ff0f4e9e8f43","name":"See error message for details","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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\": 748,\n  \"message\": \"string\",\n  \"timestamp\": \"2025-12-06T07:04:06.316Z\",\n  \"help\": \"string\",\n  \"traceId\": \"string\",\n  \"errors\": [\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 3196,\n      \"message\": \"string\",\n      \"timestamp\": \"1970-08-18T16:29:30.830Z\",\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        \"key_3\": \"string\"\n      },\n      \"field\": \"string\"\n    },\n    {\n      \"errorCode\": \"string\",\n      \"httpStatus\": 8671,\n      \"message\": \"string\",\n      \"timestamp\": \"2019-12-05T14:57:47.714Z\",\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  \"source\": {\n    \"pointer\": \"string\",\n    \"value\": \"string\"\n  },\n  \"details\": {\n    \"key_0\": \"string\"\n  },\n  \"field\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"512936df-7b05-4989-87d6-5b35c9458afa","name":"Insufficient permissions to perform this action","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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":"995453d1-de4c-408b-945b-4af047c94791","name":"Diagram or block not found","originalRequest":{"url":{"path":["automation-brain","diagrams",":diagramId","blocks",":blockId","statistics"],"host":["{{baseUrl}}"],"query":[{"key":"timePeriod","value":"currentHour"}],"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":"377495e1-66c7-4683-9085-cb1e53cd2485","name":"Data Processing Job Logs","description":{"content":"","type":"text/plain"},"item":[{"id":"2aa7167b-8719-432f-999d-e2ea448e6535","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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":"f4230264-07ec-4d27-8041-54f1e20cc7bc","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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\": 6554.921219421144,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"49dea9ee-f4b6-a4aa-a9eb-47099e91cccf\",\n      \"successCount\": 1868,\n      \"failureCount\": 9931\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\": 2675.507829238295,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"9a23bad4-7fb8-a76f-3fa3-308a46be1646\",\n      \"successCount\": 9419,\n      \"failureCount\": 8868\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\": 5387.345186996876,\n      \"runDate\": \"2022-01-31T12:37:25.109Z\",\n      \"failedRecordsFileId\": \"e8711c84-114b-0737-d1a2-e832e92595d1\",\n      \"successCount\": 6141,\n      \"failureCount\": 9851\n    }\n  },\n  \"overallRunStatus\": \"Pending\",\n  \"runId\": \"7f654f07-3f83-4ebe-7243-7a0ed1e0b873\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da3d4e42-bfac-4575-b291-4f75e88ed2c4","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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\": 6317,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8fd03d9-2785-4ac3-8658-d7de380301cf","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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\": 6317,\n  \"timestamp\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75ee4cf2-d923-45fd-81e7-aa6002b60246","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":"b74d1be6-1193-e42b-8e84-67dae740d7bd","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":"7fd905fa-70f5-4082-b624-f4e87ffd800f","name":"Automation - Synerise Public API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"","type":"text/plain"}}}