AI-tility API Reference

Welcome to the AI-tility API documentation. Our API allows you to programmatic access to utility services, customer data, and smart meter usage statistics.

🔐

Authentication

Session-based (Cookies). Log in to the dashboard to authenticate.

📡

Base URL

http://aitility.devrev.community/api

Services & Operations

No Auth Required
GET /api/services
GET /api/services/{service_id}
POST /api/orders
POST /api/support
⚠️

You are not logged in. Private endpoints below will return 401 Unauthorized. Log in here to test them.

User & Account

Auth Required
GET /api/user/me
GET /api/user/plug-identity

Contracts & Usage

Auth Required
GET /api/user/contracts
POST /api/user/contracts
DELETE /api/user/contracts/{contract_id}
PUT /api/user/contracts/{contract_id}
GET /api/user/usage/{utility_type}
GET /api/user/meter-readings
POST /api/user/meter-readings

Billing

Auth Required
GET /api/invoices
GET /api/invoices/{invoice_id}
PUT /api/invoices/{invoice_id}/status

Remote Control

Auth Required
POST /api/control/open_invoice_modal
POST /api/control/open_contract_modal