{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"c6c9a5db-7185-4aea-ab25-187929c35fff","name":"PerforControl API v1.7","description":"<img src=\"https://lh3.googleusercontent.com/oIYGq7vpM6dHKgB1TW7tQaN9NssFQbpzsMd8-Cox8kMzY7eUYUEN6mTWJ4FwidkXLoE902aYXFal3rshg0_0vjHSTnga3SOWIhYPW0HQfNoX50oC_qCB8eVGCgWh-0IsSda06PJ3pcALsLt36npwxKW_ge2oBjDIRGHJIp8EY9lGVHor1iPHdNeaYbYW7tuwhhYpxilTMthz8r8-hbYvRUgeM0_scIOc85sA-j7mXN3np_c4wzHSlgK3KVtMT8Xw54Po-Y3hm5KQWa7KbX7UCPFLqLc6DrNrDsUvPY0W2Tu_McNOrxwev6xaDxcdGyWbWqExZkEWd1erORDd8qp_3vWr4whRW0AElxKTiZZwhuoITA_Py-Hny1m-yaXmd6I0G0luBvocXMfR3vMTE2uip6fPOscEoDXVhopHSuhx2dd1QXJblvD01jVkleUcWVg0_UpWgLjr_K_Ucz-qjQKiA1MwWSxan9NJ-2FwEPWGoscg9G_RXvU8Klf9xrgQqK1v7zIrOZBt4TBblinUfE_pxpWhLgBJwWYkcYnHi1VDmjDzqtFPWZqgvxi_Tk8jp_75H3c5McbZS3lkT2y9HHr3X7uHveq5nnruH1BU0FKBSQxyrUcFZcE6BuhOyTXqlmCIybgE4jr2zJBjrhq5TFwiRrtyzhZxu0AjW3Nh-U2HBWBuTRdA2pM9HUjYQCF9mCoyonfjxhnXU7lSt8FMng_muc9q=w840-h232-no\">\n\nPerforControl API exposes the entire PerforControl reports infrastructure via a standardized programmatic interface. Using the PerforControl API, you can perform most actions available in the PerforControl application, specifically related to reports, while using your programming language of choice. The PerforControl API is a RESTful API based on HTTPs requests and JSON responses.\n\nThis API version (v1) requires an API key for authentication. This means that all requests must be authenticated to receive a response. It also means that you need to register your application and generate a API Key. This procedure can be done through the PerforControl Client application.\n\nThe easiest way to start using the PerforControl API is by clicking the **Run in Postman** button above. Postman is a free tool which helps developers run and debug API requests, and is the source of truth for this documentation. Every endpoint you see documented here is readily available by running our Postman collection.\n\n## Need help?\n\nThe PerforControl engineers are always around answering questions.\n\n## Endpoints\n\nThe API is accessed by making HTTPs requests to a specific version endpoint URL, in which GET, POST, PUT or DELETE variables contain information about what you wish to access.\n\nEverything (methods, parameters, etc.) is fixed to a version number, and every call must contain one. Different Versions are available at different endpoint URLs. The latest version is Version 1.\n\nThe stable HTTPs endpoint for the latest version is: `https://localhost:1299/1/`\n\n## Security\n\nEach client must register their application and store the token that must be used as the API Key.\n\nThe API Key must be sent in the request header, where the parameter is called **X-Auth-Token** and the value is the API key itself. Example:\n\n```\nX-Auth-Token: ST-6-PXSy17u.NSV6hEMyuRkHYD678mvm9dkXj-sso08.perfor.com.br\n\n ```\n\n## Responses\n\nEach response is wrapped in a JSON object. This means that if you receive a response, it will always be a JSON object, but its structure may vary.\n\n**A single array object example**\n\n```\n[\n    \"MACHINE 1\",\n    \"MACHINE 2\"\n]\n\n ```\n\n**A report object example**\n\n```\n{\n    \"data\": [],\n    \"rowCount\": 0\n}\n\n ```\n\n## Error responses\n\n**An error object response**\n\n```\n{\n    \"timestamp\": 1554904889899,\n    \"status\": 403,\n    \"error\": \"Forbidden\",\n    \"message\": \"Access Denied\",\n    \"path\": \"/1/monitor\"\n}\n\n ```\n\n## Error codes\n\n> `200` Success","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"1083553","team":4333027,"collectionId":"c6c9a5db-7185-4aea-ab25-187929c35fff","publishedId":"2sAYdbNt4q","public":true,"publicUrl":"https://doc-api.perfor.online","privateUrl":"https://go.postman.co/documentation/1083553-c6c9a5db-7185-4aea-ab25-187929c35fff","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2025-02-20T20:24:15.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"PerforControl API","id":"dc7eb4b1-9204-4c4b-8ae7-3f439df75384","owner":"1083553","values":[{"key":"url","value":"https://localhost:1299","enabled":true},{"key":"token_name","value":"X-Auth-Token","enabled":true},{"key":"token","value":"some-token","enabled":true}],"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/d73f3c1ceef6d155af9b6b8415e6a7e7f95f0eaf6ee35f5acc689cdcd15a7fe0","favicon":"https://perfor.online/favicon.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":"PerforControl API","value":"1083553-dc7eb4b1-9204-4c4b-8ae7-3f439df75384"}],"canonicalUrl":"https://doc-api.perfor.online/view/metadata/2sAYdbNt4q"}