{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"abf6e1d9-d56e-425f-96cf-613c917184c1","name":"SMART Operations API Integration","description":"SMART Operations is an innovative product that harnesses the power of computer vision, artificial intelligence, and video analytics to help you manage your operations with greater precision and efficiency. With SMART Operations, you can gain real-time insights into your operations and make informed decisions to optimize your processes and improve your bottom line. The Flows, Speeds, and Alerts APIs are essential components of SMART Operations, enabling third-party integrations with your existing systems to help you extract maximum value from your data. In this documentation, we will explore each of these APIs in detail, providing you with the information you need to integrate SMART Operations with your own systems and unlock its full potential.\n\n# API Key setup\n\nTo access the platform's data securely, the customer must provide the domain address, including the subdomain of the hosting application, to the AMAG. The AMAG admin will then create a platform API for the customer to make secure requests to query the data.\n\n<img src=\"https://content.pstmn.io/88f91a31-89ce-4cb2-9f62-e07dcf9787f1/aW1hZ2UucG5n\" alt=\"Screenshot:%20Customer%20edit%20screen%20%20-%20domain%20address%20section\" width=\"387\" height=\"435\">\n\nThe AMAG administrator will generate an API Key and share it with the customer, who can then use it to set up a request header for data retrieval from the platform.\n\n<img src=\"https://content.pstmn.io/3636a763-2b51-4e0f-ab58-c60e52bb6fd4/aW1hZ2UucG5n\" alt=\"Screenshot:%20Edit%20Customer%20-%20Generate%20API%20token\" width=\"383\" height=\"343\">\n\n<img src=\"https://content.pstmn.io/c2329e04-fa79-4e74-9a9e-04ac05527c7d/aW1hZ2UucG5n\" alt=\"Screenshot:%20Edit%20Customer%20Generate%20API%20Token%202\" width=\"368\" height=\"270\">\n\nAfter generating the token, the AMAG team will provide it to the customer's development team for implementation.\n\nThe developer team need to use this token as a header parameter \"X-PLATFORM-KEY\" while making any request to the AMAG platform.\n\nFor example,\n\n<img src=\"https://content.pstmn.io/2839ccca-3793-4b3e-a58b-82c64348ae1f/aW1hZ2UucG5n\" width=\"623\" height=\"302\">","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"13401721","team":1369641,"collectionId":"abf6e1d9-d56e-425f-96cf-613c917184c1","publishedId":"2s7YYvZMzA","public":true,"publicUrl":"https://docs.ops-api.amagroup.io","privateUrl":"https://go.postman.co/documentation/13401721-abf6e1d9-d56e-425f-96cf-613c917184c1","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"f36f5f"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2023-04-19T01:00:04.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"CSO - Public API","id":"88eca6e7-6417-4af6-bcfa-476974a04a90","owner":"13401721","values":[{"key":"DRM_API_GATEWAY","value":"http://127.0.0.1:3001","enabled":true},{"key":"EXPERT_API_GATEWAY","value":"http://127.0.0.1:3002","enabled":true},{"key":"CSO_API_GATEWAY","value":"https://cso-api.amagroup.io","enabled":true},{"key":"SURVEY_API_GATEWAY","value":"http://127.0.0.1:3001","enabled":true},{"key":"PASSWORD","value":"","enabled":true,"type":"secret"},{"key":"API_GATEWAY_TOKEN","value":"eyJraWQiOiI3TEJ0V3RqVjIrYkRsSnk1ZnlySFNWSFA3OG1ncVcyNVM5d05cLzFja2E0cz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIyODBkYjQ5MS1hODRiLTQ5MTQtODNhZS05OWNjYmY3YzUwMzUiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLmFwLXNvdXRoZWFzdC0yLmFtYXpvbmF3cy5jb21cL2FwLXNvdXRoZWFzdC0yX1BjSkx4dVdnQSIsImNvZ25pdG86dXNlcm5hbWUiOiJkYW5pZWxAYW1hZ3JvdXAuaW8iLCJvcmlnaW5fanRpIjoiNTExM2NhMGQtMzY2My00MDIxLWJhYTYtNDYyYjliY2RiZmM3IiwiYXVkIjoiMXZ2ODhwbzNsanFhOXZrb3Y3OWRwNWMyajIiLCJldmVudF9pZCI6ImVhZWNjYjVhLWJkYWUtNDE2My1hMzQxLTA1MjhhNjg3NTdkYSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNjY3NDMyODgyLCJleHAiOjE2Njc0MzMxODIsImlhdCI6MTY2NzQzMjg4MiwianRpIjoiOGNlOTEzM2MtZjQwOC00YTZhLWEzMjgtMTA3ZWY4ZGE2YmMyIiwiZW1haWwiOiJkYW5pZWxAYW1hZ3JvdXAuaW8ifQ.uFEDAYxCG2QSB29UpJz-8vNghIZoSzXA8aFLG9nnP-LCNFiGCyFDigl7QK_PUMjfDpmiJbtU2ddzvtyCSLm-EBd-9_bOC87eE_gxX_6tQc2iwrMDwOkbQ1JllVBnp0jHwZ8yVyXyCMm4V_zB6k-Fdw-ONuDkqgvhJLemiChQLxbEmoWkdrca6vU2WW9Px0nTDrmQ4_aWVk78rq_rQWYsg35Mk3O9cR3hov2kafr4bfURAMS3HdycMt2Huc_hfTCAHZdrZxoyYc-PkbKS4N-DtKXF1eqqn9uH8Gr4IZPjEMla-vVIM2xgD9lgpqKQsDkwmxZNwfjE5wTJhrZpVkaNLA","enabled":true,"type":"default"},{"key":"INFRA_API_GATEWAY","value":"http://127.0.0.1:3001","enabled":true,"type":"default"},{"key":"CSO_CAM_API_GATEWAY","value":"http://127.0.0.1:3001","enabled":true,"type":"default"},{"key":"COMMON_API_GATEWAY","value":"https://common-api.amagroup.io","enabled":true,"type":"default"},{"key":"","value":"","enabled":false,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/70dea9e77eaa66330e50188b585e84a38940890a25ba10f5af566650cc72d48a","favicon":"https://res.cloudinary.com/postman/image/upload/v1612243790/team/igodpiujlzc35ytv1znz.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"CSO - Public API","value":"13401721-88eca6e7-6417-4af6-bcfa-476974a04a90"}],"canonicalUrl":"https://docs.ops-api.amagroup.io/view/metadata/2s7YYvZMzA"}