{"info":{"_postman_id":"7ae4eeb4-e2d5-4935-ab92-031227e39c93","name":"Psychometric AI Model API Documentation","description":"<html><head></head><body><h3 id=\"overview\">Overview</h3>\n<h3 id=\"this-api-provides-access-to-a-psychometric-ai-model-designed-to-suggest-the-best-tech-track-for-users-based-on-their-responses-to-a-series-of-questions-the-model-evaluates-users-inputs-across-various-attributes-and-returns-the-top-recommended-tech-tracks-that-suit-their-profiles\">This API provides access to a psychometric AI model designed to suggest the best tech track for users based on their responses to a series of questions. The model evaluates users' inputs across various attributes and returns the top recommended tech tracks that suit their profiles.</h3>\n<h4 id=\"authentication\">Authentication</h4>\n<h4 id=\"this-api-does-not-require-authentication-for-the-current-version\">This API does not require authentication for the current version</h4>\n<h4 id=\"url\"><strong>URL</strong></h4>\n<p><a href=\"https://ai-model-rymy.onrender.com\">https://ai-model-rymy.onrender.com/predict</a></p>\n<p>This endpoint accepts user responses to psychometric questions and returns the best tech tracks suited for the user.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body should be a JSON object containing the following attributes with their corresponding scores. Scores should be integers with values: <code>0</code> for \"Bad\", <code>1</code> for \"Average\", and <code>2</code> for \"Excellent\".</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"Mathematical Aptitude\": 2,\n  \"Logical Reasoning\": 0,\n  \"Openness\": 1,\n  \"Conscientiousness\": 2,\n  \"Emotional Stability\": 1,\n  \"Agreeableness/ Assertiveness\": 0,\n  \"Creativity\": 2,\n  \"Aptitude\": 1,\n  \"Programming\": 2,\n  \"Design Software\": 0,\n  \"3D Skills\": 1,\n  \"Web Development Confidence\": 2\n}\n\n</code></pre><h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object containing an array of suggested tech tracks based on the input scores.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"suggestedTracks\": [\n    \"Software Development\",\n    \"Blockchain\"\n  ]\n}\n\n</code></pre><h4 id=\"sample-curl-request\">Sample cURL Request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -X POST https://psychometric-test-ai-model-11ccf748825c.herokuapp.com/predict \\\n-H \"Content-Type: application/json\" \\\n-d '{\n  \"Mathematical Aptitude\": 2,\n  \"Logical Reasoning\": 0,\n  \"Openness\": 1,\n  \"Conscientiousness\": 2,\n  \"Emotional Stability\": 1,\n  \"Agreeableness/ Assertiveness\": 0,\n  \"Creativity\": 2,\n  \"Aptitude\": 1,\n  \"Programming\": 2,\n  \"Design Software\": 0,\n  \"3D Skills\": 1,\n  \"Web Development Confidence\": 2\n}'\n\n</code></pre><h4 id=\"errors\">Errors</h4>\n<p>The API uses standard HTTP response codes to indicate the success or failure of requests. For example:</p>\n<ul>\n<li><p><code>200 OK</code>: The request was successful, and the response body contains the predicted tech tracks.</p>\n</li>\n<li><p><code>400 Bad Request</code>: The server could not understand the request due to invalid syntax. Check your JSON formatting and data types.</p>\n</li>\n<li><p><code>500 Internal Server Error</code>: The server encountered an unexpected condition that prevented it from fulfilling the request. Please try again later or contact support.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34061669","collectionId":"7ae4eeb4-e2d5-4935-ab92-031227e39c93","publishedId":"2sA35LWfap","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-05T16:39:38.000Z"},"item":[{"name":"Local Testing","id":"49194a83-999d-4d42-baa1-ac221ad7d4e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"Mathematical Aptitude\": 1,\r\n  \"Logical Reasoning\": 0,\r\n  \"Openness\": 1,\r\n  \"Conscientiousness\": 2,\r\n  \"Emotional Stability\": 1,\r\n  \"Agreeableness/ Assertiveness\": 0,\r\n  \"Creativity\": 2,\r\n  \"Aptitude\": 0,\r\n  \"Programming\": 2,\r\n  \"Design Software\": 2,\r\n  \"3D Skills\": 1,\r\n  \"Web Development Confidence\": 0\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:5000/predict","description":"<p>Test request to Pyschometric test API AI model</p>\n","urlObject":{"protocol":"http","port":"5000","path":["predict"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"49194a83-999d-4d42-baa1-ac221ad7d4e0"},{"name":"API","id":"75c7c0b6-ada0-4d1b-b951-6cf0468eb654","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Mathematical Aptitude\": 2,\n  \"Logical Reasoning\": 0,\n  \"Openness\": 1,\n  \"Conscientiousness\": 2,\n  \"Emotional Stability\": 1,\n  \"Agreeableness/ Assertiveness\": 0,\n  \"Creativity\": 2,\n  \"Aptitude\": 1,\n  \"Programming\": 2,\n  \"Design Software\": 0,\n  \"3D Skills\": 1,\n  \"Web Development Confidence\": 2\n}"},"url":"https://ai-model-rymy.onrender.com/predict","urlObject":{"protocol":"https","path":["predict"],"host":["ai-model-rymy","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"75c7c0b6-ada0-4d1b-b951-6cf0468eb654"}]}