{"info":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","description":"<html><head></head><body><p>Postman collection for the energy_management app: groups, meters, energy data ingestion, alerts, assets, carbon/cost, analytics, and topology.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3262255","collectionId":"747c9de3-36b7-4069-82bf-13bcba625c2b","publishedId":"2sB3QNoo74","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-15T12:49:10.000Z"},"item":[{"name":"Groups","item":[{"name":"List Groups","id":"9fb3d155-560b-4eee-9ba5-f235bac7f0b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":"","type":"text"}],"url":"http://localhost:8000/api/groups/?search=&ordering=name","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["groups",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"name"}],"variable":[]}},"response":[],"_postman_id":"9fb3d155-560b-4eee-9ba5-f235bac7f0b2"},{"name":"Create Group","id":"9def5cb7-e565-4f07-a49a-8d814fbccc21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Main Site\",\n  \"role\": \"site\",\n  \"description\": \"HQ campus\",\n  \"address\": \"123 Main St\"\n}"},"url":"http://localhost:8000/api/groups/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["groups",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9def5cb7-e565-4f07-a49a-8d814fbccc21"},{"name":"Retrieve Group","id":"c0cb64e3-7608-426d-a0ba-293a1cd5e501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/groups/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["groups","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0cb64e3-7608-426d-a0ba-293a1cd5e501"},{"name":"Update Group","id":"69a26f51-62c0-48e5-ad8f-1aa5513c51c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"description\": \"Updated site notes\"\n}"},"url":"http://localhost:8000/api/groups/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["groups","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"69a26f51-62c0-48e5-ad8f-1aa5513c51c0"},{"name":"Delete Group","id":"da9ab661-1214-427d-bbe2-2fa9bd3dfa83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/groups/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["groups","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da9ab661-1214-427d-bbe2-2fa9bd3dfa83"}],"id":"f374efec-9a5c-469d-898b-88165b3577e9","_postman_id":"f374efec-9a5c-469d-898b-88165b3577e9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Meters","item":[{"name":"List Meters","id":"213dd306-033c-46f6-9ab0-73a97c039c2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meters/?search=&ordering=created_at","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"created_at"}],"variable":[]}},"response":[],"_postman_id":"213dd306-033c-46f6-9ab0-73a97c039c2a"},{"name":"Create Meter","id":"e55fbbad-fca9-4f99-95c5-a665feda8216","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Floor-1 Main Meter\",\n  \"location\": \"Building A\",\n  \"device_type\": \"Smart Meter\",\n  \"firmware_version\": \"v1.0\",\n  \"calibration_factor\": 1.0,\n  \"user_id\": 1,\n  \"groups\": [1]\n}"},"url":"http://localhost:8000/api/meters/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e55fbbad-fca9-4f99-95c5-a665feda8216"},{"name":"Retrieve Meter","id":"e9100b45-6abf-4974-a3dc-6abe8b07fde2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meters/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9100b45-6abf-4974-a3dc-6abe8b07fde2"},{"name":"Update Meter","id":"d3737fd4-089b-4698-a0fd-c4c0983daa1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"firmware_version\": \"v1.1\"\n}"},"url":"http://localhost:8000/api/meters/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3737fd4-089b-4698-a0fd-c4c0983daa1b"},{"name":"Delete Meter","id":"96e3d744-9a28-4fb9-aae5-eb158600d498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meters/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"96e3d744-9a28-4fb9-aae5-eb158600d498"},{"name":"Regenerate API Key (action)","id":"d6f0ab38-af50-4f5a-a8b8-a1e44f808d73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meters/1/regenerate_api_key/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters","1","regenerate_api_key",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6f0ab38-af50-4f5a-a8b8-a1e44f808d73"},{"name":"Schedule Firmware Update (action)","id":"bc78cdd9-54c1-430a-ac8e-5e05b8b2531b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meters/1/schedule_firmware_update/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meters","1","schedule_firmware_update",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc78cdd9-54c1-430a-ac8e-5e05b8b2531b"}],"id":"d43f2f32-2077-4dfe-97f1-b1e18bd6ca5f","_postman_id":"d43f2f32-2077-4dfe-97f1-b1e18bd6ca5f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Energy Data","item":[{"name":"List Energy Data","id":"fa20af8f-44c4-41cb-b12b-334cb40c8ba2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/energy-data/?meter__unique_id=00000000-0000-0000-0000-000000000000&timestamp=2025-01-01T00:00:00Z&search=&ordering=-timestamp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data",""],"host":["http://localhost:8000/api"],"query":[{"key":"meter__unique_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"timestamp","value":"2025-01-01T00:00:00Z"},{"key":"search","value":""},{"key":"ordering","value":"-timestamp"}],"variable":[]}},"response":[],"_postman_id":"fa20af8f-44c4-41cb-b12b-334cb40c8ba2"},{"name":"Retrieve Energy Data","id":"7ac897d9-e933-4841-9d0d-797ca52adf87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/energy-data/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ac897d9-e933-4841-9d0d-797ca52adf87"},{"name":"Update Energy Data","id":"d1c32424-baea-4700-9c07-d9c764fd610d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"temperature\": 25.0\n}"},"url":"http://localhost:8000/api/energy-data/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1c32424-baea-4700-9c07-d9c764fd610d"},{"name":"Delete Energy Data","id":"77b7ae5e-b387-48d3-b302-e12e95209b74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/energy-data/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"77b7ae5e-b387-48d3-b302-e12e95209b74"},{"name":"Create Energy Data (Device Bearer)","id":"42542d00-ea18-4aec-ba73-7a9a7bbdee58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"voltage_a\": 230.1,\n  \"voltage_b\": 231.0,\n  \"voltage_c\": 229.9,\n  \"current_a\": 5.5,\n  \"current_b\": 5.4,\n  \"current_c\": 5.6,\n  \"active_power_a\": 1200.0,\n  \"active_power_b\": 1210.0,\n  \"active_power_c\": 1190.0,\n  \"total_power\": 3600.0,\n  \"total_energy\": 1500.0,\n  \"energy_a\": 500.0,\n  \"energy_b\": 500.0,\n  \"energy_c\": 500.0,\n  \"frequency\": 50.0,\n  \"temperature\": 36.0,\n  \"status_code\": 0,\n  \"flow_direction\": \"in\"\n}"},"url":"http://localhost:8000/api/energy-data/","urlObject":{"path":["energy-data",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"42542d00-ea18-4aec-ba73-7a9a7bbdee58"},{"name":"Analytics Summary","id":"ae3af44b-4cb7-4741-a9d6-e54ea9372841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/energy-data/analytics/?meter_id=00000000-0000-0000-0000-000000000000&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data","analytics",""],"host":["http://localhost:8000/api"],"query":[{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"ae3af44b-4cb7-4741-a9d6-e54ea9372841"},{"name":"Advanced Analytics (rolling/anomalies)","id":"e00b5125-fd58-45c0-810d-c691125bdfec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/energy-data/advanced_analytics/?meter_id=00000000-0000-0000-0000-000000000000&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["energy-data","advanced_analytics",""],"host":["http://localhost:8000/api"],"query":[{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"e00b5125-fd58-45c0-810d-c691125bdfec"}],"id":"222227a3-6a7d-403d-9c8c-685ce48cd799","_postman_id":"222227a3-6a7d-403d-9c8c-685ce48cd799","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Meter Auth","item":[{"name":"List Meter Auths","id":"7e9099c2-eeca-4b99-8679-1d8ca38a0bfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meter-auths/?search=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meter-auths",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"7e9099c2-eeca-4b99-8679-1d8ca38a0bfb"},{"name":"Retrieve Meter Auth","id":"2ac067c0-c3fd-4b86-a44f-f05f34d8cee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/meter-auths/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["meter-auths","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ac067c0-c3fd-4b86-a44f-f05f34d8cee1"}],"id":"91dabb94-232e-425a-888f-84b43395b6d5","_postman_id":"91dabb94-232e-425a-888f-84b43395b6d5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Alerts","item":[{"name":"List Thresholds","id":"1fbf2a4b-8793-4007-ac50-6d3428477808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/alertthreshold/?search=&ordering=created_at","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alertthreshold",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"created_at"}],"variable":[]}},"response":[],"_postman_id":"1fbf2a4b-8793-4007-ac50-6d3428477808"},{"name":"Create Threshold","id":"a3d031ca-25b4-45a9-9ece-f83849303c79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"meter_id\": 1,\n  \"parameter\": \"total_power\",\n  \"threshold\": 5000,\n  \"comparison\": \"gt\",\n  \"alert_message\": \"High load\",\n  \"is_active\": true\n}"},"url":"http://localhost:8000/api/alertthreshold/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alertthreshold",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3d031ca-25b4-45a9-9ece-f83849303c79"},{"name":"Retrieve Threshold","id":"f57ee912-7662-4851-81a9-b1427b2d61ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/alertthreshold/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alertthreshold","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f57ee912-7662-4851-81a9-b1427b2d61ef"},{"name":"Update Threshold","id":"ce2348b4-c107-4b45-9964-db114c4df383","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"is_active\": false\n}"},"url":"http://localhost:8000/api/alertthreshold/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alertthreshold","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce2348b4-c107-4b45-9964-db114c4df383"},{"name":"Delete Threshold","id":"c012a5e5-9c69-467d-be89-9a5357d867b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/alertthreshold/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alertthreshold","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c012a5e5-9c69-467d-be89-9a5357d867b2"},{"name":"List Alert History","id":"f11524ff-f782-4420-b4a7-d7b1301c7fe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/alert-history/?search=&ordering=-triggered_at","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alert-history",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"-triggered_at"}],"variable":[]}},"response":[],"_postman_id":"f11524ff-f782-4420-b4a7-d7b1301c7fe4"},{"name":"Retrieve Alert Event","id":"dbc27a83-5d89-4f22-b575-95ad38c00c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/alert-history/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alert-history","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbc27a83-5d89-4f22-b575-95ad38c00c7e"},{"name":"Resolve Alert Event","id":"00bc3130-d8a8-410a-b06c-89dd5fc5ea43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"resolved\": true\n}"},"url":"http://localhost:8000/api/alert-history/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["alert-history","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"00bc3130-d8a8-410a-b06c-89dd5fc5ea43"}],"id":"ca15ac14-2dfd-4f2b-a8dd-e67d12e683ce","_postman_id":"ca15ac14-2dfd-4f2b-a8dd-e67d12e683ce","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Assets","item":[{"name":"List Assets","id":"f66e6d40-b1f0-4870-bd0d-be4f08553dd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/asset/?search=&ordering=created_at","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"created_at"}],"variable":[]}},"response":[],"_postman_id":"f66e6d40-b1f0-4870-bd0d-be4f08553dd4"},{"name":"Create Asset","id":"8a2a1c55-70ac-4b77-b264-ba5d4f641e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Battery A\",\n  \"asset_type\": \"battery\",\n  \"status\": \"active\",\n  \"group_id\": 1\n}"},"url":"http://localhost:8000/api/asset/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a2a1c55-70ac-4b77-b264-ba5d4f641e34"},{"name":"Retrieve Asset","id":"c62ea6d9-06a9-4974-a897-22d2451107b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/asset/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c62ea6d9-06a9-4974-a897-22d2451107b7"},{"name":"Update Asset","id":"594a8f76-9d9e-4177-b3ba-f2adf8745112","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"status\": \"maintenance\"\n}"},"url":"http://localhost:8000/api/asset/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"594a8f76-9d9e-4177-b3ba-f2adf8745112"},{"name":"Delete Asset","id":"25ab587f-6da0-4c3e-a18c-bae102b45805","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/asset/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"25ab587f-6da0-4c3e-a18c-bae102b45805"},{"name":"Schedule Maintenance (action)","id":"da31c815-f657-4005-a8a3-d1d3704d7736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/asset/1/schedule_maintenance/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["asset","1","schedule_maintenance",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da31c815-f657-4005-a8a3-d1d3704d7736"}],"id":"98df15e8-b86a-424b-9307-fcfdbcff2fb2","_postman_id":"98df15e8-b86a-424b-9307-fcfdbcff2fb2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Carbon & Cost","item":[{"name":"List Carbon Records","id":"f94a4b57-db77-4c67-9487-1092b0af6b0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/carbonrecord/?search=&ordering=timestamp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["carbonrecord",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"timestamp"}],"variable":[]}},"response":[],"_postman_id":"f94a4b57-db77-4c67-9487-1092b0af6b0c"},{"name":"Create Carbon Record","id":"96703d85-98d8-47fa-947b-60cc00431547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"group_id\": 1,\n  \"meter_id\": 1,\n  \"carbon_emission\": 12.5,\n  \"notes\": \"Weekly scope2\"\n}"},"url":"http://localhost:8000/api/carbonrecord/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["carbonrecord",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"96703d85-98d8-47fa-947b-60cc00431547"},{"name":"Retrieve Carbon Record","id":"c147246d-218f-4e3b-86fd-1affdeac8da1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/carbonrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["carbonrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c147246d-218f-4e3b-86fd-1affdeac8da1"},{"name":"Update Carbon Record","id":"4d023bb5-e738-4469-ae5a-884e907c2aa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"notes\": \"Adjusted\"\n}"},"url":"http://localhost:8000/api/carbonrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["carbonrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d023bb5-e738-4469-ae5a-884e907c2aa5"},{"name":"Delete Carbon Record","id":"80e3c70e-ed86-4f2f-bfa1-fcb405d5b855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/carbonrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["carbonrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"80e3c70e-ed86-4f2f-bfa1-fcb405d5b855"},{"name":"List Cost Records","id":"d0b804e7-f1a4-4925-837d-de68c023b9dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/costrecord/?search=&ordering=timestamp","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["costrecord",""],"host":["http://localhost:8000/api"],"query":[{"key":"search","value":""},{"key":"ordering","value":"timestamp"}],"variable":[]}},"response":[],"_postman_id":"d0b804e7-f1a4-4925-837d-de68c023b9dc"},{"name":"Create Cost Record","id":"2bba0b92-0601-497b-ab1d-e8fcd4067714","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"meter_id\": 1,\n  \"cost\": 123.45,\n  \"notes\": \"Monthly cost\"\n}"},"url":"http://localhost:8000/api/costrecord/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["costrecord",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bba0b92-0601-497b-ab1d-e8fcd4067714"},{"name":"Retrieve Cost Record","id":"18171a88-882d-4efb-b304-4f4faa5f4560","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/costrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["costrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"18171a88-882d-4efb-b304-4f4faa5f4560"},{"name":"Update Cost Record","id":"1f08452f-31df-42bc-8fcb-fb91130edf63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"notes\": \"Adjusted\"\n}"},"url":"http://localhost:8000/api/costrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["costrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f08452f-31df-42bc-8fcb-fb91130edf63"},{"name":"Delete Cost Record","id":"874e77be-3730-4e83-b7ea-5878ee18a07a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/costrecord/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["costrecord","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"874e77be-3730-4e83-b7ea-5878ee18a07a"}],"id":"0fe2a9d6-ec65-49d2-b113-2c797b2b2962","_postman_id":"0fe2a9d6-ec65-49d2-b113-2c797b2b2962","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Analytics","item":[{"name":"Live Trail","id":"6dd3c1ca-5e92-49f4-b5d1-9d2294d499f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/live_trail/?model=energy&meter_id=00000000-0000-0000-0000-000000000000&limit=50","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","live_trail",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"6dd3c1ca-5e92-49f4-b5d1-9d2294d499f2"},{"name":"Live Trail (by group)","id":"b7eef297-0b53-40be-87fa-68eb7b563120","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/live_trail/?model=energy&group_id=1&limit=50","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","live_trail",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"group_id","value":"1"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"b7eef297-0b53-40be-87fa-68eb7b563120"},{"name":"Live Trail (cost)","id":"36ee0f15-f5bf-4669-b7df-e02589f5db19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/live_trail/?model=cost&meter_id=00000000-0000-0000-0000-000000000000&limit=50","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","live_trail",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"cost"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"36ee0f15-f5bf-4669-b7df-e02589f5db19"},{"name":"Live Trail (carbon)","id":"146d3bf6-3b54-4694-89f2-b5573857effb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/live_trail/?model=carbon&meter_id=00000000-0000-0000-0000-000000000000&limit=50","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","live_trail",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"carbon"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"146d3bf6-3b54-4694-89f2-b5573857effb"},{"name":"KPI","id":"f1d9ca37-35c7-4c3d-8632-aecba988f763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/kpi/?model=energy&group_id=1&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","kpi",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"group_id","value":"1"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"f1d9ca37-35c7-4c3d-8632-aecba988f763"},{"name":"KPI (by meter)","id":"10646a78-9956-4383-962b-33101f60ccfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/kpi/?model=energy&meter_id=00000000-0000-0000-0000-000000000000&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","kpi",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"10646a78-9956-4383-962b-33101f60ccfd"},{"name":"KPI (cost)","id":"8372a298-986d-4771-8b45-93ee93b71415","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/kpi/?model=cost&meter_id=00000000-0000-0000-0000-000000000000&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","kpi",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"cost"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"8372a298-986d-4771-8b45-93ee93b71415"},{"name":"KPI (carbon)","id":"e91d3534-dc07-48e0-96fd-5536eca94f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/kpi/?model=carbon&meter_id=00000000-0000-0000-0000-000000000000&start_date=2025-01-01T00:00:00Z&end_date=2025-12-31T23:59:59Z","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","kpi",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"carbon"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"start_date","value":"2025-01-01T00:00:00Z"},{"key":"end_date","value":"2025-12-31T23:59:59Z"}],"variable":[]}},"response":[],"_postman_id":"e91d3534-dc07-48e0-96fd-5536eca94f0d"},{"name":"Matrix (Pivot)","id":"d4b9bba9-befd-4890-a27b-030f97468426","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/matrix/?model=energy&group_id=1&time_interval=daily&metric=total_energy&aggregation=sum","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","matrix",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"group_id","value":"1"},{"key":"time_interval","value":"daily"},{"key":"metric","value":"total_energy"},{"key":"aggregation","value":"sum"}],"variable":[]}},"response":[],"_postman_id":"d4b9bba9-befd-4890-a27b-030f97468426"},{"name":"Matrix (cost weekly sum)","id":"3fa04df5-1ef5-43b1-a1df-79985d46401d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/matrix/?model=cost&group_id=1&time_interval=weekly&metric=cost&aggregation=sum","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","matrix",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"cost"},{"key":"group_id","value":"1"},{"key":"time_interval","value":"weekly"},{"key":"metric","value":"cost"},{"key":"aggregation","value":"sum"}],"variable":[]}},"response":[],"_postman_id":"3fa04df5-1ef5-43b1-a1df-79985d46401d"},{"name":"Matrix (carbon monthly avg)","id":"d85dc8de-0db1-4000-857f-15ba978493aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/matrix/?model=carbon&group_id=1&time_interval=monthly&metric=carbon_emission&aggregation=avg","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","matrix",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"carbon"},{"key":"group_id","value":"1"},{"key":"time_interval","value":"monthly"},{"key":"metric","value":"carbon_emission"},{"key":"aggregation","value":"avg"}],"variable":[]}},"response":[],"_postman_id":"d85dc8de-0db1-4000-857f-15ba978493aa"},{"name":"Export (stub)","id":"fbffc115-a544-4228-9ff8-a1a8b4af0821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/analytics/export/?model=energy&meter_id=00000000-0000-0000-0000-000000000000&format=csv","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["analytics","export",""],"host":["http://localhost:8000/api"],"query":[{"key":"model","value":"energy"},{"key":"meter_id","value":"00000000-0000-0000-0000-000000000000"},{"key":"format","value":"csv"}],"variable":[]}},"response":[],"_postman_id":"fbffc115-a544-4228-9ff8-a1a8b4af0821"}],"id":"caa3c10c-13de-4e4a-a39f-1520aa980818","_postman_id":"caa3c10c-13de-4e4a-a39f-1520aa980818","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Topology","item":[{"name":"List Nodes","id":"20841cd6-91f3-4a5a-994f-11dd3fb78f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/nodes/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","nodes",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"20841cd6-91f3-4a5a-994f-11dd3fb78f3e"},{"name":"Create Node","id":"5847e538-4963-4d2d-b007-a4eb93f93a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"name\": \"INV1\",\n  \"x\": 1.0,\n  \"y\": 2.0,\n  \"role\": \"inverter\"\n}"},"url":"http://localhost:8000/api/topology/nodes/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","nodes",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5847e538-4963-4d2d-b007-a4eb93f93a84"},{"name":"Retrieve Node","id":"8388aa9e-133b-4a26-9673-aea1f56625ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/nodes/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","nodes","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8388aa9e-133b-4a26-9673-aea1f56625ed"},{"name":"Update Node","id":"8f6dd046-db45-4478-add9-7eb61cdad6ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"name\": \"INV1-Updated\"\n}"},"url":"http://localhost:8000/api/topology/nodes/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","nodes","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f6dd046-db45-4478-add9-7eb61cdad6ff"},{"name":"Delete Node","id":"cc4a4ec3-fa24-49cd-b17e-ad4980a5583e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/nodes/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","nodes","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc4a4ec3-fa24-49cd-b17e-ad4980a5583e"},{"name":"List Edges","id":"8a057d89-517f-48c8-9aef-f8a3b3567c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/edges/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","edges",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a057d89-517f-48c8-9aef-f8a3b3567c98"},{"name":"Create Edge","id":"65ccd25a-34e7-48ac-bab2-35599130b01d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"from_node\": 1,\n  \"to_node\": 1,\n  \"medium\": \"dc\"\n}"},"url":"http://localhost:8000/api/topology/edges/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","edges",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"65ccd25a-34e7-48ac-bab2-35599130b01d"},{"name":"Retrieve Edge","id":"d864e0bb-f492-4761-9740-b6884853705a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/edges/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","edges","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d864e0bb-f492-4761-9740-b6884853705a"},{"name":"Update Edge","id":"277bf6df-e666-4881-af11-e7c29273585f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"X-API-KEY","value":""}],"body":{"mode":"raw","raw":"{\n  \"power_kw\": 10.0\n}"},"url":"http://localhost:8000/api/topology/edges/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","edges","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"277bf6df-e666-4881-af11-e7c29273585f"},{"name":"Delete Edge","id":"8a03f9b2-7cc8-499e-ad38-6587303cfe69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-API-KEY","value":""}],"url":"http://localhost:8000/api/topology/edges/1/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}},"urlObject":{"path":["topology","edges","1",""],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a03f9b2-7cc8-499e-ad38-6587303cfe69"}],"id":"28b0ce4f-e052-4e5d-a34d-456cb19550df","_postman_id":"28b0ce4f-e052-4e5d-a34d-456cb19550df","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}},{"name":"Authentication","item":[{"name":"Login","id":"2cb1b29b-0e14-4506-950d-b6c8ee9494ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"+919959070324\",\n  \"password\": \"Joulepoint@1\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/users/login_with_password/","urlObject":{"path":["api","users","login_with_password",""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"2cb1b29b-0e14-4506-950d-b6c8ee9494ca"}],"id":"a0621ef7-47a2-4ad0-93d2-41d20ff030c1","_postman_id":"a0621ef7-47a2-4ad0-93d2-41d20ff030c1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"747c9de3-36b7-4069-82bf-13bcba625c2b","id":"747c9de3-36b7-4069-82bf-13bcba625c2b","name":"Energy Management API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"abbaa351-c796-43c8-a264-e6ea6061ddb0"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"675feaf5-36e9-4b6e-86d0-45f84f83e4e5"}}],"variable":[{"key":"baseUrl","value":"http://localhost:8000/api"},{"key":"jwt","value":""},{"key":"apiKey","value":""},{"key":"meter_api_key","value":""},{"key":"group_id","value":"1"},{"key":"user_id","value":"1"},{"key":"meter_db_id","value":"1"},{"key":"energy_id","value":"1"},{"key":"asset_id","value":"1"},{"key":"threshold_id","value":"1"},{"key":"meter_uuid","value":"00000000-0000-0000-0000-000000000000"},{"key":"from_node_id","value":"1"},{"key":"to_node_id","value":"1"},{"key":"start","value":"2025-01-01T00:00:00Z"},{"key":"end","value":"2025-12-31T23:59:59Z"},{"key":"search","value":""},{"key":"timestamp_exact","value":"2025-01-01T00:00:00Z"},{"key":"group_order","value":"name"},{"key":"threshold_order","value":"created_at"},{"key":"asset_order","value":"created_at"},{"key":"carbon_order","value":"timestamp"},{"key":"cost_order","value":"timestamp"},{"key":"meter_auth_id","value":"1"},{"key":"alert_history_id","value":"1"},{"key":"carbon_id","value":"1"},{"key":"cost_id","value":"1"},{"key":"node_id","value":"1"},{"key":"edge_id","value":"1"},{"key":"base_Url","value":""}]}