API REFERENCE
Results
Get a result
1 min
{ "name" "get a result", "method" "get", "url" "https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{resultid}", "description" "get a result by resultid", "tab" "examples", "examples" { "languages" \[ { "id" "ui xhiaruo8lixtjwjmrv", "language" "curl", "code" "curl location globoff 'https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{resultid}' \\\\\n header 'authorization string'", "customlabel" "" }, { "id" "v1h9tsfgeowpofhl p4ra", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{id}/{resultid}',\n 'headers' {\n 'authorization' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "uxw26prleelatau4io5yy", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"authorization\\", \\"string\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{id}/{resultid}\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "db yfkimzpotygx34cvzz", "language" "python", "code" "import requests\n\nurl = \\"https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{id}/{resultid}\\"\n\npayload = {}\nheaders = {\n 'authorization' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "6fkp2flgavwgblrmzp1ho", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api sandbox klavi ai/monitor/v1/monitors/{id}/results/{id}/{resultid}\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"authorization\\"] = \\"string\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "ui xhiaruo8lixtjwjmrv" }, "results" { "languages" \[ { "id" "ye c6xvdzpafcffmet9kk", "language" "200", "customlabel" "", "code" "{\n \\"id\\" \\"496db575 cf5c 426e b8ff ba9cd5bf01e4\\",\n \\"name\\" \\"monitore rollout 20250317 2025 03 24 6\\",\n \\"createat\\" \\"2025 03 24t06 00 00z\\",\n \\"download\\" {\n \\"url\\" \\"https //amzn s3 demo bucket s3 amazonaws com/result\\",\n \\"httpmethod\\" \\"get\\"\n }\n}" } ], "selectedlanguageid" "ye c6xvdzpafcffmet9kk" }, "request" { "pathparameters" \[ { "name" "id", "kind" "required", "type" "string", "description" "id of the monitor", "" "id of the monitor" }, { "name" "resultid", "kind" "required", "type" "string", "description" "id of the result", "" "id of the result" } ], "queryparameters" \[], "headerparameters" \[ { "name" "authorization", "kind" "required", "type" "string", "description" "bearer access token, it returned by the /auth", "" "bearer access token, it returned by the /auth" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "path parameter", "value" "pathparameters" }, "hastryitout" false }