{"info":{"_postman_id":"fc26fd4e-03ec-4971-87f8-72ff4bf36277","name":"Gryd Apis","description":"<html><head></head><body><blockquote>\n<p>These APIs provide metadata and allow CRUD operations on the enterprise models and objects of the application </p>\n</blockquote>\n<h3 id=\"table-of-contents\"><strong>Table of contents:</strong></h3>\n<blockquote>\n<p>1. Model APIs<br>2. Data APIs<br>3. Pivot APIs </p>\n</blockquote>\n<h2 id=\"🔐-authorization\">🔐 Authorization</h2>\n<p>the API will support <strong>API key-based authentication</strong>. Below are the standard headers for authentication:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-properties\">Accept:application/json\nX-GRYD-ENTERPRISE-ID:&lt;Enterprise id&gt;\nX-GRYD-USER-ID:&lt;User ID&gt;\nX-GRYD-API-KEY:&lt;API - key&gt;\nX-GRYD-ROLE:&lt;Role of the user&gt;\n\n</code></pre>\n<h2 id=\"1-model-apis\">1. Model APIs</h2>\n<p>Retrieves the schema definition of a given model.</p>\n<ol>\n<li><strong>Access</strong>: Only Gryd Admin or Admin type can update/delete the model.</li>\n</ol>\n<blockquote>\n<p>POST, PUT, UPDATE, DELETE request types are for Admin/Gryd Admin Users only. These are noted in the request's documentation. </p>\n</blockquote>\n<h2 id=\"2-data-apis\">2. Data APIs</h2>\n<p>These APIs provide metadata and allow CRUD operations on the core models of the application.</p>\n<ol>\n<li><strong>Access</strong>: Any one with read or write or delete permissions can access model objects.</li>\n</ol>\n<h2 id=\"3-data-apis\">3. Data APIs</h2>\n<p>The <strong>Pivot APIs</strong> allow dynamic transformation and summarization of model data using aggregation functions such as:</p>\n<ul>\n<li><p><strong>SUM</strong> (<code>sum</code>): Computes the total value of a column.</p>\n</li>\n<li><p><strong>COUNT</strong> (<code>count</code>): Counts the number of occurrences.</p>\n</li>\n<li><p><strong>DISTINCT COUNT</strong> (<code>distinct</code>): Counts unique values in a column.</p>\n</li>\n<li><p><strong>AVERAGE</strong> (<code>avg</code>): Computes the mean of numerical values.</p>\n</li>\n</ul>\n<p>These APIs are useful for generating reports and data insights dynamically.</p>\n<ol>\n<li><strong>Access</strong>: Any one with read permissions can access model objects.</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4639093","collectionId":"fc26fd4e-03ec-4971-87f8-72ff4bf36277","publishedId":"2sAYXFgwfB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-17T09:07:31.000Z"},"item":[{"name":"Model","item":[{"name":"List Models","event":[{"listen":"test","script":{"id":"378abd11-49c5-4f23-8d5b-547c1eb06bb3","exec":[""],"type":"text/javascript","packages":{}}}],"id":"bd91f01d-e845-4aa2-9f68-c9b67e29c115","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/get-models/core","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-models </p>\n</blockquote>\n<blockquote>\n<p>data/params: used for filter the models using name or data_type </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Array of model json</p>\n","urlObject":{"path":["gryd","db","get-models","core"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ca2b30c9-3478-4583-9762-420b7d8f1d16","name":"List Models","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/get-models/core"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:38:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4936"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"customer\",\n        \"model_type\": \"default\",\n        \"data_type\": \"object_concurrency_large\",\n        \"ids\": [\n            \"uid\"\n        ],\n        \"timezone\": \"UTC\",\n        \"title\": \"Customer\",\n        \"description\": \"Customer\",\n        \"has_login\": false,\n        \"parents\": [],\n        \"children\": [],\n        \"expand_attributes\": true,\n        \"allow_anonymous_view\": false,\n        \"quick_views\": {\n            \"default\": [\n                \"uid\"\n            ]\n        },\n        \"relations\": {},\n        \"template_model\": false,\n        \"permissions\": [],\n        \"service_model\": false,\n        \"attributes\": [\n            {\n                \"name\": \"name\",\n                \"type\": \"text\",\n                \"title\": \"Name\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": true,\n                \"indexed\": true,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Name\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute name of type text in model customer\"\n            },\n            {\n                \"name\": \"city\",\n                \"type\": \"text\",\n                \"title\": \"City\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"City\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute city of type text in model customer\"\n            },\n            {\n                \"name\": \"region\",\n                \"type\": \"text\",\n                \"title\": \"Region\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [\n                    \"Asia\",\n                    \"Pacific\",\n                    \"North America\",\n                    \"South America\"\n                ],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Region\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute region of type text in model customer\"\n            },\n            {\n                \"name\": \"email\",\n                \"type\": \"text\",\n                \"title\": \"Email\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": true,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Email\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute email of type text in model customer\"\n            },\n            {\n                \"name\": \"uid\",\n                \"type\": \"text\",\n                \"title\": \"Uid\",\n                \"id\": true,\n                \"default\": {\n                    \"args\": [\n                        \"email\"\n                    ],\n                    \"function\": \"make_uuid3\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"args\": [\n                        false\n                    ],\n                    \"function\": \"to_login_id\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": true,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Uid\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute uid of type text in model customer\"\n            },\n            {\n                \"name\": \"other_city\",\n                \"type\": \"bool\",\n                \"title\": \"Other City\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Other City\",\n                \"ui_element\": \"switch\",\n                \"documentation\": \"Attribute other_city of type bool in model customer\"\n            },\n            {\n                \"name\": \"abc\",\n                \"type\": \"number\",\n                \"title\": \"Abc\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Abc\",\n                \"ui_element\": \"number\",\n                \"documentation\": \"Attribute abc of type number in model customer\"\n            },\n            {\n                \"name\": \"colour\",\n                \"type\": \"list\",\n                \"title\": \"Colour\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Colour\",\n                \"ui_element\": \"tags\",\n                \"documentation\": \"Attribute colour of type list in model customer\"\n            },\n            {\n                \"name\": \"a_date\",\n                \"type\": \"datetime\",\n                \"title\": \"A Date\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"function\": \"to_datetime\"\n                },\n                \"jsoner\": {\n                    \"function\": \"from_datetime\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"A Date\",\n                \"ui_element\": \"datepicker\",\n                \"documentation\": \"Attribute a_date of type datetime in model customer\"\n            },\n            {\n                \"name\": \"true_false\",\n                \"type\": \"bool\",\n                \"title\": \"True False\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"True False\",\n                \"ui_element\": \"switch\",\n                \"documentation\": \"Attribute true_false of type bool in model customer\"\n            },\n            {\n                \"name\": \"password\",\n                \"type\": \"password\",\n                \"title\": \"Password\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"kwargs\": {\n                        \"_no_convert_for_constraint\": true\n                    },\n                    \"function\": \"hash_password\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Password\",\n                \"ui_element\": \"password\",\n                \"documentation\": \"Attribute password of type password in model customer\"\n            },\n            {\n                \"name\": \"api_key\",\n                \"type\": \"text\",\n                \"title\": \"Api Key\",\n                \"id\": false,\n                \"default\": {\n                    \"args\": [\n                        \"uid\"\n                    ],\n                    \"function\": \"update_api_key\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": true,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Api Key\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute api_key of type text in model customer\"\n            }\n        ]\n    }\n]"}],"_postman_id":"bd91f01d-e845-4aa2-9f68-c9b67e29c115"},{"name":"List models using models","event":[{"listen":"test","script":{"id":"378abd11-49c5-4f23-8d5b-547c1eb06bb3","exec":[""],"type":"text/javascript","packages":{}}}],"id":"771dcb2e-093f-4200-a337-abd1abe0514f","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/models/core","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-models </p>\n</blockquote>\n<blockquote>\n<p>data/params: used for filter the models using name or data_type </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Array of model json</p>\n","urlObject":{"path":["gryd","db","models","core"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6be59fc1-d8eb-45ad-b71c-d4ebf595fa3c","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/models/core"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:39:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4936"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"customer\",\n        \"model_type\": \"default\",\n        \"data_type\": \"object_concurrency_large\",\n        \"ids\": [\n            \"uid\"\n        ],\n        \"timezone\": \"UTC\",\n        \"title\": \"Customer\",\n        \"description\": \"Customer\",\n        \"has_login\": false,\n        \"parents\": [],\n        \"children\": [],\n        \"expand_attributes\": true,\n        \"allow_anonymous_view\": false,\n        \"quick_views\": {\n            \"default\": [\n                \"uid\"\n            ]\n        },\n        \"relations\": {},\n        \"template_model\": false,\n        \"permissions\": [],\n        \"service_model\": false,\n        \"attributes\": [\n            {\n                \"name\": \"name\",\n                \"type\": \"text\",\n                \"title\": \"Name\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": true,\n                \"indexed\": true,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Name\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute name of type text in model customer\"\n            },\n            {\n                \"name\": \"city\",\n                \"type\": \"text\",\n                \"title\": \"City\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"City\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute city of type text in model customer\"\n            },\n            {\n                \"name\": \"region\",\n                \"type\": \"text\",\n                \"title\": \"Region\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [\n                    \"Asia\",\n                    \"Pacific\",\n                    \"North America\",\n                    \"South America\"\n                ],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Region\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute region of type text in model customer\"\n            },\n            {\n                \"name\": \"email\",\n                \"type\": \"text\",\n                \"title\": \"Email\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": true,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Email\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute email of type text in model customer\"\n            },\n            {\n                \"name\": \"uid\",\n                \"type\": \"text\",\n                \"title\": \"Uid\",\n                \"id\": true,\n                \"default\": {\n                    \"args\": [\n                        \"email\"\n                    ],\n                    \"function\": \"make_uuid3\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"args\": [\n                        false\n                    ],\n                    \"function\": \"to_login_id\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": true,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Uid\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute uid of type text in model customer\"\n            },\n            {\n                \"name\": \"other_city\",\n                \"type\": \"bool\",\n                \"title\": \"Other City\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Other City\",\n                \"ui_element\": \"switch\",\n                \"documentation\": \"Attribute other_city of type bool in model customer\"\n            },\n            {\n                \"name\": \"abc\",\n                \"type\": \"number\",\n                \"title\": \"Abc\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Abc\",\n                \"ui_element\": \"number\",\n                \"documentation\": \"Attribute abc of type number in model customer\"\n            },\n            {\n                \"name\": \"colour\",\n                \"type\": \"list\",\n                \"title\": \"Colour\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Colour\",\n                \"ui_element\": \"tags\",\n                \"documentation\": \"Attribute colour of type list in model customer\"\n            },\n            {\n                \"name\": \"a_date\",\n                \"type\": \"datetime\",\n                \"title\": \"A Date\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"function\": \"to_datetime\"\n                },\n                \"jsoner\": {\n                    \"function\": \"from_datetime\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"A Date\",\n                \"ui_element\": \"datepicker\",\n                \"documentation\": \"Attribute a_date of type datetime in model customer\"\n            },\n            {\n                \"name\": \"true_false\",\n                \"type\": \"bool\",\n                \"title\": \"True False\",\n                \"id\": false,\n                \"required\": false,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"True False\",\n                \"ui_element\": \"switch\",\n                \"documentation\": \"Attribute true_false of type bool in model customer\"\n            },\n            {\n                \"name\": \"password\",\n                \"type\": \"password\",\n                \"title\": \"Password\",\n                \"id\": false,\n                \"default\": {\n                    \"function\": \"raise_error\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"converter\": {\n                    \"kwargs\": {\n                        \"_no_convert_for_constraint\": true\n                    },\n                    \"function\": \"hash_password\"\n                },\n                \"constraint\": {},\n                \"auto_updater\": false,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Password\",\n                \"ui_element\": \"password\",\n                \"documentation\": \"Attribute password of type password in model customer\"\n            },\n            {\n                \"name\": \"api_key\",\n                \"type\": \"text\",\n                \"title\": \"Api Key\",\n                \"id\": false,\n                \"default\": {\n                    \"args\": [\n                        \"uid\"\n                    ],\n                    \"function\": \"update_api_key\"\n                },\n                \"required\": true,\n                \"unique\": false,\n                \"indexed\": false,\n                \"refers\": [],\n                \"constraint\": {},\n                \"auto_updater\": true,\n                \"dict_keys\": [],\n                \"options\": [],\n                \"option_others\": false,\n                \"force_update\": false,\n                \"placeholder\": \"Api Key\",\n                \"ui_element\": \"text\",\n                \"documentation\": \"Attribute api_key of type text in model customer\"\n            }\n        ]\n    }\n]"}],"_postman_id":"771dcb2e-093f-4200-a337-abd1abe0514f"},{"name":"Get model","id":"24e6ac37-5cdb-4fe8-aca7-35b4c3926d30","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/get-model/customer","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to retrive. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Model json</p>\n","urlObject":{"path":["gryd","db","get-model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bcaa3342-48a2-43fe-8fcf-4947e56fa4e6","name":"Model doesnt exist","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/get-model/customer1"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:40:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"83"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Model with name customer1 doesn't exists for enterprise demo_enterprise\"\n}"},{"id":"4eca3ded-91ac-4b26-ac82-299a05ce36dc","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/get-model/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:40:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4934"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \"children\": [],\n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"type\": \"text\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"type\": \"text\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"type\": \"text\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"type\": \"text\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"type\": \"text\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"args\": [\n                    false\n                ],\n                \"function\": \"to_login_id\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"type\": \"bool\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"type\": \"number\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"type\": \"list\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"type\": \"datetime\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"type\": \"bool\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"type\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"type\": \"text\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}"}],"_postman_id":"24e6ac37-5cdb-4fe8-aca7-35b4c3926d30"},{"name":"get model using model","id":"c137cfc0-0371-4a3c-bb79-373637edcf0e","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/model/customer","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to retrive. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Model json</p>\n","urlObject":{"path":["gryd","db","model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7c7cf092-ddcf-47cc-9ff8-36f4265efb12","name":"Model doesnt exist","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/model/customer1"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:40:02 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"83"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Model with name customer1 doesn't exists for enterprise demo_enterprise\"\n}"},{"id":"7bb1219d-2fa0-4baa-b1dd-347ce92b34dc","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"http://localhost:5030/gryd/db/get-model/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:40:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4934"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \"children\": [],\n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"type\": \"text\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"type\": \"text\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"type\": \"text\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"type\": \"text\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"type\": \"text\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"args\": [\n                    false\n                ],\n                \"function\": \"to_login_id\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"type\": \"bool\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"type\": \"number\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"type\": \"list\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"type\": \"datetime\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"type\": \"bool\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"type\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"type\": \"text\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}"}],"_postman_id":"c137cfc0-0371-4a3c-bb79-373637edcf0e"},{"name":"Post Model","id":"66efcfdb-babb-41df-b153-ac02883c4015","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"type\": \"number\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"type\": \"list\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"type\": \"datetime\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"type\": \"password\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/post-model/customer","description":"<p>This endpoint helps to update/create a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: post-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<blockquote>\n<p>data: should contain to model body </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Update/created Model json</p>\n","urlObject":{"path":["gryd","db","post-model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4e97f3dd-aa61-4c34-8bbc-beedeadc5014","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"type\": \"number\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"type\": \"list\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"type\": \"datetime\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"type\": \"password\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/post-model/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:45:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4932"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \"children\": [],\n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": null,\n    \"permissions\": [],\n    \"service_model\": null,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"type\": \"text\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"type\": \"text\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"type\": \"text\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"type\": \"text\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"type\": \"text\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"type\": \"bool\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"type\": \"number\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"type\": \"list\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"type\": \"datetime\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"type\": \"bool\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"type\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"type\": \"text\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}"}],"_postman_id":"66efcfdb-babb-41df-b153-ac02883c4015"},{"name":"Post Model using model","id":"b77df2f8-f1dd-43d4-a128-5d7645b680f5","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"type\": \"number\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"type\": \"list\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"type\": \"datetime\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"type\": \"password\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/model/customer","description":"<p>This endpoint helps to update/create a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: post-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<blockquote>\n<p>data: should contain to model body </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Update/created Model json</p>\n","urlObject":{"path":["gryd","db","model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0a558a8d-2016-4095-a556-9f22d6ca3cc4","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": false,\n    \"permissions\": [],\n    \"service_model\": false,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"type\": \"number\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"type\": \"list\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"type\": \"datetime\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"type\": \"bool\",\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"type\": \"password\",\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"type\": \"text\",\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/model/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:46:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4932"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"customer\",\n    \"model_type\": \"default\",\n    \"data_type\": \"object_concurrency_large\",\n    \"ids\": [\n        \"uid\"\n    ],\n    \"timezone\": \"UTC\",\n    \"title\": \"Customer\",\n    \"description\": \"Customer\",\n    \"has_login\": false,\n    \"parents\": [],\n    \"children\": [],\n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false,\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"relations\": {},\n    \"template_model\": null,\n    \"permissions\": [],\n    \"service_model\": null,\n    \"attributes\": [\n        {\n            \"name\": \"name\",\n            \"type\": \"text\",\n            \"title\": \"Name\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": true,\n            \"indexed\": true,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Name\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute name of type text in model customer\"\n        },\n        {\n            \"name\": \"city\",\n            \"type\": \"text\",\n            \"title\": \"City\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"City\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute city of type text in model customer\"\n        },\n        {\n            \"name\": \"region\",\n            \"type\": \"text\",\n            \"title\": \"Region\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [\n                \"Asia\",\n                \"Pacific\",\n                \"North America\",\n                \"South America\"\n            ],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Region\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute region of type text in model customer\"\n        },\n        {\n            \"name\": \"email\",\n            \"type\": \"text\",\n            \"title\": \"Email\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": true,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Email\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute email of type text in model customer\"\n        },\n        {\n            \"name\": \"uid\",\n            \"type\": \"text\",\n            \"title\": \"Uid\",\n            \"id\": true,\n            \"default\": {\n                \"args\": [\n                    \"email\"\n                ],\n                \"function\": \"make_uuid3\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_login_id\",\n                \"args\": [\n                    false\n                ]\n            },\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Uid\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute uid of type text in model customer\"\n        },\n        {\n            \"name\": \"other_city\",\n            \"type\": \"bool\",\n            \"title\": \"Other City\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Other City\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute other_city of type bool in model customer\"\n        },\n        {\n            \"name\": \"abc\",\n            \"type\": \"number\",\n            \"title\": \"Abc\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Abc\",\n            \"ui_element\": \"number\",\n            \"documentation\": \"Attribute abc of type number in model customer\"\n        },\n        {\n            \"name\": \"colour\",\n            \"type\": \"list\",\n            \"title\": \"Colour\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Colour\",\n            \"ui_element\": \"tags\",\n            \"documentation\": \"Attribute colour of type list in model customer\"\n        },\n        {\n            \"name\": \"a_date\",\n            \"type\": \"datetime\",\n            \"title\": \"A Date\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"function\": \"to_datetime\"\n            },\n            \"jsoner\": {\n                \"function\": \"from_datetime\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"A Date\",\n            \"ui_element\": \"datepicker\",\n            \"documentation\": \"Attribute a_date of type datetime in model customer\"\n        },\n        {\n            \"name\": \"true_false\",\n            \"type\": \"bool\",\n            \"title\": \"True False\",\n            \"id\": false,\n            \"required\": false,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"True False\",\n            \"ui_element\": \"switch\",\n            \"documentation\": \"Attribute true_false of type bool in model customer\"\n        },\n        {\n            \"name\": \"password\",\n            \"type\": \"password\",\n            \"title\": \"Password\",\n            \"id\": false,\n            \"default\": {\n                \"function\": \"raise_error\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"converter\": {\n                \"kwargs\": {\n                    \"_no_convert_for_constraint\": true\n                },\n                \"function\": \"hash_password\"\n            },\n            \"constraint\": {},\n            \"auto_updater\": false,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Password\",\n            \"ui_element\": \"password\",\n            \"documentation\": \"Attribute password of type password in model customer\"\n        },\n        {\n            \"name\": \"api_key\",\n            \"type\": \"text\",\n            \"title\": \"Api Key\",\n            \"id\": false,\n            \"default\": {\n                \"args\": [\n                    \"uid\"\n                ],\n                \"function\": \"update_api_key\"\n            },\n            \"required\": true,\n            \"unique\": false,\n            \"indexed\": false,\n            \"refers\": [],\n            \"constraint\": {},\n            \"auto_updater\": true,\n            \"dict_keys\": [],\n            \"options\": [],\n            \"option_others\": false,\n            \"force_update\": false,\n            \"placeholder\": \"Api Key\",\n            \"ui_element\": \"text\",\n            \"documentation\": \"Attribute api_key of type text in model customer\"\n        }\n    ]\n}"}],"_postman_id":"b77df2f8-f1dd-43d4-a128-5d7645b680f5"},{"name":"Delete Model","id":"4604d559-901b-4eb8-9783-2c664b54c986","request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/delete-model/customer","description":"<p>This endpoint helps to delete a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: delete-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Deleted Model json</p>\n","urlObject":{"path":["gryd","db","delete-model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4604d559-901b-4eb8-9783-2c664b54c986"},{"name":"Delete Model using model","id":"2ee7e068-0476-47ea-a475-fcb2506e82c2","request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/model/customer","description":"<p>This endpoint helps to delete a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: delete-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Deleted Model json</p>\n","urlObject":{"path":["gryd","db","model","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f703c6bd-76d1-4b83-a0d6-f1813da59dd8","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/model/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 07:47:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"520"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"ids\": [\n        \"uid\"\n    ],\n    \"name\": \"customer\",\n    \"title\": \"Customer\",\n    \"parents\": [],\n    \"children\": [],\n    \"timezone\": \"UTC\",\n    \"data_type\": \"object_concurrency_large\",\n    \"has_login\": false,\n    \"relations\": {},\n    \"attributes\": [\n        \"name\",\n        \"city\",\n        \"region\",\n        \"email\",\n        \"uid\",\n        \"other_city\",\n        \"abc\",\n        \"colour\",\n        \"a_date\",\n        \"true_false\",\n        \"password\",\n        \"api_key\"\n    ],\n    \"model_type\": \"default\",\n    \"description\": \"Customer\",\n    \"quick_views\": {\n        \"default\": [\n            \"uid\"\n        ]\n    },\n    \"last_updated\": \"2025-05-21T07:46:06.146379+00:00\",\n    \"service_model\": null,\n    \"template_model\": null,\n    \"expand_attributes\": true,\n    \"allow_anonymous_view\": false\n}"}],"_postman_id":"2ee7e068-0476-47ea-a475-fcb2506e82c2"}],"id":"12916421-baa9-4628-ac49-35b139f235df","description":"<p>This is a JSON-based structure definition for storing model metadata across various database systems such as PostgreSQL, Redis, JSON, and CSV. Each model is represented as a JSON object that defines the structure of a corresponding database table. The model includes fields like <code>name</code>, <code>data_type</code>, and <code>model_type</code>, and maintains a list of <code>attributes</code>, where each item represents a column in the table with its respective properties. To ensure uniqueness, each model name must be distinct within the context of an enterprise.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ef2eeb66-c35c-4c76-856e-f5861bfca2c0","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"527d31d0-5de0-478c-8db2-c7f44722cc92","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"12916421-baa9-4628-ac49-35b139f235df"},{"name":"Object APIs","item":[{"name":"List objects using list function","event":[{"listen":"test","script":{"id":"378abd11-49c5-4f23-8d5b-547c1eb06bb3","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"056b0e03-a2d0-4652-98a5-d33b0f9e02b6","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"test3\",\n  \"cid\": \"3\",\n  \"city\": \"three city\"   \n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/object/test_customer","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-models </p>\n</blockquote>\n<blockquote>\n<p>data/params: used for filter the models using name or data_type </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Array of model json</p>\n","urlObject":{"path":["gryd","db","object","test_customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"056b0e03-a2d0-4652-98a5-d33b0f9e02b6"},{"name":"List objects using objects","event":[{"listen":"test","script":{"id":"378abd11-49c5-4f23-8d5b-547c1eb06bb3","exec":[""],"type":"text/javascript","packages":{}}}],"id":"cc318cf8-2b82-418b-b6b0-c01f6c52b49d","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/customer","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-models </p>\n</blockquote>\n<blockquote>\n<p>data/params: used for filter the models using name or data_type </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Array of model json</p>\n","urlObject":{"path":["gryd","db","objects","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc318cf8-2b82-418b-b6b0-c01f6c52b49d"},{"name":"Get Specific object by id","id":"437268e8-04d9-425a-ad3a-76003eec8822","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"http://localhost:5030/gryd/db/get/customer/customer1","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to retrive. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Model json</p>\n","urlObject":{"protocol":"http","port":"5030","path":["gryd","db","get","customer","customer1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"437268e8-04d9-425a-ad3a-76003eec8822"},{"name":"Get Specific object by id using object","id":"2056695f-7389-4190-81ee-06e836baf1e3","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"http://localhost:5030/gryd/db/object/customer/customer1","description":"<p>This endpoint retrieves all defined models for an enterprise in json format. Can be filtered by name, data_type.</p>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: get-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to retrive. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Model json</p>\n","urlObject":{"protocol":"http","port":"5030","path":["gryd","db","object","customer","customer1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2056695f-7389-4190-81ee-06e836baf1e3"},{"name":"Get Service model objects","id":"4ffa70ae-eb68-425b-b309-aa81f40130de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/project?service_model={{service_name}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"e91f3cfa-769b-4066-b0df-7393e1220137","id":"e91f3cfa-769b-4066-b0df-7393e1220137","name":"Object APIs","type":"folder"}},"urlObject":{"path":["gryd","db","objects","project"],"host":["{{url}}"],"query":[{"key":"service_model","value":"{{service_name}}"}],"variable":[]}},"response":[{"id":"11e93145-e509-44d8-9c08-6ab4818cc250","name":"Success response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":{"raw":"{{url}}/gryd/db/objects/project?service_model=gryd_service","host":["{{url}}"],"path":["gryd","db","objects","project"],"query":[{"key":"service_model","value":"gryd_service"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 11 Jun 2025 12:06:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"369"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"page_number\": 1,\n    \"page_size\": 50,\n    \"data\": [\n        {\n            \"name\": \"Test Collection\",\n            \"created_at\": 1749545469.31353,\n            \"project_id\": \"VGVzdCBDb2xsZWN0aW9u\",\n            \"updated_at\": 1749545469.316276,\n            \"connections\": [\n                \"dGVzdGxvY2FsaG9zdDU2MDN0ZXN0IGNvbm5lY3Rpb25hZG1pbg__\"\n            ],\n            \"project_secret_key\": \"key1\",\n            \"max_connection_time\": 300,\n            \"max_number_of_connections\": 10\n        }\n    ],\n    \"total_number\": 1,\n    \"is_first\": true,\n    \"is_last\": true\n}"}],"_postman_id":"4ffa70ae-eb68-425b-b309-aa81f40130de"},{"name":"Get Template model objects","id":"9775255c-21e6-416f-aef2-c5ba5d6bba3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/customer123?template_model=customer","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"e91f3cfa-769b-4066-b0df-7393e1220137","id":"e91f3cfa-769b-4066-b0df-7393e1220137","name":"Object APIs","type":"folder"}},"urlObject":{"path":["gryd","db","objects","customer123"],"host":["{{url}}"],"query":[{"key":"template_model","value":"customer"}],"variable":[]}},"response":[{"id":"dd47104e-f3f0-4b2d-9e05-b277b1671242","name":"Get Template model Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":{"raw":"{{url}}/gryd/db/objects/customer123?template_model=customer","host":["{{url}}"],"path":["gryd","db","objects","customer123"],"query":[{"key":"template_model","value":"customer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 11 Jun 2025 12:19:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"page_number\": 1,\n    \"page_size\": 50,\n    \"data\": [],\n    \"total_number\": 0,\n    \"is_first\": true,\n    \"is_last\": true\n}"}],"_postman_id":"9775255c-21e6-416f-aef2-c5ba5d6bba3c"},{"name":"Post object using post function","id":"3e38d44e-40ae-44ca-9e1c-3645d3b5473d","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Dinesh\",\n    \"city\": \"bengaluru\",\n    \"region\": \"Asia\",\n    \"email\" : \"dinesh+democ@iamdave.ai\",\n    \"password\": \"abc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/post/customer","description":"<p>This endpoint helps to update/create a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: post-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<blockquote>\n<p>data: should contain to model body </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Update/created Model json</p>\n","urlObject":{"path":["gryd","db","post","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e38d44e-40ae-44ca-9e1c-3645d3b5473d"},{"name":"Post object using post function using object","id":"eae99269-fbc1-486c-b27b-af5b129d98a1","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Dinesh p\",\n    \"city\": \"bengaluru\",\n    \"region\": \"Asia\",\n    \"email\" : \"dinesh+democ1@iamdave.ai\",\n    \"password\": \"abc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/object/customer","description":"<p>This endpoint helps to update/create a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: post-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<blockquote>\n<p>data: should contain to model body </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Update/created Model json</p>\n","urlObject":{"path":["gryd","db","object","customer"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1ccce996-5989-4a68-85c5-337b1071c5e0","name":"Unique email error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Dinesh p\",\n    \"city\": \"bengaluru\",\n    \"region\": \"Asia\",\n    \"email\" : \"dinesh+democ@iamdave.ai\",\n    \"password\": \"abc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/object/customer"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 06:46:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Object with email (email) = dinesh+democ@iamdave.ai already exists in customer\"\n}"},{"id":"a72dafbf-3e1d-465e-b4a0-887c9711cf41","name":"Unique name error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Dinesh p\",\n    \"city\": \"bengaluru\",\n    \"region\": \"Asia\",\n    \"email\" : \"dinesh+democ1@iamdave.ai\",\n    \"password\": \"abc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/object/customer"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 21 May 2025 06:48:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"73"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Object with name (name) = Dinesh p already exists in customer\"\n}"}],"_postman_id":"eae99269-fbc1-486c-b27b-af5b129d98a1"},{"name":"Delete object","id":"144e0210-1c8a-478b-9732-58b5884ce1f3","request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/delete/customer/ba15eddd-fda7-356d-a10b-f1885093950e","description":"<p>This endpoint helps to delete a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: delete-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Deleted Model json</p>\n","urlObject":{"path":["gryd","db","delete","customer","ba15eddd-fda7-356d-a10b-f1885093950e"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"144e0210-1c8a-478b-9732-58b5884ce1f3"},{"name":"Delete object using object api","id":"5b0013ee-f558-4584-a21e-9933f04cb05c","request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"{{url}}/gryd/db/object/customer/ba15eddd-fda7-356d-a10b-f1885093950e","description":"<p>This endpoint helps to delete a specified models for an enterprise.</p>\n<blockquote>\n<p>Available only for admin/gryd_admin roles </p>\n</blockquote>\n<h2 id=\"request\">Request</h2>\n<blockquote>\n<p>action: delete-model </p>\n</blockquote>\n<blockquote>\n<p>model: This attribute is used to specify the model name to update/create. </p>\n</blockquote>\n<h3 id=\"response\">Response</h3>\n<p>Deleted Model json</p>\n","urlObject":{"path":["gryd","db","object","customer","ba15eddd-fda7-356d-a10b-f1885093950e"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b0013ee-f558-4584-a21e-9933f04cb05c"}],"id":"e91f3cfa-769b-4066-b0df-7393e1220137","description":"<p>Using the above model structure, each <strong>row</strong> of data in the corresponding database table is referred to as an <strong>object</strong>. An object represents a single instance of the model, where each attribute (i.e., table column) holds a specific value. These objects are accessed and manipulated through APIs, allowing users to create, read, update, or delete individual records. The term “object” is used to emphasize that each row is a structured entity based on the defined model schema, similar to how objects are handled in object-oriented programming or JSON-based data formats.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ef2eeb66-c35c-4c76-856e-f5861bfca2c0","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"527d31d0-5de0-478c-8db2-c7f44722cc92","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"e91f3cfa-769b-4066-b0df-7393e1220137"},{"name":"Data Insights","item":[{"name":"GRYD-Insights-ask","item":[{"name":"Get collections","id":"e5e64ee5-b1db-448a-8972-3690eaf542b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/project?service_model=gryd_service","urlObject":{"path":["gryd","db","objects","project"],"host":["{{url}}"],"query":[{"key":"service_model","value":"gryd_service"}],"variable":[]}},"response":[{"id":"49d15ab2-b55d-451c-ac64-554c429eb25b","name":"Success response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":{"raw":"{{url}}/gryd/db/objects/project?service_model=gryd_service","host":["{{url}}"],"path":["gryd","db","objects","project"],"query":[{"key":"service_model","value":"gryd_service"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 11 Jun 2025 12:06:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"369"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"page_number\": 1,\n    \"page_size\": 50,\n    \"data\": [\n        {\n            \"name\": \"Test Collection\",\n            \"created_at\": 1749545469.31353,\n            \"project_id\": \"VGVzdCBDb2xsZWN0aW9u\",\n            \"updated_at\": 1749545469.316276,\n            \"connections\": [\n                \"dGVzdGxvY2FsaG9zdDU2MDN0ZXN0IGNvbm5lY3Rpb25hZG1pbg__\"\n            ],\n            \"project_secret_key\": \"key1\",\n            \"max_connection_time\": 300,\n            \"max_number_of_connections\": 10\n        }\n    ],\n    \"total_number\": 1,\n    \"is_first\": true,\n    \"is_last\": true\n}"}],"_postman_id":"e5e64ee5-b1db-448a-8972-3690eaf542b5"},{"name":"Generate-Gryd-Insights-Token","event":[{"listen":"test","script":{"id":"049c5544-f7d9-4d40-a4ac-90bbee81c1df","exec":["if(pm.response.code < 400){","    rs = pm.response.json()","    pm.environment.set('insights_token', rs[\"token\"])","}",""],"type":"text/javascript","packages":{}}}],"id":"ffe87d8a-a1ee-45de-a41e-9cc6ef55424e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{insights_url}}/insights/token/VGVzdCBDb2xsZWN0aW9u","urlObject":{"path":["insights","token","VGVzdCBDb2xsZWN0aW9u"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"3aca0200-c8ad-40eb-bd8f-aa5ac8122f47","name":"Successfully generated insights token","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{insights_url}}/insights/token/VGVzdCBDb2xsZWN0aW9u"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 11 Jun 2025 12:08:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"683"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"v4.public.eyJhdXRoX3BhcmFtIjp7ImVudGVycHJpc2VfaWQiOiJkZW1vX2VudGVycHJpc2UiLCJyb2xlIjoiYWRtaW4iLCJ1c2VyX2lkIjoiZGluZXNoK2RlbW9AaWFtZGF2ZS5haSJ9LCJjb2xsZWN0aW9uIjp7ImNvbm5lY3Rpb25zIjpbImRHVnpkR3h2WTJGc2FHOXpkRFUyTUROMFpYTjBJR052Ym01bFkzUnBiMjVoWkcxcGJnX18iXSwiY3JlYXRlZF9hdCI6MTc0OTU0NTQ2OS4zMTM1MywibWF4X2Nvbm5lY3Rpb25fdGltZSI6MzAwLCJtYXhfbnVtYmVyX29mX2Nvbm5lY3Rpb25zIjoxMCwibmFtZSI6IlRlc3QgQ29sbGVjdGlvbiIsInByb2plY3RfaWQiOiJWR1Z6ZENCRGIyeHNaV04wYVc5dSIsInByb2plY3Rfc2VjcmV0X2tleSI6ImtleTEiLCJ1cGRhdGVkX2F0IjoxNzQ5NTQ1NDY5LjMxNjI3Nn0sImV4cCI6IjIwMjUtMDYtMTJUMTc6Mzg6NDgrMDU6MzAifRxf9c61bmeO-Gc8wSiezp8UliNVbos71CmXt7_obhrGM4CHBkrzXtnhHadPqTjQFrW4v7JEKlP-aoBuTo32hgA\"\n}"}],"_postman_id":"ffe87d8a-a1ee-45de-a41e-9cc6ef55424e"},{"name":"Validate insights key","id":"8ff620b5-4477-4be6-8910-aed14c7b1e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/insights/validate","urlObject":{"path":["insights","validate"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"982dba16-9120-4deb-bdba-4b9bc3c5f54c","name":"Success Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:19:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validated successfully\"\n}"},{"id":"f45736b9-11b8-4af8-af6b-f8ad946311a4","name":"Success Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text","disabled":true},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text","disabled":true},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text","disabled":true},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text","disabled":true},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:20:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validated successfully\"\n}"},{"id":"d48a1918-ecb8-4f68-8cfe-519fc80fb158","name":"Failure Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text","disabled":true},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text","disabled":true},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text","disabled":true},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text","disabled":true},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"123","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"UNAUTHORIZED","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:21:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid Token\"\n}"}],"_postman_id":"8ff620b5-4477-4be6-8910-aed14c7b1e13"},{"name":"ask_llm","id":"86e7713b-be7f-4c4e-83fe-f4086d7f0c56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/gryd/insights-ask/ask_llm","urlObject":{"path":["gryd","insights-ask","ask_llm"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"3ef04082-3fc2-4cfd-be7a-788739a5bf84","name":"Success Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:19:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validated successfully\"\n}"},{"id":"6651238c-188b-4eea-8c19-7c1e8a8c0a8c","name":"Success Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text","disabled":true},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text","disabled":true},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text","disabled":true},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text","disabled":true},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"{{insights_token}}","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:20:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validated successfully\"\n}"},{"id":"148a62e0-c389-40ec-a4dd-d4eb9ab52ead","name":"Failure Validate insights key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text","disabled":true},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text","disabled":true},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text","disabled":true},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text","disabled":true},{"key":"X-GRYD-INSIGHTS-TOKEN","value":"123","type":"text"}],"url":"{{insights_url}}/insights/validate"},"status":"UNAUTHORIZED","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 01 Jul 2025 10:21:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid Token\"\n}"}],"_postman_id":"86e7713b-be7f-4c4e-83fe-f4086d7f0c56"}],"id":"06870728-f0cc-4694-89ed-ffde47bd2243","_postman_id":"06870728-f0cc-4694-89ed-ffde47bd2243","description":""},{"name":"Gryd-Inisights","item":[{"name":"Get collections","id":"44888c87-e9c2-4751-9b5e-6813a31fa976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/project?service_model=gryd_service","urlObject":{"path":["gryd","db","objects","project"],"host":["{{url}}"],"query":[{"key":"service_model","value":"gryd_service"}],"variable":[]}},"response":[{"id":"c6709015-f136-43a6-97c3-eeb6a2dfdd33","name":"Success response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":{"raw":"{{url}}/gryd/db/objects/project?service_model=gryd_service","host":["{{url}}"],"path":["gryd","db","objects","project"],"query":[{"key":"service_model","value":"gryd_service"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 11 Jun 2025 12:06:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"369"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"page_number\": 1,\n    \"page_size\": 50,\n    \"data\": [\n        {\n            \"name\": \"Test Collection\",\n            \"created_at\": 1749545469.31353,\n            \"project_id\": \"VGVzdCBDb2xsZWN0aW9u\",\n            \"updated_at\": 1749545469.316276,\n            \"connections\": [\n                \"dGVzdGxvY2FsaG9zdDU2MDN0ZXN0IGNvbm5lY3Rpb25hZG1pbg__\"\n            ],\n            \"project_secret_key\": \"key1\",\n            \"max_connection_time\": 300,\n            \"max_number_of_connections\": 10\n        }\n    ],\n    \"total_number\": 1,\n    \"is_first\": true,\n    \"is_last\": true\n}"}],"_postman_id":"44888c87-e9c2-4751-9b5e-6813a31fa976"},{"name":"Get connections","id":"b79f06da-8fd4-49c9-bbef-89b7d2cdb034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":"{{url}}/gryd/db/objects/connection?service_model=gryd_service","urlObject":{"path":["gryd","db","objects","connection"],"host":["{{url}}"],"query":[{"key":"service_model","value":"gryd_service"}],"variable":[]}},"response":[{"id":"3b267226-65ee-48a5-af83-a1ad0cea9dda","name":"Success Get connections","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"url":{"raw":"{{url}}/gryd/db/objects/connection?service_model=gryd_service","host":["{{url}}"],"path":["gryd","db","objects","connection"],"query":[{"key":"service_model","value":"gryd_service"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Wed, 02 Jul 2025 12:51:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"335"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"page_number\": 1,\n    \"page_size\": 50,\n    \"data\": [\n        {\n            \"host\": \"localhost\",\n            \"name\": \"test connection\",\n            \"port\": 5603,\n            \"database\": \"test\",\n            \"password\": \"test\",\n            \"username\": \"admin\",\n            \"created_at\": 1749545464.218525,\n            \"updated_at\": 1749545464.221629,\n            \"connection_id\": \"dGVzdGxvY2FsaG9zdDU2MDN0ZXN0IGNvbm5lY3Rpb25hZG1pbg__\"\n        }\n    ],\n    \"total_number\": 1,\n    \"is_first\": true,\n    \"is_last\": true\n}"}],"_postman_id":"b79f06da-8fd4-49c9-bbef-89b7d2cdb034"},{"name":"Multi action query","id":"2e3e77dc-715b-4d8b-87df-f0a7b3fe7f8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_names/fetch_table_documentation/fetch_table_information","urlObject":{"path":["gryd","insights","fetch_table_names","fetch_table_documentation","fetch_table_information"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"989a0eb3-61ee-4521-890f-2dd96b7fc06f","name":"success Multi action query","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_names/fetch_table_documentation/fetch_table_information"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.1.3 Python/3.11.12"},{"key":"Date","value":"Wed, 02 Jul 2025 12:56:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2116"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    [\n        \"cacher\",\n        \"ice_car_trip_attribute\",\n        \"ice_car_telemetry_attribute\",\n        \"hybrid_charging_sessions\",\n        \"hybrid_braking_attribute\",\n        \"ev_cars_attribute\",\n        \"ev_charging_sessions_attribute\",\n        \"admin\",\n        \"hybrid_charging_sessions_attribute\",\n        \"hybrid_car_telemetry\",\n        \"model\",\n        \"hybrid_cars\",\n        \"hybrid_car_trip\",\n        \"hybrid_car_telemetry_attribute\",\n        \"hybrid_braking\",\n        \"ev_cars\",\n        \"ev_charging_sessions\",\n        \"ev_car_trip\",\n        \"permission\",\n        \"owner\",\n        \"ice_cars\",\n        \"owner_attribute\",\n        \"hybrid_cars_attribute\",\n        \"hybrid_car_trip_attribute\",\n        \"d5store_cache\",\n        \"ice_cars_attribute\",\n        \"ice_car_trip\",\n        \"ice_car_telemetry\",\n        \"ev_car_trip_attribute\",\n        \"ev_car_telemetry\",\n        \"ev_car_telemetry_attribute\",\n        \"ev_braking\",\n        \"ev_braking_attribute\"\n    ],\n    [\n        \"Table Name : owner\",\n        \"Column name is owner_id storing text type data.  its a mandatory field Id column in this table \",\n        \"Column name is dict storing jsonb type data.   \",\n        \"Column name is created storing timestamp with time zone type data.  its a mandatory field  \",\n        \"Column name is updated storing timestamp with time zone type data.  its a mandatory field  \"\n    ],\n    [\n        {\n            \"column_name\": \"owner_id\",\n            \"data_type\": \"text\",\n            \"is_indexed\": true,\n            \"is_nullable\": false,\n            \"is_primary_key\": true,\n            \"is_unique\": false,\n            \"table_name\": \"owner\"\n        },\n        {\n            \"column_name\": \"dict\",\n            \"data_type\": \"jsonb\",\n            \"is_indexed\": false,\n            \"is_nullable\": true,\n            \"is_primary_key\": false,\n            \"is_unique\": false,\n            \"table_name\": \"owner\"\n        },\n        {\n            \"column_name\": \"created\",\n            \"data_type\": \"timestamp with time zone\",\n            \"is_indexed\": false,\n            \"is_nullable\": false,\n            \"is_primary_key\": false,\n            \"is_unique\": false,\n            \"table_name\": \"owner\"\n        },\n        {\n            \"column_name\": \"updated\",\n            \"data_type\": \"timestamp with time zone\",\n            \"is_indexed\": false,\n            \"is_nullable\": false,\n            \"is_primary_key\": false,\n            \"is_unique\": false,\n            \"table_name\": \"owner\"\n        }\n    ]\n]"}],"_postman_id":"2e3e77dc-715b-4d8b-87df-f0a7b3fe7f8c"},{"name":"Fetch tabels for a database","id":"2068335d-d361-4055-8146-ec3abed0b1c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_names","urlObject":{"path":["gryd","insights","fetch_table_names"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"0809906a-eb1c-48f2-b3b6-e2e54642cef1","name":"Success Fetch tabels for a database","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_names"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.1.3 Python/3.11.12"},{"key":"Date","value":"Wed, 02 Jul 2025 12:02:19 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"760"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    \"cacher\",\n    \"ice_car_trip_attribute\",\n    \"ice_car_telemetry_attribute\",\n    \"hybrid_charging_sessions\",\n    \"hybrid_braking_attribute\",\n    \"ev_cars_attribute\",\n    \"ev_charging_sessions_attribute\",\n    \"admin\",\n    \"hybrid_charging_sessions_attribute\",\n    \"hybrid_car_telemetry\",\n    \"model\",\n    \"hybrid_cars\",\n    \"hybrid_car_trip\",\n    \"hybrid_car_telemetry_attribute\",\n    \"hybrid_braking\",\n    \"ev_cars\",\n    \"ev_charging_sessions\",\n    \"ev_car_trip\",\n    \"permission\",\n    \"owner\",\n    \"ice_cars\",\n    \"owner_attribute\",\n    \"hybrid_cars_attribute\",\n    \"hybrid_car_trip_attribute\",\n    \"d5store_cache\",\n    \"ice_cars_attribute\",\n    \"ice_car_trip\",\n    \"ice_car_telemetry\",\n    \"ev_car_trip_attribute\",\n    \"ev_car_telemetry\",\n    \"ev_car_telemetry_attribute\",\n    \"ev_braking\",\n    \"ev_braking_attribute\"\n]"}],"_postman_id":"2068335d-d361-4055-8146-ec3abed0b1c1"},{"name":"Fetch table information for a table","id":"e725a1e2-48bb-4934-9dd2-c0285aff4a13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_information","urlObject":{"path":["gryd","insights","fetch_table_information"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"bb84a3d3-04bd-4d3d-a49c-0ce8271a3ee7","name":"success Fetch table information for a table","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_information"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.1.3 Python/3.11.12"},{"key":"Date","value":"Wed, 02 Jul 2025 12:06:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"815"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"owner_id\",\n        \"data_type\": \"text\",\n        \"is_indexed\": true,\n        \"is_nullable\": false,\n        \"is_primary_key\": true,\n        \"is_unique\": false,\n        \"table_name\": \"owner\"\n    },\n    {\n        \"column_name\": \"dict\",\n        \"data_type\": \"jsonb\",\n        \"is_indexed\": false,\n        \"is_nullable\": true,\n        \"is_primary_key\": false,\n        \"is_unique\": false,\n        \"table_name\": \"owner\"\n    },\n    {\n        \"column_name\": \"created\",\n        \"data_type\": \"timestamp with time zone\",\n        \"is_indexed\": false,\n        \"is_nullable\": false,\n        \"is_primary_key\": false,\n        \"is_unique\": false,\n        \"table_name\": \"owner\"\n    },\n    {\n        \"column_name\": \"updated\",\n        \"data_type\": \"timestamp with time zone\",\n        \"is_indexed\": false,\n        \"is_nullable\": false,\n        \"is_primary_key\": false,\n        \"is_unique\": false,\n        \"table_name\": \"owner\"\n    }\n]"}],"_postman_id":"e725a1e2-48bb-4934-9dd2-c0285aff4a13"},{"name":"Fetch table documentation for a table","id":"f8775e0c-8f7b-4e31-a793-a3b3e8ffef6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_documentation","urlObject":{"path":["gryd","insights","fetch_table_documentation"],"host":["{{insights_url}}"],"query":[],"variable":[]}},"response":[{"id":"99cf99d1-dc7b-4c7d-a3f7-df0220bee31c","name":"Success Fetch table documentation for a table","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-TOKEN","value":"{{token}}","type":"text"},{"key":"X-GRYD-SESSION-ID","value":"{{session_id}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"X-GRYD-ROLE","value":"{{role}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dbtype\": \"postgres\",\n    \"dbpassword\": \"{{db_password}}\",\n    \"dbhost\":\"{{db_host}}\",\n    \"dbport\": \"6543\",\n    \"dbuser\": \"postgres\",\n    \"dbname\": \"auto_insights_demo\",\n    \"table_name\" : \"owner\"\n}","options":{"raw":{"language":"json"}}},"url":"{{insights_url}}/gryd/insights/fetch_table_documentation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.1.3 Python/3.11.12"},{"key":"Date","value":"Wed, 02 Jul 2025 12:07:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"375"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"[\n    \"Table Name : owner\",\n    \"Column name is owner_id storing text type data.  its a mandatory field Id column in this table \",\n    \"Column name is dict storing jsonb type data.   \",\n    \"Column name is created storing timestamp with time zone type data.  its a mandatory field  \",\n    \"Column name is updated storing timestamp with time zone type data.  its a mandatory field  \"\n]"}],"_postman_id":"f8775e0c-8f7b-4e31-a793-a3b3e8ffef6e"}],"id":"293b19c9-a701-4610-89e4-b72db6bc6540","_postman_id":"293b19c9-a701-4610-89e4-b72db6bc6540","description":""}],"id":"38c0a495-a8b1-4b59-aeba-bbaf7b682d1f","_postman_id":"38c0a495-a8b1-4b59-aeba-bbaf7b682d1f","description":""},{"name":"Pivot","item":[],"id":"d30f2f19-3b03-4180-b758-4ff83a520988","_postman_id":"d30f2f19-3b03-4180-b758-4ff83a520988","description":""},{"name":"Login","event":[{"listen":"test","script":{"id":"8696709a-f2df-444d-a2de-f49100fc76db","exec":["if(pm.response.code < 400){","    rs = pm.response.json()","    pm.environment.set('token', rs[\"token\"])","    pm.environment.set('session_id',rs[\"session_id\"])","}",""],"type":"text/javascript","packages":{}}}],"id":"ece7c107-4018-4c7e-906f-afb17111a89f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-SIGNUP-TOKEN","value":"{{signup_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"{{user_id}}\",\n    \"password\": \"{{password}}\",\n    \"role\": \"{{role}}\"\n}"},"url":"{{test_i2ce_url}}/gryd/login","urlObject":{"path":["gryd","login"],"host":["{{test_i2ce_url}}"],"query":[],"variable":[]}},"response":[{"id":"7e79b4e2-28e0-4550-a2c1-306d2f2361c2","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-SIGNUP-TOKEN","value":"{{signup_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"{{user_id}}\",\n    \"password\": \"123\",\n    \"role\": \"admin\"\n}"},"url":"{{url}}/gryd/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 27 May 2025 05:07:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"236"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:5030"},{"key":"Vary","value":"Origin, Cookie"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"role\": \"admin\",\n    \"token\": \"85b91906-aabd-3ce7-854d-3ace85572c6e\",\n    \"expiry\": 1750336325.7467244,\n    \"user_id\": \"dinesh+demo@iamdave.ai\",\n    \"enterprise_id\": \"demo_enterprise\",\n    \"application_id\": \"gryd\",\n    \"session_id\": \"2b2fe19d-1207-31d2-91a4-49a737b5aaa3\"\n}"},{"id":"b10eec7e-2726-47ea-a558-7dadaae19475","name":"Auth error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"X-GRYD-ENTERPRISE-ID","value":"{{enterprise_id}}","type":"text"},{"key":"X-GRYD-SIGNUP-TOKEN","value":"{{signup_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"{{user_id}}\",\n    \"password\": \"1234\",\n    \"role\": \"admin\"\n}"},"url":"{{url}}/gryd/login"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Werkzeug/3.0.6 Python/3.11.12"},{"key":"Date","value":"Tue, 27 May 2025 05:42:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"54"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Origin, Cookie"},{"key":"Access-Control-Allow-Headers","value":"X-GRYD-ENTERPRISE-ID,X-GRYD-SESSION-ID,X-GRYD-SIGNUP-TOKEN,X-GRYD-TOKEN,Content-Type"},{"key":"Access-Control-Allow-Methods","value":"GET,POST,DELETE,UPDATE,PATCH,OPTIONS,HEAD,PUT"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"module 'gryd' has no attribute 'AuthError'\"\n}"}],"_postman_id":"ece7c107-4018-4c7e-906f-afb17111a89f"}],"event":[{"listen":"prerequest","script":{"id":"702568b4-bbf3-4817-acd9-5957a1b0b52d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"73d7737b-b490-4256-ae15-87e0d173592c","type":"text/javascript","exec":[""]}}]}