Skip to content

Developer API

A REST API to submit bills, read the 42 extracted fields, and pull the loss diagnosis. Authenticate with a bearer token; all responses are JSON.

Authentication
Send your API key as a bearer token.
curl https://api.deftenergy.example/v1/buildings \
  -H "Authorization: Bearer $DEFT_API_KEY"
Endpoints
POST
/v1/bills
GET
/v1/bills/{id}
GET
/v1/buildings
GET
/v1/diagnosis/{billId}
POST
/v1/webhooks

Demo reference — the live API and full OpenAPI spec ship with the backend at Stage F.