One API from connected assets to settled outcomes.
AmpVerve is infrastructure for visibility, intelligence, trading, settlement and verification of distributed energy. This API is its programmatic surface: Grid Eyes for live visibility of sites and assets, Score for asset quality and readiness, Intel for market and operational signals, Carbon for auditable carbon attribution, Trade for dispatch, and Settle for settlement, attribution and verification. Exchange, the flexibility marketplace layer, is not available yet. Every operation is labelled with its production status, so you build against what is deployed.
Built for EMS and solar platforms, fleet and depot operators and home energy apps.
https://app.ampverve.comFlexibility market actions are partner-gated: the route is deployed, and a successful market action also needs credentials, commercial access and qualification for that market. Markets, tariffs and prices are Great Britain only today, while device and telemetry connectivity is global: see Market and region coverage.
The integration journey
The guides and the API reference follow the same five steps.
Connect
Onboard sites, register assets and devices, and push telemetry.
Step 2Monitor
Read telemetry, device health, site energy and ranked alerts.
Step 3Optimise
Tariffs, the GB charge stack, schedules and control.
Step 4Flex and markets
DNO flexibility tenders, contracts, offers and VPP enrolment.
Step 5Settle and report
Energy ledger, PPA statements, carbon and data export.
Start here
Quickstart
Make your first authenticated call in curl, Python or JavaScript.
API Reference
Every operation, parameter, response and webhook, generated from the OpenAPI specification.
Status labels are part of the contract
Every operation carries a label, recorded in the specification as x-ampverve-status. Treat it as binding.
| Label | What it means | Should you build on it |
|---|---|---|
| Live | Deployed and healthy in production, routed to its service, backed by database tables that exist in production, authenticated with the organisation taken from the verified credential (or public on purpose), and exercised by an automated test. | Yes. |
| Available after scheduled maintenance | Deployed, routed, authenticated and tested, but a database change it depends on is scheduled and not yet applied in production (awaiting-migration). Until then it can answer with an error. | Build and test against it; do not put it on a production path until it is Live. |
| Available on request | The route is deployed, but success also needs tenant credentials, commercial access, qualification and runtime activation for that market (partner-gated). | Once the gates for your market are agreed with AmpVerve. |
| Demo environment | Listed under Demo environment. Acts only on simulated devices in demo organisations (demo-*); a production organisation is refused (403) or the call records nothing (demo-realm). | To evaluate the control path in a demo organisation. Not for physical assets. |
Figures that are not a direct reading carry a data basis, recorded as x-ampverve-data-basis, with a one sentence method:
| Data basis | What it means |
|---|---|
| Calculated | Derived from your own data and the inputs the operation states. Not a measurement. |
| Forecast | Future values from a forecast model. Never a measurement. |
| Simulated | Generated by the sandbox or the demo environment device model. Not from hardware. |
Measured, stored and configured figures carry no badge. Do not use a calculated or forecast figure for settlement or a financial claim unless the operation says so.
Market and region coverage
Where this API works today, stated by market and by region. Energy markets, tariffs and prices are Great Britain only. Getting device and telemetry data in is not tied to a country. Connecting a device somewhere does not open any market there.
| Coverage | What it includes |
|---|---|
| Great Britain | Live: tariffs and prices, grid carbon, DNO lookup, the GB charge stack, VPP enrolment and settlement records. Available on request (partner-gated): DNO flexibility tenders, contracts and offers. |
| Global today | Telemetry ingestion, the Home Assistant connector, connected vehicle reads, OCPP chargers and fleet telematics. |
| Through partners | The United States through AmpVerve's partnership with Leap. In development, with no operation in this API. |
| Not available yet | Every other energy market, and tariffs, prices and pricing outside GB. |
Great Britain
The market, tariff and price operations are built for GB: amounts are in GBP, periods are half hours, and local days are Europe/London days, clock change days included. Each operation's own label still applies, and the table gives the label of each area.
| Area | What the API offers | Label |
|---|---|---|
| Retail tariff prices | Octopus Agile half hourly import prices for the 14 GSP regions, A to P: GET /api/trading/prices/octopus-agile, the region list and the current price. | Live |
| Grid carbon intensity | National GB carbon intensity for the current half hour and the forecast, from National Grid ESO (now NESO). | Live |
| DNO lookup | A UK postcode resolved to its distribution network operator, the flexibility platform that DNO uses and whether the area is flex eligible. | Live |
| Charges and tariffs | The GB charge library (DUoS, TNUoS, BSUoS, CCL, capacity bands), the charge stack for an MPAN, versioned retail tariffs, bills and comparisons. | Live |
| Carbon reporting | Scope 2 on both methods, using NESO regional half hourly intensity for the location based figure. | Live |
| DNO flexibility | UK Power Networks LocalFlex and SSEN ElectronConnect tenders, awarded contracts and offers. The routes are deployed; an offer succeeds only once your organisation has the DNO platform credentials, commercial access and qualification for that market (partner-gated). See Offer flexibility. | Available on request |
| VPP enrolment | Enrol a site in AmpVerve's own VPP. Enrolment creates no record at any DNO, at NESO or at Elexon and places no market bid. | Live |
| Settlement records | Signed settlement receipts for DNO (DSO), NESO Demand Flexibility Service (DFS) and Balancing Mechanism (BM) events the platform recorded, and reconciliation against statements. Records only: the API does not move money. | Live |
| Public charging rules | The Public Charge Point Regulations 2023 as data, and a per site check against them. | Live |
A deployed GB route is not a market qualification. The GB market guide lists the gates that still apply per programme, asset and organisation.
Global today
These operations take data from devices and systems wherever they are. Timestamps are UTC with an explicit offset, units are canonical, and nothing in them assumes GB.
| Area | What the API offers | Label |
|---|---|---|
| Telemetry ingestion | Any JSON record from any vendor, mapped onto the canonical schema with the rest kept verbatim: POST /api/telemetry/ingest. See Getting data in. | Live |
| Home Assistant | The AmpVerve Home Assistant connector runs in the home. It reads the home's devices through Home Assistant and writes normalised readings, and a discovery report, to AmpVerve with an organisation API key that holds telemetry:write. It never sends a command to the home: no operation returns or queues one. | Live |
| Connected vehicles | Live telemetry from connected vehicles through the Smartcar, Enode and Tesla adapters. Which makes and models connect in a country is set by those providers. | Live |
| OCPP chargers | AmpVerve's charger stack accepts OCPP 1.6, 2.0.1 and 2.1. The Hub operations read sessions, itemised costs and reliability from it. | Live |
| Fleet telematics | The latest position and ignition per vehicle from the organisation's vendor telematics feed, as measured. | Live |
- Accounts are connected in the app. Connecting a vehicle or Home Assistant account, with its consent, happens in the AmpVerve app, and chargers are onboarded with AmpVerve. Those connection flows are not part of this API yet.
- Region fields. SLA policies and reports take any IANA timezone, and settlement receipts carry a
currency. Most other money fields are GBP by name (_gbp), the Hub tariff policy'scurrencydefaults to GBP, and its compliance checks are GB regulations.
Through partners
| Market | Route | Label |
|---|---|---|
| United States | AmpVerve's route into US flexibility programmes is a partnership with Leap. Leap's coverage is not AmpVerve's: each programme, utility territory, meter and asset must pass enrolment, dispatch, settlement and payout gates first. No US market operation is in this API. | In development |
See the United States market guide for the route and the gates a programme passes before it is offered.
Not available yet
- Energy markets outside GB. No market, flexibility, price or settlement operation exists for Europe, Ireland, Australia, New Zealand, Canada or any other market. The US is reachable only through the partner route above; no ISO or RTO, such as CAISO or ERCOT, is reached directly.
- Tariffs and prices outside GB. Tariff, price, charge stack and carbon intensity data are GB only.
- Capability discovery. Country, asset and market capability is agreed per organisation with AmpVerve; there is no discovery operation in the API. See Global capability discovery.
The country index and the market guides record the evidence for each market. A market moves into this page only when its operations are deployed and labelled in the specification.
Quickstart
From nothing to an authenticated read of your own organisation's data.
-
Confirm the platform is up
No credential needed. This is also the endpoint to poll in production to detect degradation. The status page shows every public API component.
curl https://app.ampverve.com/api/telemetry/readyz{ "status": "ready", "checks": { "kafka": true, "redis": true, "database": true } } -
Get a credential
An organisation administrator creates an API key in the console under Settings, API access (app.ampverve.com/settings/api-access). For this quickstart give it the
devices:readscope, which step 4 needs; step 3 needs no scope. Addalerts:readandtelemetry:readif your integration will also read alerts and telemetry. The key is shown once: store it in your secret manager and make it available to your code as the environment variableAMPVERVE_API_KEY.API keys call the Partner API operations under
/api/devtools/partner/v1, and, with thetelemetry:writescope, the Home Assistant connector operations. Every other authenticated operation takes an access token. See Authentication for both.The samples need curl, Python 3.8 or later (standard library only), or Node.js 18 or later. Save a JavaScript sample as a
.mjsfile, for exampleme.mjs, and run it withnode me.mjs: top levelawaitneeds an ES module. -
Check the key
GET /api/devtools/partner/v1/meneeds no scope and tells you which organisation and key the request resolved to.curl https://app.ampverve.com/api/devtools/partner/v1/me \ -H "Authorization: Bearer $AMPVERVE_API_KEY"import json import os import urllib.request req = urllib.request.Request( "https://app.ampverve.com/api/devtools/partner/v1/me", headers={"Authorization": f"Bearer {os.environ['AMPVERVE_API_KEY']}"}, ) with urllib.request.urlopen(req, timeout=30) as resp: print(json.dumps(json.load(resp), indent=2))const resp = await fetch("https://app.ampverve.com/api/devtools/partner/v1/me", { headers: { Authorization: `Bearer ${process.env.AMPVERVE_API_KEY}` }, }); if (!resp.ok) throw new Error(`HTTP ${resp.status}`); console.log(await resp.json());// example values { "organisation_id": "org-example-0001", "environment": "live", "key": { "id": "9b1e4c7a2f3d4e5f8a6b0c1d2e3f4a5b", "prefix": "avk_3f9a1c2b7d4e", "name": "Partner production", "scopes": ["devices:read"], "expires_at": "2027-01-13T10:00:00Z", "expires_in_days": 90, "expiring_soon": false, "expiry_warning_days": 14 } } -
Read your data
With the
devices:readscope from step 2, list the devices registered to your organisation. A key without the scope gets403 insufficient_scope.curl "https://app.ampverve.com/api/devtools/partner/v1/devices?limit=10" \ -H "Authorization: Bearer $AMPVERVE_API_KEY"import json import os import urllib.request req = urllib.request.Request( "https://app.ampverve.com/api/devtools/partner/v1/devices?limit=10", headers={"Authorization": f"Bearer {os.environ['AMPVERVE_API_KEY']}"}, ) with urllib.request.urlopen(req, timeout=30) as resp: page = json.load(resp) for device in page["devices"]: print(device["id"], device["device_type"])const resp = await fetch("https://app.ampverve.com/api/devtools/partner/v1/devices?limit=10", { headers: { Authorization: `Bearer ${process.env.AMPVERVE_API_KEY}` }, }); if (!resp.ok) throw new Error(`HTTP ${resp.status}`); const { devices } = await resp.json(); for (const device of devices) console.log(device.id, device.device_type);Prefer Postman? Import the AmpVerve Postman collection, set its
apiKeyvariable to your key, and run Developer tools, Partner API requests as they are. It is generated from the same specification, so it lists only what a key can call today.Next: subscribe to webhooks instead of polling, or follow the integration journey. To write telemetry, use an access token and read Getting data in first.
Authentication
Two credentials, both sent as Authorization: Bearer .... Which one an operation takes is shown on every operation in the reference.
| Credential | Looks like | Accepted by | Status |
|---|---|---|---|
| API key | avk_3f9a1c2b7d4e_... | The Partner API operations under /api/devtools/partner/v1, and the Home Assistant connector operations under /api/telemetry/connectors/home-assistant/v1 (scope telemetry:write). Nothing else. | Live |
| Access token | A JWT, eyJhbGciOi... | Every other authenticated operation | Live |
| None | Public operations such as readiness and carbon intensity | Live |
A JWT sent to a Partner API operation is refused with 401, and an API key sent to any operation other than those two families is refused with 401. The organisation always comes from the credential. No header, parameter or body field can name a different one.
API keys Live
Key format
avk_<12 lowercase hex>_<43 base64url characters>. The first two parts, for example avk_3f9a1c2b7d4e, are the public prefix shown in lists and logs. The last part is the secret. AmpVerve stores only the prefix and an HMAC-SHA256 of the key under a server secret, so nobody, AmpVerve included, can show a key again after it is created.
Create a key
Organisation administrators (ORG_ADMIN) only. In the console open Settings, API access, choose a name, scopes and expiry, and copy the key from the one-time reveal. Or call POST /api/devtools/apikeys with an administrator's access token:
curl -X POST https://app.ampverve.com/api/devtools/apikeys \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Partner production","scopes":["alerts:read","devices:read"],"expires_in_days":90}'{
"api_key": {
"id": "9b1e...",
"name": "Partner production",
"prefix": "avk_3f9a1c2b7d4e",
"scopes": ["alerts:read", "devices:read"],
"status": "active",
"rate_limit_per_minute": 600,
"expires_at": "2027-01-03T10:00:00Z"
},
"key": "avk_3f9a1c2b7d4e_Zr0...43 characters",
"warning": "..."
}Scopes
Every key needs at least one scope. There are four. The three :read scopes only read your organisation's data. telemetry:write is the only write scope: it writes readings into your own organisation and controls no device.
| Scope | Grants | Reads or writes |
|---|---|---|
alerts:read | GET /api/devtools/partner/v1/alerts: identifiers, type, severity, title and times of your organisation's alerts | Reads |
devices:read | GET /api/devtools/partner/v1/devices: devices registered to your organisation | Reads |
telemetry:read | GET /api/devtools/partner/v1/telemetry/latest: recent stored telemetry readings | Reads |
telemetry:write | The Home Assistant connector operations under /api/telemetry/connectors/home-assistant/v1: read the confirmed mapping of a site, and write a discovery report and readings for your own organisation's sites. Not issued to sandbox keys. | Writes telemetry |
| none needed | GET /api/devtools/partner/v1/me: the organisation and key the request resolved to; GET /api/devtools/partner/v1/sandbox/scenario: the sandbox simulation | Reads |
| none needed, sandbox keys only | POST /api/devtools/partner/v1/sandbox/webhooks/test: queues a signed sample event to your sandbox endpoints. It writes a test event and one delivery record per endpoint in your sandbox organisation, and nothing else. A live key gets 403 sandbox_only. | Writes test webhook deliveries |
Expiry, limits, rotation and revocation
- Expiry is required: 1 to 365 days, default 90. An expired key gets
401 API key expired. - At most 25 active keys per organisation, and each key is limited to 600 requests a minute.
- Rotate with
POST /api/devtools/apikeys/{key_id}/rotate. The new key keeps the name, scopes and rate limit and is shown once. The old key stops working immediately, or aftergrace_period_hours(at most 72) so you can deploy the new one first. - Revoke with
POST /api/devtools/apikeys/{key_id}/revoke, or in Settings, API access. Requests with the key are refused with401from that moment.
What a refusal looks like
// error.code is one of api_key_missing, api_key_invalid, api_key_revoked,
// api_key_expired or api_key_required (a credential that is not an API key)
{
"detail": "API key expired",
"error": { "code": "api_key_expired", "message": "API key expired", "request_id": "req_4be1..." }
}// the key is valid but lacks the scope this operation needs
{
"detail": { "error": "insufficient_scope", "required_scope": "devices:read" },
"error": { "code": "insufficient_scope", "message": "This API key does not hold the scope devices:read", "request_id": "req_4be1..." }
}// with Retry-After and RateLimit-* headers, in seconds
{
"detail": "Rate limit exceeded for this API key",
"error": { "code": "rate_limited", "message": "Rate limit exceeded for this API key", "request_id": "req_4be1..." }
}If key authentication is not configured on the service, every key is refused with 503. The control fails closed; it never falls back to another credential.
Access tokens
Every authenticated operation outside the Partner API takes an access token. Use a dedicated integration user in your organisation; never share a person's interactive login with a service.
| Property | Value |
|---|---|
| Header | Authorization: Bearer <access_token> |
| Format | JWT, HS256, carrying sub, tenant_id, org_id, roles, iat and exp |
| Access token lifetime | 60 minutes |
| Refresh token lifetime | 7 days, single use, rotated on every refresh |
| Issue | POST /api/auth/login |
| Refresh | POST /api/auth/token/refresh |
| Revoke | POST /api/auth/logout, immediate |
| Limits | 5 requests a minute per source IP across the authentication endpoints. Five failed logins lock the account for 15 minutes (423). |
curl -X POST https://app.ampverve.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"integration@partner.example","password":"<your password>"}'{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer"
}# the refresh token you send is revoked; store the new pair
curl -X POST https://app.ampverve.com/api/auth/token/refresh \
-H "Content-Type: application/json" \
-d '{"refresh_token":"<refresh_token>"}'curl -X POST https://app.ampverve.com/api/auth/logout \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"refresh_token":"<refresh_token>"}'Example values: integration@partner.example stands for your integration user's email address.
Cache the access token and refresh it at about 80 percent of its lifetime. Treat a 401 as a signal to refresh once and retry once; a retry loop runs into the authentication limit.
Roles, not scopes
Access tokens carry roles: ORG_ADMIN, OPERATOR, ANALYST, RESEARCHER and VIEWER. Each operation's description states the roles it needs where it restricts them. Ingestion needs ORG_ADMIN, OPERATOR or ANALYST; API key and webhook management needs ORG_ADMIN. A role that does not satisfy an operation gets 403 Insufficient permissions, and an X-Tenant-ID header that disagrees with the token gets 403 Tenant mismatch.
Single sign-on Live
Organisations that sign in with Microsoft Entra ID can exchange an Entra ID token for an AmpVerve session at POST /api/auth/sso/entra/exchange. See Authentication in the reference.
There is no OAuth authorisation code flow, PKCE, client credentials grant or delegated end user token today. An integration uses an API key for the Partner API and an access token for everything else. OAuth 2.0 client credentials is on the Roadmap.
Environments and base URL
| Environment | Base URL | Status |
|---|---|---|
| Production | https://app.ampverve.com | Live |
| Sandbox, selected by a sandbox API key | https://app.ampverve.com | Live |
| Family | Base URL |
|---|---|
| Every operation in the reference | https://app.ampverve.com, followed by the operation's path |
| Partner API (API keys) | https://app.ampverve.com/api/devtools/partner/v1 |
| Home Assistant connector (API keys) | https://app.ampverve.com/api/telemetry/connectors/home-assistant/v1 |
Configure https://app.ampverve.com as the base URL in every client. One base URL serves production and the sandbox: the key you send selects the environment, so this page has no environment switch. Its Try it panel is offered only on the six operations a sandbox key can call, and refuses to send unless the key you paste is a sandbox key, so a request from this page never acts on production data.
Testing
For the Partner API reads and webhooks, use the sandbox: a sandbox API key on the production base URL reads simulated sites, devices, telemetry and alerts, and sends signed sample events. It reaches no real organisation, device or market.
The sandbox does not cover operations that take an access token, such as telemetry ingestion. For those, AmpVerve provisions a dedicated non-production organisation on production infrastructure. It is a real tenant with real isolation.
- Ask for a non-production organisation through Request API access. You get separate credentials.
- Prefix test identifiers so test data is obvious, for example
test-site-0001-inverter-1. - Never write test data into a production organisation. Credential writes that look like placeholders are rejected against real tenants.
- Operations labelled Demo environment act on synthetic devices in demo organisations only.
Sandbox Live
Build and test against simulated sites and devices, with a key that cannot reach a real home, site, device or market.
Every organisation has one sandbox: a separate organisation in the demo realm, demo-sandbox-<16 hex>, derived from your own. A sandbox key is an ordinary avk_ key issued for that organisation. There is no separate host: send it to https://app.ampverve.com and the key selects the sandbox.
What the sandbox contains
| Site | Devices | Telemetry assets |
|---|---|---|
sbx-site-depot, a depot | Two 22 kW chargers, a boundary meter, a gateway | sbx-depot-charger-1, sbx-depot-charger-2, sbx-depot-meter |
sbx-site-solar, a solar and storage site | A 100 kWh battery, a boundary meter, a gateway | sbx-solar-inverter (50 kW), sbx-solar-battery, sbx-solar-meter |
- Telemetry every 5 minutes, generated from the clock in UTC: solar a half sine from 06:00 to 18:00, the battery charging from 09:00 to 15:00 and discharging from 17:00 to 21:00, the chargers charging overnight.
- Alerts: depot charger 2 stops reporting two hours before the current hour and has an open
comms_lostalert; a resolved solar underperformance alert from yesterday. - Deterministic. The same request at the same moment gives the same answer, so an integration test can assert on it. GET /api/devtools/partner/v1/sandbox/scenario describes it all.
- Simulated, not measured. Nothing is stored and no value describes real equipment.
1. Issue a sandbox key
An organisation administrator calls the ordinary key operation with environment=sandbox. Every key and webhook operation takes it; sandbox keys and endpoints are listed, rotated and revoked the same way, separately from live ones.
curl -X POST "https://app.ampverve.com/api/devtools/apikeys?environment=sandbox" \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Integration tests","scopes":["alerts:read","devices:read","telemetry:read"],"expires_in_days":90}'curl https://app.ampverve.com/api/devtools/partner/v1/me \
-H "Authorization: Bearer $AMPVERVE_SANDBOX_KEY"
{
"organisation_id": "demo-sandbox-a3086976a3fc5003",
"environment": "sandbox",
"key": { "..." }
}2. Call the reads
Every Partner API operation answers a sandbox key with the same response shape as a live key. Scopes, expiry, revocation and the 600 requests a minute limit apply as usual.
curl "https://app.ampverve.com/api/devtools/partner/v1/telemetry/latest?asset_id=sbx-solar-inverter&hours=1" \
-H "Authorization: Bearer $AMPVERVE_SANDBOX_KEY"{
"readings": [
{ "asset_id": "sbx-solar-inverter", "asset_type": "inverter", "provider": "sandbox",
"ts": "2026-10-05T13:05:00Z", "power_kw": -46.983, "soc_pct": null,
"energy_kwh": 3.9152, "status": "producing" }
]
}3. Receive test webhooks
Register a sandbox endpoint with POST /api/devtools/webhooks?environment=sandbox and store its signing secret. Then send a sample of any event type, with the sandbox key alone, from your own test suite:
curl -X POST https://app.ampverve.com/api/devtools/partner/v1/sandbox/webhooks/test \
-H "Authorization: Bearer $AMPVERVE_SANDBOX_KEY" \
-H "Content-Type: application/json" \
-d '{"event_type":"device.offline"}'{
"event_id": "evt_5c0f...",
"event_type": "device.offline",
"delivery_ids": ["4be1..."],
"status": "queued"
}The delivery is signed with AmpVerve-Signature and retried exactly like a live event (see Webhooks), and its data.sandbox is true. The event types are alert.raised, alert.updated, alert.resolved, alert.reopened, device.offline and webhook.test. An administrator can also send one to a single endpoint with POST /api/devtools/webhooks/{endpoint_id}/test?environment=sandbox. Sample alert and device events are sent from the sandbox only; a live endpoint is sent webhook.test only.
Try it on this page
The six operations a sandbox key can call have a Try it panel in the reference: me, alerts, devices, latest telemetry, the scenario and the test event. Every other operation says why it has none.
- Sandbox keys only. Before it sends anything else, the panel calls
GET /api/devtools/partner/v1/mewith your key and stops unlessenvironmentissandbox. A live key is refused after that one read of the key itself. - Real requests. They go from your browser to
https://app.ampverve.com, count against the key's rate limit and appear in your webhook delivery log, exactly as from your own code. - Your key stays with you. It is held in the page while it is open, and in this browser tab's session storage only if you tick "Remember for this tab". It is never written anywhere that outlives the tab. "Forget key" clears it.
- Only these operations. The server lets
https://www.ampverve.comread the answers of these six operations, with their own method and no cookies, and of nothing else.
What a sandbox key can never do
- Reach another organisation. Its organisation is fixed on the key when it is issued, in the demo realm, and no header, parameter or body field changes it.
- Reach a device. The Partner API answers a sandbox key from the simulator without reading any stored device, alert or telemetry row.
- Write to a market or command anything. A sandbox key holds read scopes only (
alerts:read,devices:read,telemetry:read);telemetry:writeis refused when a sandbox key is issued, so the Home Assistant connector operations refuse a sandbox key. Every other operation outside the Partner API refuses an API key with401. The one thing a sandbox key writes is the sandbox test event:POST /api/devtools/partner/v1/sandbox/webhooks/testrecords a test event and its delivery records in your sandbox organisation. A live key gets403 sandbox_onlyon the sandbox operations.
Operations that take an access token, such as telemetry ingestion, site onboarding and flexibility offers, are not in the sandbox. Test those in a dedicated non-production organisation; see Environments. A "simulate on live prices" mode is not available.
Errors
AmpVerve uses HTTP status codes, and every error body is a JSON object with a detail field. The developer tools and Partner API operations (/api/devtools/...) also return a machine readable error object beside it.
The error envelope
{
"detail": "API key revoked",
"error": {
"code": "api_key_revoked",
"message": "API key revoked",
"request_id": "req_4be1c0f35a2d4e7f9b8c6d5e4f3a2b1c"
}
}HTTP/1.1 401 Unauthorized
Content-Type: application/json
X-Request-Id: req_4be1c0f35a2d4e7f9b8c6d5e4f3a2b1c
WWW-Authenticate: Bearer realm="ampverve-partner-api"error.codeis the contract: stable, snake case. Branch on it. New codes can be added; treat an unknown one by its HTTP status.error.messageis for people. Its wording can change.error.request_idequals theX-Request-Idheader, which every/api/devtoolsresponse carries, success or error. Log it and quote it to support. Send your ownX-Request-Id(8 to 128 ofA-Z a-z 0-9 . _ : -) and it is kept; otherwise AmpVerve assignsreq_<32 hex>.detailis unchanged, so a client that reads it today keeps working.
Error code reference
Every error.code the developer tools and Partner API operations return today. A test reads the codes from the service code and fails if this table and the code disagree, so the list cannot drift. The first group are specific codes. The rest are the code of the HTTP status, used when nothing more specific applies. Where detail is an object with its own error code, that code is used.
error.code | Status | Meaning | What to do |
|---|---|---|---|
api_key_missing | 401 | No Authorization header on a Partner API operation. | Send Authorization: Bearer avk_.... |
api_key_required | 401 | A credential that is not an API key, such as an access token, on a Partner API operation. | Use an avk_ key; access tokens are not accepted there. |
api_key_invalid | 401 | The key is malformed, or no key matches it. | Check that the whole key was copied. Do not retry unchanged. |
api_key_revoked | 401 | The key was revoked. | Issue a new key. |
api_key_expired | 401 | The key is past its expiry date. | Issue a new key, or rotate before expiry next time. |
api_key_auth_unavailable | 503 | Key authentication is not configured on the service, so it fails closed. | Retry later and quote the request id to support. |
insufficient_scope | 403 | The key lacks the scope the operation needs; detail.required_scope names it. | Issue a key with that scope. |
scope_not_granted | 403 | The partner relationship with this customer does not grant the scope the operation needs; detail.required_scope names it. | Ask the customer to add that scope to the relationship. |
sandbox_only | 403 | A live key on a sandbox operation. | Use a sandbox key. |
invalid_cursor | 400 | A list cursor that could not be read, belongs to another list, or came with different filters. | Send next_cursor unchanged with the first page's filters, or start again without a cursor. See Pagination. |
rate_limited | 429 | The key is over its limit. Also the code of any other 429. | Wait Retry-After seconds. See Rate limits. |
authentication_required | 401 | No access token on a key or webhook management operation. | Sign in and send Authorization: Bearer <access_token>. |
token_invalid | 401 | The access token is invalid or expired. | Refresh the token once and retry once. |
insufficient_role | 403 | The token's role is not enough for the operation. | Use an organisation administrator account. |
tenant_mismatch | 403 | An organisation header disagrees with the token. | Treat it as a security event, not a retry. |
bad_request | 400 | The request is well formed but cannot be acted on. | Read message, correct and resend. |
unauthorized | 401 | Any other 401, such as an API key on a key or webhook management operation, or a token that carries no organisation. | Check the credential. |
forbidden | 403 | Any other 403, such as a platform account or a demo session on a key or webhook management operation. | Read message. Do not retry unchanged. |
not_found | 404 | The path or the resource does not exist, or is not visible to your organisation. | Check the path, the id and the operation's status label. |
method_not_allowed | 405 | The path exists, but not with this method. | Check the method in the reference. |
conflict | 409 | A conflict with current state, such as rotating a revoked key, or a test event that no endpoint is subscribed to. | Read the state, then decide. |
payload_too_large | 413 | The request body is too large. | Send less in each request. |
unsupported_media_type | 415 | The Content-Type is not accepted. | Send application/json. |
validation_error | 422 | The request failed validation. detail is then the list of field errors, or a sentence. | Fix the field that message names. Never retry unchanged. |
locked | 423 | The resource is locked. | Wait, then retry. |
internal_error | 500 | An unexpected failure. The body is still this envelope, never plain text. | Retry reads with backoff, and quote the request id to support. |
upstream_error | 502 | A dependency AmpVerve calls answered with an error. | Retry with backoff. |
service_unavailable | 503 | A dependency is unavailable. | Back off and retry. |
upstream_timeout | 504 | A dependency did not answer in time. | Retry with backoff. |
client_error | Other 4xx | A client error status that has no code of its own. | Branch on the HTTP status. |
server_error | Other 5xx | A server error status that has no code of its own. | Retry with backoff. |
An unexpected failure on these operations returns 500 with internal_error and a request id, never a plain text body.
The detail field everywhere else
Operations outside /api/devtools return detail only, without X-Request-Id, until the envelope is extended to them.
{ "detail": "Authorization header missing" }// detail is an ARRAY here, one entry per field
{
"detail": [
{ "type": "missing", "loc": ["body", "email"], "msg": "Field required", "input": {} }
]
}// detail is an OBJECT on a few errors, such as a missing API key scope
{ "detail": { "error": "insufficient_scope", "required_scope": "alerts:read" } }detail is a string on most errors, an array on 422, and an object on a few. Outside the developer tools and Partner API operations there is no machine readable error code yet, so parse all three shapes there and treat detail text as diagnostic, not as a stable contract.
Common status codes
| Status | Typical detail | Meaning | What to do |
|---|---|---|---|
400 | Operation specific | The request is well formed but cannot be acted on. | Read detail, correct and resend. Do not retry unchanged. |
401 | Authorization header missing, Invalid or expired token, API key expired | No credential, a malformed one, or one that is expired, revoked or of the wrong kind. | Refresh a token once and retry once. Replace a revoked or expired key. |
403 | Insufficient permissions, Tenant mismatch, insufficient_scope | Authenticated, but not allowed: the role, the organisation header or the key scope. | Fix the role or scope. Treat a tenant mismatch as a security event, not a retry. |
404 | Not Found | Absent, or not visible to your organisation. | Check the path and the operation's status label. |
409 | Operation specific | A conflict with current state, such as a key that is already revoked. | Read the state, then decide. |
422 | Array of field errors | Schema validation failed. | Read loc to find the field. Never retry unchanged. |
423 | Account locked. Try again later. | Five failed logins. | Wait 15 minutes. |
429 | Rate limit exceeded | Too many requests. | Honour Retry-After, back off with jitter. |
502 | <provider> API error | An upstream data provider failed. | Retry with backoff, fall back to your last good value. |
503 | Varies | A dependency is unavailable, or a control is not configured and fails closed. | Back off. Poll /api/telemetry/readyz for recovery. |
Each operation in the reference lists the status codes it documents.
Resource IDs
Treat every identifier as an opaque, case sensitive string. Do not parse meaning out of it except where this table says the format is fixed.
| Identifier | Format | Who chooses it |
|---|---|---|
| API key | avk_<12 hex>_<43 base64url>; the prefix avk_<12 hex> is public | AmpVerve, shown once |
| Webhook signing secret | whsec_<43 base64url> | AmpVerve, shown once |
| Webhook event id | evt_<32 hex>, stable across retries; also in AmpVerve-Webhook-Id | AmpVerve |
| API key, webhook endpoint and delivery ids | 32 lowercase hex characters | AmpVerve |
organisation_id | Opaque string. Demo organisations start with demo- | AmpVerve; it comes from your credential, never from a parameter |
site_id, asset_id | Free form strings. asset_id must be unique within your organisation | You. See Sites and assets |
| Timestamps | ISO 8601 with an explicit offset, normally UTC (2026-10-03T14:00:00Z) | Both |
Other identifiers, such as alert, run and decision ids, are documented on the operation that returns them.
Pagination
Every Partner API list pages the same way: ask for a page with limit, then follow next_cursor until it is null.
Cursor pagination
| Name | Where | Meaning |
|---|---|---|
limit | Query | The page size. Each operation states its default and maximum (below). |
cursor | Query | Opaque. The next_cursor of the previous page, sent unchanged. Omit it for the first page. |
next_cursor | Response | The cursor of the next page, or null on the last page. |
has_more | Response | true when there is a next page, that is when next_cursor is not null. |
| Operation | List | limit default | limit maximum | Order |
|---|---|---|---|---|
GET /api/devtools/partner/v1/alerts | alerts | 50 | 200 | Newest first, then id |
GET /api/devtools/partner/v1/devices | devices | 100 | 500 | Newest registration first, then id; devices without a registration time first |
GET /api/devtools/partner/v1/telemetry/latest | readings | 100 | 500 | Newest reading first, then the order stored |
GET /api/devtools/webhooks/{endpoint_id}/deliveries | deliveries | 50 | 200 | Newest first, then id |
- Every row once. Following
next_cursorto the end reads every row once, newest first, without gaps or repeats. A row that arrives while you page is newer than your first page, so it is not in this walk; start a new walk to see it. - Same filters on every page. Send the filters of the first page (
statusandsince,asset_idandhours) with every page. A cursor sent with different filters, a cursor from another list, or one that cannot be read is400witherror.codeinvalid_cursor. Start again without a cursor. - Telemetry windows do not slide.
hourscounts back from the time of the first page, and later pages keep that window, so a slow walk does not lose readings at the far end. - Opaque. Do not build, parse or keep a cursor beyond its walk; its format can change. It names no organisation and grants nothing: every page is read for your key's own organisation.
- The sandbox pages the same way, so a loop tested against a sandbox key works unchanged with a live key.
Read every page
These loops are generated from the specification and print every item of every page as one JSON line. They need only the standard library (the shell loop needs curl and jq) and read the key from AMPVERVE_API_KEY. A test runs each of them against a server that pages the same way. The SDKs have helpers that do this for you: iter_devices() in Python and iterDevices() in TypeScript.
set -euo pipefail
base="${AMPVERVE_BASE_URL:-https://app.ampverve.com}"
cursor=""
while :; do
args=(-sS --fail -G "$base/api/devtools/partner/v1/devices" -H "Authorization: Bearer $AMPVERVE_API_KEY" --data-urlencode "limit=500")
if [ -n "$cursor" ]; then args+=(--data-urlencode "cursor=$cursor"); fi
page="$(curl "${args[@]}")"
echo "$page" | jq -c '.devices[]'
cursor="$(echo "$page" | jq -r '.next_cursor // empty')"
if [ -z "$cursor" ]; then break; fi
doneimport json
import os
import urllib.parse
import urllib.request
URL = os.environ.get("AMPVERVE_BASE_URL", "https://app.ampverve.com") + "/api/devtools/partner/v1/devices"
def pages(params):
"""Yield every page, following next_cursor until it is null."""
cursor = None
while True:
query = dict(params, cursor=cursor) if cursor else dict(params)
req = urllib.request.Request(
URL + "?" + urllib.parse.urlencode(query),
headers={"Authorization": f"Bearer {os.environ['AMPVERVE_API_KEY']}"},
)
with urllib.request.urlopen(req, timeout=30) as resp:
page = json.load(resp)
yield page
cursor = page["next_cursor"]
if cursor is None:
return
for page in pages({"limit": 500}):
for item in page["devices"]:
print(json.dumps(item))const base = process.env.AMPVERVE_BASE_URL ?? "https://app.ampverve.com";
let cursor = null;
do {
const url = new URL(base + "/api/devtools/partner/v1/devices");
url.searchParams.set("limit", "500");
if (cursor) url.searchParams.set("cursor", cursor);
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.AMPVERVE_API_KEY}` },
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const page = await resp.json();
for (const item of page["devices"]) console.log(JSON.stringify(item));
cursor = page.next_cursor;
} while (cursor);package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
"time"
)
func main() {
base := os.Getenv("AMPVERVE_BASE_URL")
if base == "" {
base = "https://app.ampverve.com"
}
client := &http.Client{Timeout: 30 * time.Second}
cursor := ""
for {
q := url.Values{}
q.Set("limit", "500")
if cursor != "" {
q.Set("cursor", cursor)
}
req, err := http.NewRequest("GET", base+"/api/devtools/partner/v1/devices?"+q.Encode(), nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AMPVERVE_API_KEY"))
resp, err := client.Do(req)
if err != nil {
panic(err)
}
var page struct {
Items []json.RawMessage `json:"devices"`
NextCursor *string `json:"next_cursor"`
}
err = json.NewDecoder(resp.Body).Decode(&page)
resp.Body.Close()
if resp.StatusCode != http.StatusOK {
fmt.Fprintf(os.Stderr, "HTTP %d\n", resp.StatusCode)
os.Exit(1)
}
if err != nil {
panic(err)
}
for _, item := range page.Items {
fmt.Println(string(item))
}
if page.NextCursor == nil {
break
}
cursor = *page.NextCursor
}
}require "json"
require "net/http"
base = ENV.fetch("AMPVERVE_BASE_URL", "https://app.ampverve.com")
cursor = nil
loop do
uri = URI(base + "/api/devtools/partner/v1/devices")
params = { "limit" => "500" }
params["cursor"] = cursor if cursor
uri.query = URI.encode_www_form(params)
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer " + ENV.fetch("AMPVERVE_API_KEY")
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https", read_timeout: 30) do |http|
http.request(req)
end
raise "HTTP #{res.code}: #{res.body}" unless res.is_a?(Net::HTTPSuccess)
page = JSON.parse(res.body)
page["devices"].each { |item| puts JSON.generate(item) }
cursor = page["next_cursor"]
break if cursor.nil?
endCompatibility
No parameter was removed or renamed. A request without cursor returns what it returned before, the newest limit rows under the same list name, plus next_cursor and has_more. Before cursors, the way to read further was to move since back (alerts) or raise hours (telemetry). That still works, but is deprecated as a way to page; both stay as filters. Use cursor.
Other operations
Outside the Partner API, pagination is not uniform yet. Check each operation's parameters rather than assuming.
| Pattern | Parameters | Examples |
|---|---|---|
| Cursor | limit and cursor, as above | Partner API lists, webhook deliveries |
| Newest first, capped | limit, with a default and a maximum stated per operation | The alert queue, setpoint and decision history |
| Offset | limit and offset | The audit log, notifications, alert history |
| Since a time | since, combined with limit | The audit log |
| Time bounded | A range or a start and end parameter | Asset history, ledgers, reports |
| Complete set | None | API keys, webhook endpoints, the asset registry (GET /api/twin/), energy receipts |
Rate limits
| Surface | Limit | Keyed on | When exceeded |
|---|---|---|---|
| Partner API | 600 requests a minute | API key | 429 with error.code rate_limited and a Retry-After header in seconds |
Authentication (/api/auth) | 5 requests a minute | Source IP | 429 {"detail": "Rate limit exceeded"}; five failed logins lock the account for 15 minutes (423) |
Rate limit headers Live
Every response from a Partner API operation carries the key's limiter state, on success and on the 429:
| Header | Meaning | Example |
|---|---|---|
RateLimit-Limit | Requests the key may make in the window. | 600 |
RateLimit-Remaining | Requests left in the window after this one. | 599 |
RateLimit-Reset | Seconds until the window frees capacity. | 42 |
RateLimit-Policy | The limit and the window in seconds. | 600;w=60 |
Retry-After | On a 429 only: seconds to wait. | 42 |
Slow down as RateLimit-Remaining approaches zero rather than waiting for a 429. The window is one minute per key, shared by every AmpVerve server, so several processes using one key share its limit. Access token operations and the Home Assistant connector operations do not carry these headers yet. No other general limit is published; where an individual operation has its own limit, its reference entry says so. Honour Retry-After whenever it is present and back off exponentially with jitter.
Versioning and changelog
The API is date versioned. The current version is 2026-10-15, the specification's info.version. Paths are not versioned except where a family says so, such as /api/devtools/partner/v1.
Webhook payloads carry api_version, the version of the event format: 2026-10-03 today. It is versioned separately from the specification, so it can differ from info.version.
What can change without a new version
- A new operation, a new optional request field, or a new field in a response.
- A new enum value in a field documented as extensible.
Your client must tolerate these: ignore unknown response fields, and never assume an enum is closed unless the reference says so.
What needs a new version or a migration window
- Removing or renaming a field, or changing its type, unit, sign or meaning.
- Making an optional request field required, or tightening an enum.
- Changing authentication or the status code for an existing condition, or removing an operation.
Before an operation is removed or changed in a way that is not additive, it is deprecated with at least 6 months' notice. See Deprecation.
Changelog
Generated from the dated sections of the specification. Follow it in a feed reader: changelog.atom (Atom 1.0) carries the same entries, newest first, each linking back to its entry here.
2026-11-07 Changes #
Dispatch on manufacturer alerts. Additive: four new fields on every alert item, no field removed, no existing event type changes its trigger.
- Four new alert fields.
assignee_name,assigned_at,visit_atandvisit_notesay who the organisation gave a manufacturer alert to, when, the planned visit, and the free-text note written for it. They arenulluntil an operator sets them, and alwaysnullfor an AmpVerve rule alert. The assignee is a name, never an id or an email address. - **
alert.updatedis also sent** when an operator acknowledges a manufacturer alert, assigns it, or changes the visit.alert.resolvedis also sent when an operator resolves one by hand, withresolution_kindmanual_closeandresolved_by_kindorganisation_user; the resolution note is not sent. If the manufacturer reports the fault again the alert reopens (alert.reopened) with its assignee kept. - **
last_changed_atandchanged_since** include an assignment.
2026-11-05 Changes #
Manufacturer alerts on the webhooks, reopened alerts in polling, and a site's address and timezone. Additive: no field is removed and no existing event type changes its trigger.
- Manufacturer alerts are delivered as webhooks. Vendor alarms (Enphase open events, SMA pending messages) and derived SolarEdge communication loss are sent as
alert.raisedwhen first seen andalert.resolvedwhen the manufacturer stops reporting them, beside the AmpVerve rule alerts. A derived communication loss that names a device also sendsdevice.offline. - Two new event types.
alert.updated: an AmpVerve rule alert was acknowledged, or a manufacturer alert's severity or text changed while open.alert.reopened: a manufacturer alert that had cleared is reported again. Subscribe to them like any other type. - **
data.alertis the whole alert.** Every alert event now carries the same itemGET /api/devtools/partner/v1/alertsreturns, every field with the same values, instead of a summary. The earlier summary fields are all still present. - **
changed_sincereturns reopened and updated alerts.** A manufacturer alert reopened or updated after your previous poll is returned again, in its new state, andlast_changed_atincludes that change. - Site address and timezone.
site_addressandsite_timezoneare filled from the manufacturer's own site record (SolarEdge site list, Enphase system record, SMA plant timezone) when the site was imported or polled, and staynullwhen nothing was received. They are never geocoded or guessed.
2026-10-24 Additions #
A webhook event type fleet.vehicle.at_risk: one event each time a vehicle's readiness for a departure moves into AT_RISK (not on every assessment while it stays at risk; again if it recovers and becomes at risk later). data holds vehicle_id, site_id, requirement_id, status, previous_status, departure_at, assessed_at, current_soc_pct, required_departure_soc_pct, predicted_departure_soc_pct (each null when the assessment does not hold it, never zero), reason_codes and assessment_id. No name, registration, driver or location. While an organisation has an active endpoint for this event, AmpVerve assesses its depots' readiness every 10 minutes, so the event does not depend on anyone opening the readiness board. The event reports an assessment and controls nothing.
2026-10-23 Changes #
Additions to the Partner API read operations, for partners that poll. All are additive: no field changes its values and no parameter changes its meaning, for live and sandbox keys alike.
- Polling for alert changes.
GET /api/devtools/partner/v1/alertstakeschanged_since: alerts raised, acknowledged or resolved at or after that time.sincefilters on the raise time only, so an alert raised before your last poll and resolved after it was never returned again by a poll onsince. Poll withstatus=allandchanged_sinceset to the start of your previous poll, and upsert byid. Each alert gainslast_changed_at, the latest ofcreated_at,acknowledged_atandresolved_at. A cursor issued withoutchanged_sincestays valid. - Who closed an alert, as a kind. Each alert gains
resolved_by_kind:nullwhile open,organisation_userorampverve_operatorfor a manual close,systemfor a confirmed recovery,not_recordedfor a manual close recorded before 23 October 2026. The person and the written reason stay in the platform record and the audit log. - Organisation and site on every item. Every device, alert and reading carries
organisation_id, always the key's own organisation. An alert stored without a site (an alert raised by a device rule) reports its device's site. A reading gainsdevice_idandsite_idwhen itsasset_idis the id of a device of the same organisation, or the identity key recorded on one (SolarEdge readings, for example, are stored assolar:solaredge:<site id>), andnullfor both otherwise. - The fields already served since 21 October 2026 are now documented. Devices:
site_id,asset_type,brand,model,serial. Alerts:site_id,source,manufacturer_fault_code,manufacturer_fault_message,resolution_kind. Each isnullwhen it was not recorded, never inferred. - The sandbox has a duplicate alert.
sbx-alert-charger-2-offline-repeatis the same condition assbx-alert-charger-2-offline(samedevice_id,alert_typeandsource), raised again while the first is open, so an integration can prove it groups the two.
2026-10-15 Changes #
Three changes to the partner endpoints: the Partner API and API key and webhook management (/api/devtools/...), telemetry ingestion (POST /api/telemetry/ingest) and the Home Assistant connector's API key operations.
- Ingestion reports what happened to every record.
200now means every record was stored. A record the store cannot take as sent (noasset_idordevice_id, a missing or unreadablets, a measurement that is not a number, astatusthat is not a string) is rejected by name and reason instead of failing the whole batch, and an exact copy of an earlier record in the same batch is stored once. When any record was rejected or was a duplicate and the rest were stored, the answer is207 Multi-Statuswith aresultsentry per record. When every record was rejected, it is422all_records_rejectedand nothing was stored. A store that does not persist what it was handed is still503; retry it. Every answer addsaccepted,rejectedandduplicatesbesidecountandstored. Before this change one such record made the whole batch answer503 writer_error, so a retry could never succeed and the good records in it were lost with it. A403 cross_tenant_recordno longer repeats the organisation a record named (rejected[].named);indexandfieldstill locate each record. - One device status vocabulary. A telemetry reading in
GET /api/devtools/partner/v1/telemetry/latestgainsstatus_canonical, one ofcharging,discharging,producing,importing,exporting,idle,online,offline,faultorunknown. Two vocabularies overlapped onstatus: operating states (available,idle,charging, ...) and connectivity states (online,unavailable,offline,unknown), soavailableandidle, orunavailableandoffline, named the same condition.statusitself is unchanged, for live and sandbox keys alike; see the deprecation below. Ingestion accepts anystatusstring, as before. - RFC 9457 problem details on every partner error. Every error from these endpoints carries
type,title,status,detail,instance, a stablecodeand therequest_id(theX-Request-Idheader). SendAccept: application/problem+jsonto receiveapplication/problem+json, in whichdetailis always a string and structured information is in extension members (errorsfor field validation,required_scopefor a missing scope). Without that header the answer staysapplication/jsonand keepsdetailanderrorexactly as before, with the problem members added. The Home Assistant connector's API key operations and ingestion now also carryX-Request-Id, and the connector's operations theRateLimit-*headers.
Compatibility. Items 2 and 3 are additive: no field changes its values and no error changes its status, media type, detail or error. Item 1 corrects ingestion: a batch holding a malformed or duplicated record, which was answered 503 with nothing stored, is now 207 or 422, and the cross tenant 403 no longer repeats the organisation a record named (rejected[].named). Making application/problem+json the default would be a breaking change and would be announced under the deprecation policy above; it is not announced.
2026-10-15 Deprecation #
status on the readings of GET /api/devtools/partner/v1/telemetry/latest returns the stored value, in whichever vocabulary its source used. status will switch to the canonical set on or after 2027-04-15; read status_canonical now. Until that date status is served unchanged, for live and sandbox keys. The operation itself is not deprecated, so its responses carry no Deprecation or Sunset header; the field is marked deprecated: true in its schema.
2026-10-15 Documentation changes #
These changes alter no operation, parameter, schema or status, so they do not move info.version. The three Home Assistant connector operations under /api/telemetry/connectors/home-assistant/v1 now state in their security requirement the telemetry:write scope they have always required, and the connector's descriptions say plainly that it writes readings to AmpVerve and that no operation sends or queues a command to the home. The server description says that production and the sandbox share the base URL, and the login example uses the example address integration@partner.example.
2026-10-07 Changes #
Fourteen Plan studies, outreach and opportunities operations are now live. A read only catalogue check of production found every table, column and named constraint their revisions define. The 32 CRM and lead intake operations stay awaiting-migration: their tables exist, but the CRM check constraints do not yet. No path, parameter or schema changed.
2026-10-06 Additions #
POST /api/notifications/intake/capacity-check (tag Lead intake) is the public request form of the Depot Capacity Check at https://app.ampverve.com/capacity-check. It needs no credential and writes a CRM lead into the one organisation the deployment names; it is not a partner integration surface and accepts no organisation from the caller.
GET /api/notifications/studies/{study_id}/runs/{run_id}/proposal-pack (tag Plan studies) returns a completed run's report, a covering letter and a manifest as one ZIP, to attach to an email sent from your own mailbox. It sends nothing.
Plan study results, run summaries and the result envelope gain display_label next to label. label keeps its machine value MODELLED; display_label is the human-readable text, Projection for forward figures and Calculated from your charging data for the DepotTwin savings audit, which is computed from the depot's own dated sessions. The study reports say "Projection" and "Projected", list a Methodology and assumptions section, and end with the AMPVERVE LTD footer.
2026-10-06 Idempotency #
POST /api/devtools/partner/v1/sandbox/webhooks/test, the only operation that writes with an API key, accepts an optional Idempotency-Key header. A repeat of the same request with the same key in the same organisation queues nothing and returns the first 202 body with Idempotent-Replayed: true; the same key with a different request is 409. The key is recorded, as a hash, on the event row the request created, so no new storage was added. No other operation accepts the header yet; telemetry ingestion still has no deduplication.
2026-10-06 Try it #
The six operations a sandbox API key can call carry x-ampverve-sandbox: true: GET /api/devtools/partner/v1/me, /alerts, /devices, /telemetry/latest, /sandbox/scenario and POST /api/devtools/partner/v1/sandbox/webhooks/test. The public docs page offers a Try it panel on exactly these. It sends requests to the production base URL with a key the reader pastes in, and refuses to send unless GET /api/devtools/partner/v1/me says the key's environment is sandbox. The developer-tools service now allows the origin https://www.ampverve.com to read the answers of these six operations, with their own method only, request headers Authorization and Content-Type only, and no credentials; no other operation and no other origin gets a CORS header.
2026-10-06 Device last reported #
Every device row in the device listings now says when the device last reported: last_reported_at, ISO 8601 UTC with a Z suffix, and last_reported_source, one of ocpp_heartbeat, provider_reading, telemetry or provider_api. Both are null when nothing is known; neither is ever the time of the request. They are on GET /api/hardware/chargers, /solar, /battery, /heatpump, /smartmeter, /devices/health, /vehicles and /vehicles/telemetry/all, and on GET /api/hardware/appliances. The chargers, solar, battery and heat pump listings are documented here for the first time. last_seen_at is unchanged and remains the connect time.
2026-10-06 Production readiness review #
Every operation was assessed against five production criteria: its service is deployed and healthy; the ingress routes its path to that service; every table, column and module catalogue row it reaches exists in production (from the read only migration plan of 5 October 2026 and backend/migrations/applied_ledger_pins.json); it is authenticated with the organisation taken from the verified credential, or public on purpose; and an automated test exercises it. The evidence for each is in docs/api/production_readiness.json, and backend/tests/test_api_production_readiness.py keeps this document and that record in agreement.
- Statuses. The pre-release label is retired. Each operation is now
live,awaiting-migration,partner-gatedordemo-realm; see Status labels. - Data basis.
modelledis replaced bycalculated,forecastorsimulated, each withx-ampverve-method. - Demo environment. The eight
demo-realmoperations are listed under their own tag, Demo environment. - Removed: unbuilt operations.
GET /api/platform/v1/capabilities,POST /api/ingest/v1/telemetryandGET /api/telemetry/sites/{site_id}/healthand theapi.ampverve.comandsandbox.ampverve.comhosts are not built and are no longer listed. They never resolved or answered. - Withdrawn pending correction.
GET /api/trading/prices/wholesale(the upstream request is malformed and the route answers 502),GET /api/trading/grid/dno-region(the postcode lookup returns the wrong network operator for most postcodes) andPOST /api/esg/passport/credentials(the credential subject is fixed sample data, not the organisation's) are withdrawn from this contract until each is corrected and tested.
2026-10-06 Partner API service level and deprecation #
This applies to the Partner API (/api/devtools/partner/v1), API key and webhook management (/api/devtools/apikeys, /api/devtools/webhooks) and the webhook events.
No SLA yet. No availability, latency or delivery time is committed. These are measured, not promised. The observed availability of the developer tools service, from the diagnostics prober's checks, is published at GET /api/devtools/status and https://app.ampverve.com/api-docs/status. AmpVerve monitors partner request errors and latency, webhook delivery lag, dead lettered deliveries and the webhook dispatcher, and alerts its own operators on them. A contractual service level, if any, is in the signed partner agreement.
Deprecation. While these operations are available after scheduled maintenance, a change that is not additive is recorded in a dated section of this description, naming what changed and what replaces it, no later than the day it ships. Once an operation is live, a breaking change to it or its removal gets at least 6 months' notice, counted from the announcement:
- it is announced in a dated section of this description, the changelog, naming the replacement, the announcement date and the last date it is served (the sunset date, at least 6 months later);
- it is marked
deprecated: truein this document, withx-ampverve-deprecated-on,x-ampverve-sunsetandx-ampverve-replacement; - from the announcement, its responses carry a
Deprecationheader (RFC 9745) and aSunsetheader (RFC 8594) giving the sunset date; - each organisation with an active API key able to call it gets an organisation alert, and the owners of registered API keys are told by email;
- the operation stays served unchanged until the sunset date.
Additive changes (a new operation, a new optional request field, a new response field or header) need no notice, so clients must ignore what they do not recognise.
2026-10-06 Cursor pagination #
Every Partner API list operation, GET /api/devtools/partner/v1/alerts, /devices and /telemetry/latest, and the webhook delivery log GET /api/devtools/webhooks/{endpoint_id}/deliveries, now pages the same way. Each takes limit (the page size; its default and maximum are unchanged and stated on the operation) and an optional opaque cursor, and its answer adds next_cursor (null on the last page) and has_more beside the list, which keeps its name. Following next_cursor until it is null reads every row once, newest first, ties on time broken by the row's identifier. A cursor that cannot be read, belongs to another operation, or comes with different filters is 400 with the new error code invalid_cursor. The telemetry window is fixed by the first page. The sandbox pages the same way.
Nothing was removed or renamed. A request without cursor returns the same rows as before, plus the two new fields. Paging by moving since (alerts) or raising hours (telemetry) still works, but is deprecated as a way to page; both stay as filters. The API key and webhook endpoint lists return the whole set and are not paginated. The Python and TypeScript SDKs add helpers that follow next_cursor.
2026-10-06 Deprecation headers and alerts #
The deprecation policy above is now carried out by the developer-tools service. No operation is deprecated today, so no response changes.
An operation is deprecated by marking it in this document with deprecated: true and three extensions: x-ampverve-deprecated-on (the announcement date), x-ampverve-sunset (the last day it is served) and x-ampverve-replacement (the operationId to use instead). The service keeps its own list of deprecated operations, and a test requires that list to equal these marks and refuses a sunset less than 6 calendar months after the announcement. From then on, every response of the operation, success or error, carries:
Deprecation: @<Unix seconds>, 00:00 UTC on the announcement day (RFC 9745);Sunset: <HTTP-date>, 23:59:59 GMT on the sunset day (RFC 8594);Link: <https://www.ampverve.com/api-docs/#deprecation>; rel="deprecation"; type="text/html".
The docs page's Try it origin may read all three. Each organisation with an active API key able to call the operation (not revoked, not expired, and holding its scope) gets one open partner_api_operation_deprecated alert, resolved after the sunset or when no such key remains. AmpVerve does not record which organisation called which operation, so the alert goes to every organisation whose keys could call it.
2026-10-05 Documentation changes #
No operation, parameter, schema or status changed, so info.version stays 2026-10-03. The tags were regrouped by resource and declared in x-tagGroups in integration journey order (webhooks; connect; monitor; optimise; flex and markets; settle and report; developer tools; platform and access). The undeclared tag Platform status is now declared, the catch all tags Developer, Market data, Registry, Sites and EMS control were split into resources, and the three scoped Partner API operations state their required scope in their security requirement. Three 422 response descriptions under /api/devtools, which unquoted punctuation had split into a stray key, now read as one sentence. Examples that named a real company now use neutral placeholders such as Example Solar Ltd.
2026-10-05 Additions #
A partner sandbox. Each organisation has one sandbox organisation in the demo realm (demo-sandbox-<16 hex>), derived from its own identifier. An organisation administrator issues sandbox API keys and registers sandbox webhook endpoints with the existing key and webhook operations plus environment=sandbox. A sandbox key reads the Partner API operations exactly as a live key does, and gets generated data: two simulated sites, their devices, five minute telemetry and two alerts. It never reads a stored device, alert or telemetry row, never reaches a non-demo organisation, and it holds read scopes only, so it is refused by the only other operations that accept an API key (the Home Assistant connector writes, which need telemetry:write); no API key is accepted by any device command or market operation. Two operations were added: GET /api/devtools/partner/v1/sandbox/scenario describes the simulation, and POST /api/devtools/partner/v1/sandbox/webhooks/test sends a signed sample alert.raised, alert.resolved, device.offline or webhook.test event to the sandbox's endpoints (alert.updated and alert.reopened since 2026-11-05). POST /api/devtools/webhooks/{endpoint_id}/test takes an optional event_type; types other than webhook.test are sent from the sandbox only. GET /api/devtools/partner/v1/me now also returns environment (live or sandbox). There is no separate sandbox host: the base URL is the production one, and the key selects the environment.
2026-10-05 Error envelope and response headers #
Every response from the developer tools and Partner API operations (/api/devtools/...) now carries X-Request-Id, and every JSON error from them adds a machine readable error object beside the existing detail: {"detail": ..., "error": {"code", "message", "request_id"}}. detail is unchanged, so existing clients keep working; code is the stable contract and message is for people. Partner API requests (/api/devtools/partner/v1) also carry RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy, and a 429 carries Retry-After. See the ErrorEnvelope schema for the codes. Other operations are unchanged: they return detail only, without X-Request-Id, until the envelope is extended to them.
2026-10-05 Status page #
GET /api/devtools/status is public and read only. It reports the state now and the observed availability over 24 hours, 7 days and 30 days of each public API component, counted from the diagnostics prober's recorded /healthz checks and nothing else; a component with no recent check is unobserved, and a window with no checks has no percentage. The page at https://app.ampverve.com/api-docs/status renders it, and the docs link to it as Status. The developer-tools service, which serves the Partner API and webhooks, was added to the prober's targets.
2026-10-03 Additions #
Partner API keys and signed webhooks. An organisation administrator issues keys (/api/devtools/apikeys) and registers HTTPS endpoints (/api/devtools/webhooks). A key authenticates the read operations under /api/devtools/partner/v1 for its own organisation only; see the apiKeyAuth security scheme. Webhook events and their signature scheme are described under webhooks. These operations replace the earlier pre release key and webhook registration, which stored keys in plaintext and delivered nothing. Keys issued by that earlier facility are not valid credentials.
2026-10-03 Changes #
- **New status
demo-realm.** Eight EMS control operations act only on the synthetic device model of a demo organisation and were relabelleddemo-realm: the setpoint write, the synthetic device behaviour switch, the demo site scenario, the site balance, the export limitation run, the two communications rehearsals and the buffer rehearsal.POST /api/optimiser/import-limit/{site_id}/runnow states thatdispatch=trueexecutes only in the demo realm. The EMS control tag states what control acts on today and what it does not. - Removed seven single tenant depot pilot dashboard operations and their schemas. They were specific to one customer and are not part of any partner contract. The fleet telematics operation they shared a tag with is tenant agnostic and stays, under the tag Fleet telematics.
- Corrected paths. The bulk export operations were documented as
/api/organisations/organisations/export/..., which no route serves. There is no ingress rule for/api/organisations; the console's rewrite maps/api/organisations/<path>to the organisations service's/organisations/<path>, so the public paths are/api/organisations/export/.... - Alert history.
GET /api/hardware/admin/alerts-historyis labelled platform staff only (x-ampverve-audience: platform-staff); a partner token receives 403. The statistics and the acknowledge, assign, resolve and comment actions are scoped to your organisation. - Added 19 tenant scoped operations: the paginated audit trail, device health, avoided emissions, EMS alert routing (rules, channels, dispatch, escalation check, delivery log), in app notifications (list, unread count, mark read, preferences) and the emission factor versions and change log. The routing webhook payload is documented under
webhooks. The EMS alert source lists now includeasset_silence, and the evaluation response documentsrouting.
These changes were derived from the route code on main on 2026-10-03. Their status is now set by the production readiness review of 2026-10-06.
2026-10-03 Additions #
The retail tariff operations (/api/trading/retail-tariffs/...) were added on 2026-10-03, derived from the route code on the branch that adds them. Smart band design and cost plus pricing carry x-ampverve-data-basis: calculated.
2026-09-12 Additions #
The site energy accounting, EMS reporting, alerting and control, data integrity, site onboarding, charge library and pricing, PPA settlement, capacity review, and bulk export operations were added on 2026-09-12. Their paths, parameters, request models and response shapes were derived from the route code and Pydantic models on main at that date, and a test (backend/tests/test_api_docs_coverage.py) fails if any documented path stops being served by a registered router. Their current status is set by the production readiness review of 2026-10-06 below. Operations that act on or read the demo environment's simulated device model carry x-ampverve-data-basis: simulated.
Deprecation
An operation you build against is not removed or broken without at least 6 months' notice, and every response it gives during that time says so in machine readable headers.
What happens when an operation is deprecated
- The changelog records the announcement date, the replacement and the sunset date, the last day the operation is served.
- The specification marks the operation
deprecated: truewithx-ampverve-deprecated-on,x-ampverve-sunsetandx-ampverve-replacement(theoperationIdto move to), and the reference shows a Deprecated label and a Deprecation row on it. - From the announcement, every response of the operation, successful or not, carries the headers below.
- Each organisation with an active API key that can call the operation (not revoked, not expired, and holding the operation's scope) gets an organisation alert,
partner_api_operation_deprecated. It appears in the console's alert list, inGET /api/devtools/partner/v1/alerts, in your alert routing rules, and as analert.raisedwebhook. AmpVerve does not record which organisation called which operation, so the alert goes to every organisation whose keys could call it, not only to those that did. - The operation stays served unchanged until the end of the sunset day.
The sunset is never less than 6 calendar months after the announcement. A test in the service refuses a shorter one, and another keeps the service's list of deprecated operations equal to the specification's marks.
Deprecation headers
| Header | Standard | Meaning | Example |
|---|---|---|---|
Deprecation | RFC 9745 | When the operation was deprecated, as @ and Unix seconds (00:00 UTC on the announcement day). Its presence alone means the operation is deprecated. | @1806969600 |
Sunset | RFC 8594 | An HTTP date: the last second the operation is served, 23:59:59 GMT on the sunset day. After it the operation may return 404 or 410. | Wed, 06 Oct 2027 23:59:59 GMT |
Link | RFC 8288, RFC 9745 | This page, with rel="deprecation". | <https://www.ampverve.com/api-docs/#deprecation>; rel="deprecation"; type="text/html" |
Log a warning, or raise an alert of your own, the first time your client sees Deprecation on a response, and plan the move before the Sunset date. Other links may share the Link header, so look for the rel="deprecation" entry rather than reading the whole value.
Scope
The headers and alerts apply to the Partner API (/api/devtools/partner/v1) and to API key and webhook management (/api/devtools/apikeys, /api/devtools/webhooks). A change that is not additive is recorded in the changelog no later than the day it ships; the 6 month notice is committed once an operation is live. No operation is deprecated today, so no response carries these headers yet.
Webhooks Live
AmpVerve sends your organisation's events to an HTTPS endpoint you register, signed so you can prove they came from AmpVerve.
Event catalogue
Every event type AmpVerve sends to the endpoints you register. Each links to its reference entry, which has the full example payload and headers. A test checks this list against the dispatcher and the specification.
| Event | Trigger | data | Subscribe |
|---|---|---|---|
alert.raised | An alert is raised in your organisation after the endpoint was registered: an AmpVerve rule alert, or a manufacturer alarm (Enphase, SMA) or derived SolarEdge communication loss when first seen. AmpVerve reads new alerts about every 5 seconds and looks back at most 24 hours, so history before registration is never sent. | alert: the whole alert, as GET /partner/v1/alerts returns it, with site name, address and timezone | Yes |
alert.updated | An open alert changes: an AmpVerve rule alert is acknowledged, or a manufacturer alert's severity or text changes while open. A repeat report of the same alert, unchanged, sends nothing. | alert, as it now stands | Yes |
alert.resolved | An alert in your organisation is resolved after the endpoint was registered, or a manufacturer stops reporting it. occurred_at is the resolution time. | alert, with resolved true and resolved_at | Yes |
alert.reopened | A manufacturer alert that had cleared is reported again. It keeps its id; AmpVerve rule alerts are never reopened (a recurrence is a new alert). | alert, with resolved false again | Yes |
device.offline | An alert of an offline type that names a device is raised: by default stale_device, stale_telemetry, comms_gap, comms_lost, device_offline or dead_device. The same alert also sends alert.raised. Its alert.resolved is the signal that the device reports again. | device_id, provider, since, alert | Yes |
fleet.vehicle.at_risk | A vehicle's readiness assessment for a departure moves into AT_RISK. Not repeated while it stays at risk; sent again if it recovers and becomes at risk later. While you subscribe, AmpVerve assesses your depots every 10 minutes. | vehicle_id, site_id, requirement_id, status, previous_status, departure and state of charge figures (null when not held), reason_codes, times | Yes |
webhook.test | Only on request: POST /api/devtools/webhooks/{endpoint_id}/test, or the sandbox test operation. Delivered whatever the endpoint subscribes to. | message, and endpoint_id or sandbox | No, always delivered |
Every event has the same envelope, serialised with sorted keys and no spaces: id (evt_ and 32 hex, stable across retries), type, api_version, organisation_id, occurred_at and data. An event is only ever sent to endpoints of the organisation it belongs to. An AmpVerve rule alert's free-text message and context are never sent, because they can hold personal data; a manufacturer alert's message is the manufacturer's own alarm text, as polled. A sample sent from the sandbox carries "sandbox": true in data.
Register an endpoint
Organisation administrators only, in Settings, API access or with POST /api/devtools/webhooks. The URL must be https on port 443 or 8443, on a public host name or address; private, loopback, link-local and internal names are refused, the check runs again before every delivery, and redirects are not followed. At most 10 endpoints per organisation. The signing secret (whsec_...) is returned once.
curl -X POST https://app.ampverve.com/api/devtools/webhooks \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://partner.example/webhooks/ampverve","event_types":["alert.raised","alert.resolved","device.offline"]}'{
"id": "evt_5c0f9e2a7b1d4c3e8f6a0b9c2d1e4f7a",
"type": "alert.raised",
"api_version": "2026-10-03",
"organisation_id": "org-example-0001",
"occurred_at": "2026-10-03T14:35:02Z",
"data": { "alert": { "..." } }
}AmpVerve-Signature: t=1791038102,v1=<64 lowercase hex characters>
AmpVerve-Webhook-Id: evt_5c0f9e2a7b1d4c3e8f6a0b9c2d1e4f7a
AmpVerve-Delivery-Id: <delivery id>
AmpVerve-Event-Type: alert.raised
Content-Type: application/jsonExample values: https://partner.example/webhooks/ampverve stands for your endpoint's URL, and org-example-0001 for your organisation id. The signature's t is the time of sending, here the same moment as occurred_at; on a retry it is later.
The full payload of each event is in Webhook events in the reference.
Verify the signature
AmpVerve-Signature is t=<unix seconds>,v1=<hex>, where v1 is the hex HMAC-SHA256 of "<t>." + raw body keyed with the whole whsec_... secret as UTF-8. Accept a delivery when any v1 matches and t is within 300 seconds of now.
- Compute over the raw request bytes. Parsing and re-serialising the JSON changes the bytes.
- Compare in constant time.
- After a secret rotation, deliveries carry two
v1values for the grace period (default 24 hours, at most 72), one per secret.
The samples below are standard library only, except that Ruby uses openssl, which ships with it. A test signs bodies with AmpVerve's own signer and runs every one of them: a valid delivery, a delivery during a secret rotation, a changed body, a wrong secret and a stale timestamp.
import hashlib
import hmac
import time
def verify(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
"""True when an AmpVerve-Signature header is valid for the raw body."""
parts = [p.strip().split("=", 1) for p in header.split(",") if "=" in p]
ts = next((v for k, v in parts if k == "t"), "")
if not ts.isdigit() or abs(time.time() - int(ts)) > tolerance:
return False
expected = hmac.new(secret.encode("utf-8"), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return any(hmac.compare_digest(expected, v) for k, v in parts if k == "v1")import crypto from "node:crypto";
// True when an AmpVerve-Signature header is valid for the raw body (a Buffer).
export function verify(rawBody, header, secret, tolerance = 300) {
const parts = header.split(",").map((p) => p.trim().split("="));
const ts = (parts.find(([k]) => k === "t") || [])[1] || "";
if (!/^\d+$/.test(ts) || Math.abs(Date.now() / 1000 - Number(ts)) > tolerance) return false;
const expected = crypto.createHmac("sha256", secret)
.update(Buffer.concat([Buffer.from(`${ts}.`), rawBody]))
.digest("hex");
return parts.some(([k, v]) => k === "v1" && v && v.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(v), Buffer.from(expected)));
}package webhooks
import (
"crypto/hmac"
"crypto/sha256"
"encoding/hex"
"strconv"
"strings"
"time"
)
// Verify reports whether an AmpVerve-Signature header is valid for the raw
// request body. Call it with tolerance 300 * time.Second.
func Verify(rawBody []byte, header, secret string, tolerance time.Duration) bool {
var ts string
var sigs []string
for _, part := range strings.Split(header, ",") {
k, v, ok := strings.Cut(strings.TrimSpace(part), "=")
if !ok {
continue
}
switch k {
case "t":
ts = v
case "v1":
sigs = append(sigs, v)
}
}
t, err := strconv.ParseUint(ts, 10, 63)
if err != nil {
return false
}
if d := time.Since(time.Unix(int64(t), 0)); d > tolerance || d < -tolerance {
return false
}
mac := hmac.New(sha256.New, []byte(secret))
mac.Write([]byte(ts + "."))
mac.Write(rawBody)
expected := []byte(hex.EncodeToString(mac.Sum(nil)))
for _, s := range sigs {
if hmac.Equal(expected, []byte(s)) {
return true
}
}
return false
}require "openssl"
# True when an AmpVerve-Signature header is valid for the raw body.
def verify(raw_body, header, secret, tolerance = 300)
parts = header.split(",").map { |p| p.strip.split("=", 2) }
ts = parts.find { |k, _| k == "t" }&.last.to_s
return false unless ts.match?(/\A\d+\z/) && (Time.now.to_i - ts.to_i).abs <= tolerance
expected = OpenSSL::HMAC.hexdigest("SHA256", secret, ts + "." + raw_body.b)
parts.any? { |k, v| k == "v1" && v && OpenSSL.secure_compare(expected, v) }
end# verify BODY_FILE HEADER SECRET: exit status 0 when the signature is valid.
# For testing and debugging: the final comparison is not constant time, and
# the secret is visible to other processes. Use a library above in production.
verify() {
local ts now expected
ts=$(printf '%s' "$2" | tr ',' '\n' | sed -n 's/^ *t=//p' | head -n 1)
case "$ts" in ''|*[!0-9]*) return 1 ;; esac
now=$(date +%s)
[ $((now - ts)) -le 300 ] && [ $((ts - now)) -le 300 ] || return 1
expected=$({ printf '%s.' "$ts"; cat "$1"; } | openssl dgst -sha256 -hmac "$3" | sed 's/^.*= *//')
printf '%s' "$2" | tr ',' '\n' | sed -n 's/^ *v1=//p' | grep -qx "$expected"
}Delivery and retries
| Property | Behaviour |
|---|---|
| Success | Any 2xx within 10 seconds. |
| Retry, per delivery | A delivery is one event sent to one endpoint. A non 2xx answer, a timeout, a refused target or a redirect is a failed attempt, and the delivery is retried with exponential backoff: 30 seconds doubling, capped at 6 hours, plus up to 10 percent jitter, for up to 10 attempts in all (the first attempt and up to 9 retries). After its tenth failed attempt the delivery is marked failed and is not tried again. |
| Semantics | At least once. Deduplicate on the event id (AmpVerve-Webhook-Id). |
| Disable, per endpoint | Each endpoint counts failed attempts across all of its deliveries, and any successful attempt resets the count to zero. After 20 consecutive failed attempts the endpoint is disabled and its pending deliveries abandoned, and an open partner_webhook_disabled alert is raised for your organisation (sent as alert.raised to your other endpoints). One event that fails all 10 of its attempts does not disable an endpoint by itself; failures across two or more events with no success in between can. An administrator re-enables the endpoint, which resolves the alert, with PATCH /api/devtools/webhooks/{endpoint_id}. |
| Visibility | GET /api/devtools/webhooks/{endpoint_id}/deliveries lists each delivery with its status, attempts and last status code. |
| Replay | Not offered. Replay by event id or time range is not available. |
Retry schedule
The delay before each attempt, after the attempt before it failed. Each delay is up to 10 percent longer with jitter, and an attempt starts within about 5 seconds of falling due. After the tenth failed attempt the delivery is marked failed and is not tried again. A test computes this table from the dispatcher's own constants.
| Attempt | Delay before it | Time since the first attempt, without jitter |
|---|---|---|
| 1 | When the event is queued | 0 |
| 2 | 30 s | 30 s |
| 3 | 1 min | 1 min 30 s |
| 4 | 2 min | 3 min 30 s |
| 5 | 4 min | 7 min 30 s |
| 6 | 8 min | 15 min 30 s |
| 7 | 16 min | 31 min 30 s |
| 8 | 32 min | 1 h 3 min 30 s |
| 9 | 1 h 4 min | 2 h 7 min 30 s |
| 10 | 2 h 8 min | 4 h 15 min 30 s |
Respond 2xx quickly and process asynchronously. Persist the event before you acknowledge it, and fetch the current resource when ordering matters, because deliveries are not ordered.
An EMS routing rule can also post alerts to a URL (emsAlertRouted). That channel is a single attempt with no retry, and its X-AmpVerve-Signature: sha256=... carries no timestamp. Use the webhooks on this page for new integrations.
Connect
Bring sites, assets and devices into AmpVerve and start the data flowing. A site is a physical location; an asset is the thing telemetry is about.
- Sites. Create a site from a template, confirm the proposed device mapping, and run the commissioning checks.
- Assets and devices. Register assets, read connected vehicles and smart meters, and the fleet telematics feed.
- Telemetry. Push records from your own systems with the ingestion operation, or from a site gateway with the offline buffer replay.
Vendor account connections, such as vehicle and Home Assistant links and the consent that goes with them, are made in the AmpVerve app. Their connection flows are not part of this public API yet.
Site onboarding 6 operations
Templated site creation with device discovery, a proposed point mapping to confirm, and the elapsed time from start to confirmation.
Assets 13 operations
The asset registry.
Devices 11 operations
Connected chargers, solar, batteries, heat pumps, vehicles and smart meters of the organisation, when each last reported, and the connectivity and freshness of every connected device.
Fleet telematics 1 operation
The latest measured position and ignition state of each vehicle from the organisation's vendor telematics feed.
Ingestion 1 operation
Push telemetry into AmpVerve.
Data integrity 3 operations
Commissioning checks and the asset inventory they run against.
Gateway link and buffering 6 operations
The site gateway's communications watchdog and its offline buffer.
Home Assistant connector 8 operations
The AmpVerve Home Assistant connector runs in a home next to Home Assistant and pushes normalised telemetry with an organisation API key (scope telemetry:write).
Monitor
Read back telemetry, see which devices are healthy, account for each site's energy, and act on alerts ranked by their cost per day.
Telemetry 2 operations
Read back what you and your devices have written.
Site energy 6 operations
Site energy accounting from stored telemetry: the self-consumption and export split, battery state, the portfolio league and the capacity review.
EMS reporting 14 operations
EMS sites and their settings, reports with figure level lineage back to the readings they came from, and PV underperformance with the loss priced.
EMS alerts 12 operations
The alert queue ranked by pound impact per day, its evaluation, and the organisation's severity thresholds.
EMS alert routing 8 operations
Rules that deliver EMS alerts by site, role and severity floor to one channel each (email, a Microsoft Teams incoming webhook, or a generic signed webhook), the escalation check, and the delivery log.
Alerts 6 operations
The alert lifecycle actions (acknowledge, assign, resolve, comment) and the queue statistics, scoped to your organisation.
Field 18 operations
AmpVerve Field: work orders raised by hand, from an alert or from a stale device feed, assigned to a named person or contractor, moved through an enforced lifecycle against per organisation SLA policies, with the dispatch list and the SLA report.
Notifications 6 operations
In app notifications and notification preferences of the calling user.
Fleet readiness 8 operations
Departure assurance for any fleet organisation: the readiness board (every vehicle against its next departure), the depot operating envelope and the flexibility envelopes, and the departure requirements that drive both.
Fleet optimiser 6 operations
FleetGrid Optimiser: advisory, read only plans and what-ifs for the organisation's own fleet and sites.
School bus fleet V2G 38 operations
School bus fleet V2G: buses, routes and timetables, charger assignments, site constraints and programme eligibility gates, and (in later releases) the route-readiness guard, the advisory planner and the evidence ledger.
Optimise
Price every half hour against the full GB charge stack, plan battery schedules and import limits, and record why each decision was made. Optimisation is advisory and on demand; control writes act on demo realm devices only today.
Tariffs and prices 3 operations
UK electricity import and wholesale price signals, sourced live from Octopus Energy and Elexon BMRS, the GSP region codes, and the distribution network operator for a postcode.
Charges and pricing 7 operations
The GB charge library (DUoS, TNUoS, BSUoS, CCL, capacity bands), MPAN configuration, the charge stack for an MPAN and the pricing engine that puts a pound figure, or an honest reason for its absence, beside every kWh.
Retail tariffs 9 operations
AmpVerve Tariff: retail tariff definitions (versioned, append only), line item bills from stored half hourly readings or an uploaded CSV, tariff comparison, smart band design from a cost curve and cost plus pricing.
Hub 15 operations
Public charging site operations on the OCPP charger stack: grid aware price schedules with published floor, ceiling and change limits, per connector quotes, itemised session costs from stored meter values, Public Charge Point Regulations 2023 checks, reliability and utilisation, and import limit sharing.
Forecasting 7 operations
Per site weather, solar and demand forecasts as the optimiser uses them: the method behind each, whether it is validated for the site by backtest, forecast against measured, and freshness.
Optimisation 10 operations
Import limit planning and the day-ahead battery tariff schedule.
AI Brain 6 operations
The optimiser's awareness layers per site: each of the twelve layers reported live, fallback or missing with its source, freshness and validation, and shadow plans that record which layers they used.
EMS control 8 operations
Setpoint writes, export limitation and human overrides.
EMS grid connection 6 operations
A site's connection terms as executable guardrails: the limit in force and the obligation that set it, compliance of the stored readings, the compliance suite the terms generate, and a check of a proposed change.
Decision log 3 operations
Dispatch decision records with their inputs, constraints, objective and alternatives, and a replay that re-runs the pure decision on the stored inputs.
Plan studies 17 operations
AmpVerve Plan: DepotTwin (depot EV capacity), Power Passport (firm and flexible capacity for a large site) and Plan (battery and solar sizing).
Flex and markets
Read DNO flexibility tenders and awarded contracts, submit offers, and enrol sites in AmpVerve's own VPP. Market actions are partner-gated: each market needs its own credentials, commercial access and qualification before an offer can succeed. The operations below are GB markets: see Market and region coverage for what is live where, and the country capability and market guides before describing a market to a customer.
Flexibility 4 operations
DNO flexibility tenders, awarded contracts, and offer submission, via UKPN LocalFlex and SSEN ElectronConnect.
VPP enrolment 4 operations
A site's enrolment in AmpVerve's own virtual power plant, its withdrawal, and the current signal for an enrolled site.
Settle and report
Turn activity into auditable records: the per period energy ledger with its source tree, PPA statements, Scope 2 and avoided emissions, signed energy receipts, and a full export of your organisation's data.
Energy ledger and PPA 5 operations
The stored energy ledger per settlement period with its full source tree, its rebuild, and PPA contracts and monthly settlement statements.
Carbon and emissions 10 operations
GB grid carbon intensity and its forecast (National Grid ESO), the stored half hourly intensity for a site's region, Scope 2 on both the location and market based methods, avoided emissions, emission factor versions and their change log, and a household's import carbon footprint.
Certificates 2 operations
Signed energy receipts and W3C Verifiable Credentials.
Settlement 13 operations
AmpVerve Settle.
Fleet savings statements 11 operations
A signed monthly statement per fleet depot: charging cost against a baseline the customer agreed in advance, with the method, the data coverage and every excluded session, signed with the settlement receipt key so a finance team can check it was not changed.
Data export 5 operations
Bulk export of one organisation's data in open formats, requested and executed by the customer.
Developer tools
Keys, webhooks and the platform around them: issue and rotate API keys, register webhook endpoints, read the Partner API, and check platform status and your audit trail.
SDKs
Typed clients for the Partner API, the operations an avk_ API key can call including the sandbox routes, each with a webhook signature verifier tested against the server's own signer. Version 1.2.0.
Python
AmpVerveClient and verify_signature. Standard library only, Python 3.8 or later.
TypeScript
AmpVerveClient and verifySignature. No runtime dependencies, Node.js 18 or later.
pip install https://app.ampverve.com/api-docs/sdks/ampverve-1.2.0-py3-none-any.whlnpm install https://app.ampverve.com/api-docs/sdks/ampverve-sdk-1.2.0.tgzSizes and sha256 checksums are in manifest.json. Every other operation takes an access token and is not in the SDKs; the OpenAPI document works with standard generators for those.
Webhook events 8 operations
Events AmpVerve sends to an HTTPS endpoint you register, described as the request AmpVerve makes to your endpoint.
Webhook endpoints 7 operations
Register, change, test and delete the HTTPS endpoints that receive webhook events, rotate their signing secrets and read their delivery log.
API keys 4 operations
Issue, list, rotate and revoke organisation API keys (avk_...).
Partner API 5 operations
Read operations authenticated by an organisation API key (Authorization: Bearer avk_...), scoped to the key's organisation and to the key's scopes.
Sandbox 2 operations
A demo environment organisation of simulated data for building and testing an integration without touching any real home, site, device or market.
Authentication 10 operations
Obtain and refresh the bearer token that authorises every other call, and Microsoft Entra ID single sign-on.
Site access 5 operations
Site personas and memberships: what each user may do on each site.
Audit log 3 operations
Your organisation's audit trail, the catalogue of actions it records, and its CSV export.
Platform 3 operations
Liveness, readiness, country capability and operational signals.
Platform status 6 operations
Platform status, observed availability and incident history visible to your organisation.
Connect a site
- List the site templates available to your organisation: GET /api/hardware/sites/templates.
- Create the site from a template. AmpVerve discovers devices and proposes a point mapping: POST /api/hardware/sites/from-template.
- Review and confirm the mapping, which stops the onboarding clock: POST /api/hardware/sites/{site_id}/confirm-mapping.
- Run the commissioning checks and read the result: POST /api/hardware/data-integrity/commissioning/run.
Stream telemetry
- Register each asset once, with a namespaced
asset_id: POST /api/twin/. - Send batches with an access token: POST /api/telemetry/ingest. Check that
storedequalscounton every response. - Confirm the data landed: GET /api/telemetry/live/events, or read history for one asset.
- Poll readiness every 30 to 60 seconds and buffer when it degrades. Read Getting data in before building.
Get alerts
- Register a webhook endpoint for
alert.raised,alert.resolvedanddevice.offline, and store the signing secret: see Webhooks. - Send yourself a test event and check the delivery log.
- Verify every delivery's signature, acknowledge with
2xx, and deduplicate on the event id. - To poll instead, read the ranked queue with an access token, or the Partner API alerts with an
alerts:readkey.
Offer flexibility
The routes are deployed. An offer succeeds only once your organisation has the DNO platform credentials, commercial access and qualification for that market. Agree these with AmpVerve first.
- Read your aggregate portfolio capacity.
- Read the open DNO flexibility tenders.
- Submit an offer against a tender.
- Read the contracts you have been awarded.
Settlement records and statements
The API produces the auditable records and statements a payment is based on. It does not move money: payouts are not part of this API.
- Read the stored energy ledger per settlement period, and open any row to see its full source tree.
- Read the monthly PPA statement for a site.
- Issue signed energy receipts where a counterparty needs evidence.
- Export the organisation's data in open formats for your own finance system.
Residential and home energy apps
For apps that show a household its vehicle, meter, tariff and carbon in one place. These are the operations AmpVerve's own home app calls.
Connecting a household's vehicle or charger account, and starting or stopping a charge, happen in the AmpVerve app. Those flows are not part of this public API. Tariff data is GB only.
Fleet and depot
For operators who need every vehicle ready for its next departure within the depot's supply limits. These are the operations AmpVerve's fleet views call.
Charger control for a depot is not part of this public API. The readiness board and envelopes are read and planning operations.
C&I and EMS platforms
For EMS, BMS and solar platforms that onboard commercial sites, report energy and carbon with lineage, price consumption against the GB charge stack, and act on alerts. These are the operations AmpVerve's EMS views call.
Setpoint writes and export limitation act on synthetic demo devices only (Demo environment). Optimisation produces an advisory plan when called; there is no activate API yet.
Getting data in
Read this section fully before writing an ingestion client. The behaviours below change how you should design retries, deduplication and alerting.
Accepts one record or an array of records with an access token. Normalises each onto the canonical schema, writes to the time series store, publishes to the live stream, and returns a per batch quality report. Reference.
curl -X POST https://app.ampverve.com/api/telemetry/ingest \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '[
{"asset_id":"site-0412-inverter-1","ts":"2026-10-03T14:00:00Z","power_kw":-4.812,"voltage":241.3,"status":"producing"},
{"asset_id":"site-0412-battery-1","ts":"2026-10-03T14:00:00Z","power_kw":2.4,"soc_pct":68.5,"status":"charging"}
]'// 200 does not mean persisted: check stored == count, and anomalies
{ "count": 2, "stored": 2, "streamed": 2, "anomalies": [] }Open
Payload shape
Any JSON object is accepted. Unrecognised fields are preserved verbatim, not dropped.
Atomic
Per batch
A batch writes in one transaction. Every row lands, or none do.
Annotates
Quality checks
Flagged records are still stored. Detection never silently drops your data.
Telemetry schema and units
Fields AmpVerve recognises are mapped onto canonical, indexed columns. Everything else is preserved in a raw JSON column. Only canonical fields are aggregated and surfaced by the read operations.
| Canonical field | Accepted keys | Type | Unit | Notes |
|---|---|---|---|---|
asset_id | asset_id, device_id | string | identifier | Required in practice. Without it a record is unattributable. |
ts | ts | string | ISO 8601 | Send an explicit UTC offset. |
power_kw | power_kw | number | kW, signed | Positive is import or charge. Negative is export, generation or discharge. |
soc_pct | soc_pct | number | percent | 0 to 100. Not a fraction. |
voltage | voltage | number | volts | |
current | current | number | amperes | |
temp_c | temp_c | number | degrees C | |
status | status | string | Free text. Defaults to unknown. | |
run_id, intent_id | same | string | Optional correlation identifiers. | |
raw | the whole original object | object | Preserved exactly as sent. |
power_kw is signed and aggregation sums it directly across assets. Positive is power flowing into the asset, so solar generation is negative at the inverter. An inconsistent sign is the most common integration defect and it is invisible until someone reads a total.
Common unit mistakes
| Mistake | Symptom | Fix |
|---|---|---|
Watts sent as power_kw | power_out_of_range when the value exceeds 5000 | Divide by 1000 before sending. |
| State of charge sent as a fraction | soc_out_of_range, or a chart that reads 0 to 1 | Multiply by 100. |
| Energy sent where power is expected | No flag, silently wrong totals | Send cumulative energy in raw under your own key. |
| Generation sent as positive | No flag, site totals double count | Negate it. |
Sites and assets
An asset is what telemetry is about. A site groups assets at one physical location. Register assets once, then stream against them.
curl -X POST https://app.ampverve.com/api/twin/ \
-H "Authorization: Bearer $AMPVERVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"site_id":"site-0412","type":"inverter","name":"site-0412-inverter-1","details":{"rated_kw":7.6}}'site_idis yours. Use your own stable site key so your systems and AmpVerve agree without a translation table.asset_idmust be unique within your organisation, not just within a site. Namespace it:site-0412-inverter-1, notinverter-1.- Never reuse an
asset_idfor different hardware. History is keyed on it. - Keep it stable across firmware and vendor portal changes; record a changed serial in
details.
Telemetry rows do not carry site_id today. The join from a record to a site goes through the asset registry by asset_id, which is why a namespaced asset_id matters.
Timestamps and timezones
ts is client supplied and is the basis for bucketing, ordering and every query.
| Value | Verdict | Why |
|---|---|---|
2026-10-03T14:05:00Z | Correct | Explicit UTC. |
2026-10-03T15:05:00+01:00 | Correct | Explicit offset, stored as the same UTC instant. |
2026-10-03T14:05:00 | Wrong | No offset. Lands in the wrong bucket. |
2026-10-03 14:05:00 | Wrong | Not ISO 8601. The batch write fails. |
1791036300 | Wrong | Unix epoch is not accepted. |
- Store and send UTC. Convert vendor local time with a timezone database, never by adding a fixed offset; British Summer Time duplicates an hour in autumn and drops one in spring.
- Timestamps are not deduplicated. Two records with the same
asset_idandtsboth persist.
Batching and backfill
- Send an array. A batch is written in one database transaction: every row lands or none do.
- Batches of 100 to 1000 records work well. Above a few thousand you widen the blast radius of one failed transaction. There is no server enforced record cap; keep a request body under 5 MB.
- Prefer one batch per site per interval, so a failure is attributable to one site.
- Backfill is the same call with older timestamps. Writes older than 30 days may land in compressed storage and be refused; agree a large backfill with AmpVerve first. Backfilled records appear in the live stream like fresh ones.
Idempotency and ordering
The write is a plain insert with no idempotency key. Send the same record twice and it is stored twice and counted twice.
On a timeout or a 5xx you do not know whether the write landed. Either verify then retry (query GET /api/telemetry/live/events?asset_id=... for the batch's timestamps before resending), or accept at least once and deduplicate on read by (asset_id, ts).
- Records within one batch are written in array order; concurrent batches interleave.
- The live event stream is ordered by arrival. Read operations order by
ts.
Idempotency keys Live
One operation accepts an Idempotency-Key header today: POST /api/devtools/partner/v1/sandbox/webhooks/test, the only operation that writes with an API key. No other write accepts it yet, and telemetry ingestion has no deduplication, as above.
- Same key, same request: nothing new is queued. You get the first
202body again, withIdempotent-Replayed: true. - Same key, different request (another
event_typeorendpoint_id):409. Use a new key. - Only success is remembered. A request that failed queued nothing, so a retry with the same key is a fresh attempt.
- Scope and lifetime. Keys are per organisation, not per API key, and are remembered as long as the event is kept. 1 to 255 visible ASCII characters; a UUID per intended request is ideal. AmpVerve stores a hash of the key, not the key.
Detecting bad data
Watch three independent signals.
1. The anomaly report, per record
| Reason | Condition | Almost always means |
|---|---|---|
missing_asset_id | No asset_id or device_id | A mapping gap upstream. The record is unattributable. |
soc_out_of_range | soc_pct below 0 or above 100 | A fraction sent where a percentage was expected. |
power_out_of_range | Absolute power_kw above 5000 | Watts sent as kilowatts. |
voltage_out_of_range | voltage negative | A sensor fault or a sign error. |
2. The persistence check, per batch
If the time series store is unavailable, ingestion still accepts and streams the batch and returns 200, with stored as 0. Compare stored with count on every response; if they differ, buffer locally and replay.
3. The readiness probe, platform wide
Poll GET /api/telemetry/readyz every 30 to 60 seconds. It is unauthenticated. 200 with checks.database false means writes are accepted but not persisted; 503 means stop writing and back off.
There is no per site data health operation. Monitor per site staleness yourself, or subscribe to device.offline webhooks.
Getting started with the AmpVerve API
The AmpVerve API supports integrations for homes, commercial and industrial sites, fleets, data centres, energy suppliers, CPOs, CSMS providers, EMS and BMS platforms, OEMs and market partners. The same tenant boundary applies to every audience. Product access does not imply that every asset can be controlled or that every country has an active revenue programme.
Choose an integration path
| Persona | Typical starting point | What must be agreed before production |
|---|---|---|
| Home energy app | One organisation, household sites and user delegated assets | Consent wording, supported equipment, tariff source and country capability |
| B2B portfolio operator | Organisation, sites, operators, assets and telemetry | RBAC, data ownership, site identifiers, retention and support escalation |
| B2B2C supplier or OEM | Partner organisation plus end customer sites | Delegation, branding, end user consent, offboarding and data portability |
| Fleet or CPO | Fleet sites, chargers, vehicles, sessions and operational constraints | CSMS authority, charger protocol, driver consent, uptime and command limits |
| Commercial or industrial EMS/BMS | Sites, meters, batteries, solar, HVAC and process loads | Control boundaries, maintenance windows, fallback mode and audit retention |
| Data centre | Metered boundaries, UPS or battery assets and flexible loads | No impact constraints, redundancy policy, change control and dispatch approval |
| Market partner | Eligible sites, programmes, dispatches, metering and settlement | Contract, qualification, programme rules, evidence and payout configuration |
Current production base URL
https://app.ampverve.comUse it as the base URL in every client configuration. Production and the sandbox share it: a sandbox API key selects the sandbox. The Partner API is under https://app.ampverve.com/api/devtools/partner/v1.
Make the first verified call
Check readiness without credentials:
curl --fail-with-body \
https://app.ampverve.com/api/telemetry/readyzObtain a 60 minute bearer token. Use a dedicated integration user in a dedicated organisation. Never share an administrator's interactive account with a service.
curl --fail-with-body \
-X POST https://app.ampverve.com/api/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"integration@partner.example","password":"<secret>"}'integration@partner.example is an example value: use your integration user's email address.
Send telemetry only after the identifiers and units in RESOURCE_AND_ASSET_MODEL.md are agreed:
curl --fail-with-body \
-X POST https://app.ampverve.com/api/telemetry/ingest \
-H 'Authorization: Bearer <access_token>' \
-H 'Content-Type: application/json' \
-d '[{
"asset_id":"site-0412-battery-1",
"ts":"2026-08-20T16:30:00Z",
"power_kw":2.4,
"soc_pct":61.2,
"status":"charging"
}]'Treat the response as successful only when stored equals count. A 200 response with stored: 0 means the service accepted and streamed the records but did not durably store them. Check readiness, buffer the source records and follow the ambiguity guidance in PLATFORM_CONTRACTS.md before retrying.
Authentication and tenant isolation
The main credential is a bearer JWT obtained with email and password. An organisation administrator can also issue an organisation API key (POST /api/devtools/apikeys, or Settings, API access in the console). A key is sent as Authorization: Bearer avk_..., is accepted only by the read operations under /api/devtools/partner/v1 (scopes alerts:read, devices:read, telemetry:read) and by the Home Assistant connector operations under /api/telemetry/connectors/home-assistant/v1 (scope telemetry:write), and is shown once at creation. Signed webhooks for alert.raised, alert.resolved and device.offline are registered at /api/devtools/webhooks; the signature scheme is in openapi.yaml under webhooks. Ingestion still takes the JWT. OAuth client credentials and delegated end user tokens are planned.
The authenticated token selects the organisation. Do not rely on a UI, client supplied organisation_id, or an X-Tenant-ID header to enforce isolation. A partner client should:
- keep separate credentials and storage for every organisation;
- never reuse an idempotency key across organisations;
- treat
403tenant mismatch as a security incident, not a retryable error; - preserve
organisation_id,site_id,asset_id, request id and event id in - use synthetic tenants and assets for tests.
its own audit trail;
Production access checklist
Before sending customer data, agree all of the following with AmpVerve:
- organisation and environment identifiers;
- data controller and processor roles;
- authentication and credential rotation owner;
- permitted asset classes, commands and countries;
- consent capture and revocation flow;
- expected telemetry frequency, units, backfill and retention;
- support contacts and incident severity definitions;
- rate limits and expected burst size;
- market, settlement and payout gates, if revenue features are in scope;
- rollback and offboarding procedure.
Tools
The checked in ../openapi.yaml and ../openapi.json are the canonical machine contracts. Import the JSON file into Postman, Insomnia or an OpenAPI code generator. Generated clients are not official AmpVerve SDKs. Pin the specification commit, review generated diffs and keep transport retry behaviour outside generated model code. There are no published npm, PyPI, Maven, NuGet, Swift or Go SDK packages today.
Global capability discovery
AmpVerve is designed as a global platform. Global design is not the same as global activation. Country, asset, connection, optimisation, control, market, settlement, payout and carbon capabilities must be discovered independently.
The public contract must never answer the question "is this country supported?" with one boolean. A user may be able to download the app and connect telemetry while smart control, flexibility revenue or carbon monetisation remains unavailable.
Capability dimensions
Resolve capability from all of these inputs:
- ISO 3166-1 alpha-2 country code;
- subdivision, postcode, utility territory or grid zone;
- organisation and contract;
- customer segment: residential, commercial, industrial, fleet or data centre;
- site import, export and connection agreement;
- asset class, make, model, firmware and connectivity path;
- consent and delegated control authority;
- tariff and meter data source;
- market partner, programme, qualification and enrolment;
- telemetry freshness and control verification;
- settlement currency, tax information and payout corridor.
Capability discovery
There is no capability discovery operation in the API today. Country, asset and market capability is agreed per organisation with AmpVerve, using the country and market guides as the starting point. Unknown or unverified coverage is an explicit unavailable answer: AmpVerve never falls back to GB or infers market access from locale.
Availability states
| State | Customer meaning |
|---|---|
available | Read-only feature is deployed and verified for the returned scope. |
connection_available | A real connection path exists; instance compatibility is still verified during connection. |
control_verified | The exact connected asset has passed a safe control test. |
partner_gated | A partner or credential activation is missing. |
qualification_required | Grid, market or programme approval is missing. |
enrolment_required | Customer, meter or asset is not enrolled. |
settlement_required | Dispatch may be possible, but measurement and settlement are not complete. |
payout_required | Revenue may be settled, but the payee or payout rail is not active. |
research_required | No verified evidence pack exists for the country or feature. |
unavailable | The capability is not offered for this scope. |
Country guides
The country catalog lives in ../markets/. Great Britain and the United States have evidence based guides because there is concrete repository and partnership context. Every other ISO country remains research_required or planned until its market guide is completed and approved. An Axle or Leap market page is useful competitive evidence, but it is not proof of AmpVerve access.
Each country guide records:
- market structure and named operators;
- programme types and AmpVerve's aggregator route;
- eligible assets and customer segments;
- meter, telemetry and dispatch requirements;
- baseline, verification and settlement method;
- currency, tax and payout notes;
- carbon method and double counting guard;
- consent, privacy and data residency requirements;
- technical endpoints and partner dependencies;
- readiness state, evidence source and evidence date.
Compatibility discovery
Country availability must be intersected with asset compatibility. A brand catalog entry or protocol implementation is not sufficient. The response should identify the supported connection routes in priority order:
- direct OEM cloud API;
- approved aggregator connection;
- CPO or CSMS path such as OCPP;
- site gateway path such as Modbus, SunSpec, BACnet or MQTT;
- utility data path such as Green Button;
- compatibility request when none is verified.
Every route states whether it provides telemetry, scheduling, real-time control, bidirectional control or data only.
Cache and audit rules
Capability decisions can change when programme windows, provider credentials, device health or user consent change. Responses should carry evaluated_at, an evidence version and a short cache lifetime. Preserve the exact decision and requirements used for every optimisation, command, bid and customer claim.
Resource, asset and delegation model
This is the canonical model for new partner integrations. Some resources below do not yet have a public CRUD endpoint. A documented model is not proof that an API is deployed. Check ../openapi.yaml and its x-ampverve-status field before calling anything.
Resource hierarchy
partner
organisation
users and service identities
portfolio or fleet
site
grid boundary and meters
assets
connection
capabilities
telemetry streams
constraints and consent
optimisation runs
commands and verification
programme enrolments
dispatches
settlement lines
payout allocationsorganisation_id is the tenant boundary. site_id is a physical or contractual boundary. asset_id identifies one controllable or observable resource within the organisation. A portfolio is a grouping, not a replacement security boundary.
Audiences and roles
The current API authorises by role, not OAuth scope. Current role names are ORG_ADMIN, OPERATOR, ANALYST, RESEARCHER and VIEWER. New partner APIs should move toward explicit permissions such as telemetry:write, assets:read, control:request and settlement:read, but those scopes are planned.
A B2B2C partner must not make every end customer an organisation administrator. Use delegated grants that record:
- grantor user and organisation;
- grantee partner or service identity;
- site and asset scope;
- capability scope, such as read telemetry or schedule charging;
- country and programme scope, where applicable;
- consent text and version;
- granted, effective, expiry and revoked timestamps;
- source channel and evidence reference.
Delegated OAuth and consent resources are planned. Until available, access is provisioned contractually and through organisation roles.
Universal asset envelope
All asset types should share a small stable envelope and put device specific data in typed capability blocks.
{
"id": "site-0412-battery-1",
"organisation_id": "org-example-0001",
"site_id": "site-0412",
"external_id": "partner-device-987",
"asset_type": "battery",
"manufacturer": "example",
"model": "example-10",
"country_code": "GB",
"timezone": "Europe/London",
"connection": {
"state": "connected",
"provider": "oem_cloud",
"last_verified_at": "2026-08-20T16:00:00Z"
},
"capabilities": [
{"name": "telemetry.read", "state": "verified"},
{"name": "power.setpoint.write", "state": "unavailable"}
]
}The supported asset vocabulary is designed to include:
- EVs, chargers, batteries, solar and inverters;
- heat pumps, HVAC, thermostats and hot water;
- smart meters, submeters and grid boundary meters;
- fleets, depots, commercial sites, industrial loads and data centre resources;
- tariffs, utility accounts and market programme relationships.
An asset type alone never proves control. Capability must be reported and verified per connected instance. For example, a vehicle can expose battery telemetry while its paired charger provides the actual charge control path.
Capability states
| State | Meaning |
|---|---|
declared | An adapter or partner says the capability exists. Not yet exercised. |
discovered | The connected account or device reported it. |
verified | AmpVerve exercised the exact read or command path successfully. |
degraded | Previously verified, but freshness, provider or device health is below threshold. |
unavailable | The connected instance does not support it. |
partner_gated | Technical path exists but partner activation is missing. |
qualification_required | A market, grid or programme approval is missing. |
revoked | The user or operator withdrew authority. |
Only verified permits live control, and only while freshness, consent and safety checks remain valid.
Connection and protocol paths
AmpVerve can model OEM cloud APIs, aggregator APIs, OCPP, OCPI, Modbus, SunSpec, BACnet, MQTT, OpenADR, IEEE 2030.5, Green Button and utility or tariff feeds. The presence of an adapter, protocol class or brand in source code is not evidence of production credentials, compatible firmware, geographic coverage or a tested live path.
Every connection response should disclose:
connection_methodand provider;- credential owner and expiry, without returning secrets;
- asset and country scope;
- observed and verified capabilities;
- last successful read and command timestamps;
- health, rate limit and relink state;
- fallback mode if the provider is unavailable.
Unsupported assets
Do not return a fake connected asset or a generic success result. The integration flow for an unsupported make, model, protocol or country is:
- accept a compatibility request with manufacturer, model, country and asset type;
- return
request_received, notconnected; - provide a request id and status endpoint;
- assess an existing aggregator, OEM cloud or local gateway route;
- verify the model, account permissions, telemetry and safe command path;
- activate only for the requesting organisation and scope;
- notify the partner when the capability moves to
verified.
Gateway onboarding follows the same rule. A gateway can widen protocol reach, but it cannot create manufacturer permission, grid approval or market qualification.
Lifecycle and deletion
Recommended lifecycle states are requested, authorising, connected, verifying, active, degraded, relink_required, revoked and offboarded. Offboarding must revoke credentials and future control immediately. Telemetry, command and settlement evidence may need retention under contract or regulation; it must not be silently deleted with the registry row.
Safe control and revenue lifecycles
AmpVerve's control model is Forecast -> Optimise -> Execute -> Verify -> Monetise. Each transition has its own evidence and failure state. A forecast or optimisation result must never be treated as proof of execution, savings or revenue.
Optimisation
An optimisation input should include the organisation, site, assets, tariff, forecast, availability, comfort or operational constraints, import and export limits, reserve, user consent and data freshness. Store the input version, solver version, objective, constraints, result and explanation.
Recommended job states are queued, running, succeeded, failed, cancelled and expired. A successful solve means a feasible plan was produced. It does not mean a device accepted or executed it.
Live control
Live asset control is fail closed. Before a command is accepted, verify:
- tenant, role and delegated authority;
- environment is production and simulation is false;
- connected asset identity and verified capability;
- fresh telemetry and current device state;
- safety, comfort, mobility and reserve constraints;
- grid connection and export limits;
- per organisation live control activation;
- idempotency key and command expiry;
- command rate and provider limits.
A command is asynchronous. The API contract should distinguish accepted, sent, acknowledged, executing, succeeded, failed, expired, cancelled and superseded. accepted is not succeeded. Verification should use post-command telemetry and preserve provider acknowledgements.
Smart charging, heating and cooling
Optimisation is available only where the connected asset supports the required read and write capabilities. Smart charging also requires a known charging boundary, user departure or ready-by intent and sufficient energy reserve. Heating and cooling require safe temperature bounds, equipment mode support and an explicit fallback when connectivity is lost.
Tariff arbitrage needs a verified tariff, timezone, tax treatment and import or export price basis. Never mix wholesale, retail, imbalance and flexibility prices without labelling the source and unit.
V2H and V2G
Vehicle telemetry or ordinary charger control does not prove bidirectional capability. V2H or V2G execution additionally requires:
- a compatible EV and bidirectional charger pair;
- firmware, protocol and installation support;
- site export permission and grid limits;
- user reserve, mobility schedule and consent;
- an exercised charge and discharge command path;
- a programme that accepts the asset and metering arrangement for V2G revenue.
V2H savings and V2G market revenue are different products and should be reported separately.
Market access gate model
Use these states for each country, programme and organisation:
| Gate | Evidence required |
|---|---|
relationship_recorded | Executed commercial agreement or approved partner record |
connector_implemented | Reviewed connector and contract tests |
credentials_verified | Production credentials work without exposing secrets |
qualification_approved | Market or programme approval is recorded |
asset_eligible | Asset, site, meter and customer satisfy the programme rules |
enrolled | Programme accepted the enrolment |
dispatch_ready | Notification, scheduling, control and acknowledgement path exercised |
metering_ready | Required interval data passes completeness and quality gates |
settlement_ready | Baseline, performance and reconciliation path exercised |
payout_ready | Payee, currency, tax and payment rail are active |
live | All required gates above are current for this exact scope |
AmpVerve's partnership with Leap in the USA and its work with UK DNOs, NESO and Elexon are market-access routes. They do not by themselves make a country or programme live. The US route through Leap is in development and has no operation in the public API; it stays partner-gated until the connector is deployed and the remaining gates are verified.
Dispatch processing
Dispatch consumers must handle updates, cancellation, overlapping events, priority and duplicate delivery. Store the external event id, version, market, programme, site or group, start and end, requested direction and quantity, received time and raw payload hash. Acknowledge receipt quickly, process asynchronously and reject commands outside the allowed window.
Simulation and communication-test events need explicit flags and separate ledgers. They must not reach live devices or revenue reporting unless a controlled test authorisation says so.
Metering, baseline and settlement
For each dispatch preserve:
- raw meter and asset intervals with provenance;
- timezone, interval boundary, unit and sign convention;
- missing, estimated, substituted and corrected quality flags;
- baseline method and version;
- delivered quantity and performance calculation;
- market statement and settlement version;
- variance, dispute and correction history;
- gross revenue, fees, taxes, customer share and currency;
- link from every payout line to settled evidence.
Settlement ingestion and calculation do not authorise payout. Payout must be a separate idempotent, approved operation that fails closed when payee, tax, currency or bank configuration is incomplete.
Carbon
Operational carbon estimates can use timestamped grid intensity and measured energy. Label them as estimates with geography, source, methodology and data quality. Carbon monetisation additionally requires an accepted methodology, additionality, ownership, double counting prevention, verification, registry or buyer, issuance and settlement. Until those gates are complete, the API must not call an estimate a credit or report saleable revenue.
Platform integration contracts
This guide defines the cross-cutting behaviour every public API family should share. Where the current deployed API differs, ../openapi.yaml is authoritative and the difference is called out below.
Request metadata
Partners should send:
Authorization: Bearer <token>for protected routes;Content-Type: application/jsonfor JSON bodies;Idempotency-Keyfor retryable writes once the endpoint documents support;X-Request-IDwith a unique value for tracing, when supported;traceparentwhen distributed tracing is agreed.
AmpVerve responses should return a request id and rate limit headers. These headers are target behaviour, not a promise for every current endpoint.
Errors
The current API generally returns FastAPI's {"detail": ...} envelope. The stable coded envelope is planned:
{
"error": {
"code": "AV-CONTROL-4091",
"message": "Asset capability is not verified",
"request_id": "req_01J...",
"retryable": false,
"details": {
"asset_id": "site-0412-battery-1",
"required_capability": "power.setpoint.write"
}
}
}Retry only when the operation and error are explicitly retryable. Do not retry authentication failures, tenant mismatches, missing consent, invalid constraints or rejected market actions.
Idempotency
Current telemetry ingestion has no server side idempotency or duplicate detection. Verify ambiguous outcomes before resending.
One operation supports Idempotency-Key today: POST /api/devtools/partner/v1/sandbox/webhooks/test, the only operation that writes with an API key. A repeat of the same request with the same key in the same organisation queues nothing and returns the first 202 body with Idempotent-Replayed: true; the same key with a different event_type or endpoint_id is 409. Only a request that queued an event is remembered. The key is kept, as a hash, on the event it created, for as long as the event is kept.
For every future write:
- keys are scoped by organisation, route and caller;
- the same key and body return the original result;
- the same key with a different body returns
409; - the retention window is documented per endpoint;
- command, bid, settlement and payout writes require idempotency;
- webhook consumers deduplicate on event id.
Pagination
The Partner API lists (GET /api/devtools/partner/v1/alerts, /devices and /telemetry/latest) and the webhook delivery log (GET /api/devtools/webhooks/{endpoint_id}/deliveries) use one cursor pagination. Each takes limit (the page size; default and maximum stated per operation) and an opaque cursor, and answers with its list under its own name plus next_cursor (null on the last page) and has_more:
{
"devices": [],
"next_cursor": "opaque",
"has_more": true
}Follow next_cursor until it is null, sending the first page's filters with every page. Each walk reads every row once, newest first, ties on time broken by the row's identifier. A cursor that cannot be read, belongs to another list or comes with different filters is 400 invalid_cursor. The telemetry window is fixed by the first page. A request without cursor returns the same rows as before pagination. Paging by moving since (alerts) or raising hours (telemetry) still works but is deprecated as a way to page. The sandbox pages the same way, and the SDKs have iter_* (Python) and iter* (TypeScript) helpers. The public Pagination page has a loop in five languages.
Elsewhere pagination is not uniform yet. Some lists return the complete set (API keys and webhook endpoints among them), some use limit, and some use offset or page and page_size. Check each operation.
Clients must treat cursors as opaque and keep stable sort order. Time-series clients should also store the timestamp and source identifier at the page boundary to detect late corrections.
Rate limits
Login is currently limited to five attempts per minute per source IP. Other limits vary by service and plan. Honour Retry-After and use exponential backoff with jitter. Request an agreed ingestion limit before production load testing.
Do not poll high consequence state when a supported webhook exists. Do not exceed an OEM's documented command budget merely because AmpVerve accepts a request.
Asynchronous jobs
Optimisation, connection, backfill, bulk enrolment, dispatch allocation, settlement and export operations should use a common job envelope:
{
"id": "job_01J...",
"type": "optimisation",
"state": "queued",
"submitted_at": "2026-08-20T16:30:00Z",
"expires_at": "2026-08-20T16:35:00Z",
"links": {"self": "/api/platform/v1/jobs/job_01J..."}
}Jobs are organisation scoped, cancellable only where safe, and immutable after terminal state. Results keep input and algorithm provenance. A timeout while polling a job does not cancel it.
Webhooks
An organisation administrator registers an HTTPS endpoint with POST /api/devtools/webhooks and subscribes it to alert.raised, alert.resolved or device.offline. Each endpoint has its own signing secret, shown once at registration and stored encrypted; deliveries are signed with AmpVerve-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>." + raw body>, retried with backoff, and go only to endpoints of the organisation the event belongs to. The schema and headers are under webhooks in the OpenAPI document. Each webhook operation's status label in the reference says whether it is live or available after scheduled maintenance.
The EMS alert routing webhook channel, described under Alerts and events below, is separate. It does not follow this contract: it is a single attempt with no retry, and its signature carries no timestamp.
The delivery contract. Partner webhooks implement every item except replay by id or time range, which is not offered:
- HTTPS endpoints and explicit event subscriptions;
- HMAC-SHA256 signatures over timestamp plus raw body;
- timestamp tolerance and multiple signatures during secret rotation;
- stable event id, type, version, creation time and organisation id;
- at-least-once delivery with documented retries;
- replay by id or time range;
- test events clearly separated from production events;
- dead-letter visibility and disablement after persistent failure.
Receivers should authenticate before parsing, persist the event before returning 2xx, deduplicate by id, process asynchronously and fetch the current resource when ordering matters.
Alerts and events
This section states what alert and event data exists today, how a partner gets it. Paths are relative to https://app.ampverve.com. Every operation named here is scoped to the organisation in your token; its status label in the reference says whether it is live.
What exists
- EMS alerts.
POST /api/hardware/ems/alerts/evaluateruns six sources over stored telemetry and raises or updates one alert per condition, priced in pounds per day where an MPAN and tariff allow:underperformance(a sustained PV shortfall),stopped_asset(an inverter reporting zero through a day generation was expected),comms_gap(half hours with no meter reading, or a gateway heartbeat loss),asset_silence(half hours with no reading from the site's PV or battery),commissioning_failure(a failed commissioning check) andexport_limit_breach(measured export above the site's limit). Severity iscritical,warning,info,loworunpriced, set by the organisation's pounds per day thresholds. - Manufacturer alerts.
GET /api/hardware/solar/manufacturer-alertslists the organisation's inverter manufacturer alerts (filterssite_id,severity,manufacturer,status=open|cleared|all,since; moduleems/alerts). Enphase alerts are the manufacturer's own open events (source: manufacturer). SolarEdge alerts are its own open alerts from Monitoring API V2 (source: manufacturer, code is the SolarEdge type plus#and its alert id). Where SolarEdge reports none or the plan excludes alerts (HTTP 403), AmpVerve still derives alerts from the age of the site's last update (source: derived, codesAV_SE_COMMUNICATION_LOSSandAV_SE_NO_DATA, not SolarEdge fault codes); the two kinds never clear each other. A repeat poll updateslast_seenand never adds a row;cleared_atis set when the manufacturer stops reporting. SMA Sunny Portal is not connected. - Alert lifecycle. An alert is open until resolved. Acknowledge, assign, resolve and comment are separate, attributed actions:
POST /api/hardware/admin/alerts-history/{alert_id}/acknowledge,/assign,/resolveand/comment.GET /api/hardware/admin/alerts-history/statsreports volumes, response times, unowned alerts and alerts closed without a note. The full cross organisation history list is for AmpVerve platform staff only. - Device health.
GET /api/hardware/devices/healthreturns every connected device with its last poll, last success, consecutive failures, whether the integration needs relinking, and a freshness band (healthy,stale,dark,never_worked,pending) judged against that device's own cadence. Device health problems also appear as alert rows in the EMS alert queue. - Notifications.
GET /api/notifications/lists the in app notifications addressed to the calling user, with an unread count, mark read and preferences. Each user sees only their own;VIEWERis refused.
How to get it today
- Poll.
GET /api/hardware/ems/alertsreturns every open alert of the organisation ranked by pound impact per day, including rows raised by the device health poller. Addinclude_resolved=trueto see closed alerts, andsite_idto narrow. Alerts are only raised when an evaluation runs, so callPOST /api/hardware/ems/alerts/evaluatefirst, or on your own schedule. - Push, by arrangement. An EMS routing rule (
/api/hardware/ems/routing/rules) can deliver alerts to email, a Microsoft Teams incoming webhook, or a genericwebhookURL. The webhook body carrieskind,alert_id,organisation_id,site_id,site_name,alert_type,severity,title,message,impact_gbp_per_day,monetary_impact_gbp,band_reason,root_cause,parent_alert_id,created_atandpolicy_id, with the headersX-AmpVerve-Kind(alertorescalation) and, when AmpVerve has provisioned a signing secret for the rule,X-AmpVerve-Signature: sha256=<hex HMAC-SHA256 of the raw body>. Ask your AmpVerve contact to provision the secret; it cannot be set through the API.
The webhook's limits, stated plainly:
- one attempt, a 10 second timeout, no retry; a non 2xx answer is logged as
failedinGET /api/hardware/ems/routing/deliveriesand not resent; - it fires only when routing is called: by an evaluation (newly raised alerts), by
POST /api/hardware/ems/routing/dispatch, or byPOST /api/hardware/ems/routing/escalations/check. No scheduler calls these yet; - each rule delivers an alert once, so deduplicate on
alert_idandkind; - the signature carries no timestamp and so does not by itself prevent replay.
For your own organisation's events
- Partner webhooks for your own organisation's events: register at
POST /api/devtools/webhooks; see the Webhooks section above. Replay by id or time range is not offered. - API keys: keys minted at
POST /api/devtools/apikeysauthenticate only the read operations under/api/devtools/partner/v1, for the key's own organisation. Every other operation still needs a bearer token.
Audit and provenance
Every high consequence operation should be traceable across:
request -> decision -> job -> command or bid -> provider acknowledgement -> telemetry verification -> settlement -> payout
Preserve organisation, actor, delegated authority, environment, timestamps, inputs, outputs, constraints, algorithm and connector versions, raw partner references, evidence hashes and correction history. Audit data is append-only and tenant scoped. Redact secrets and personal data from logs.
OpenAPI, Postman and SDKs
The OpenAPI JSON can be imported into Postman or used with standard generators.
SDKs for Python (sdks/python/) and TypeScript (sdks/typescript/), version 1.0.0, are thin, hand-written clients for the Partner API only (the operations an avk_ key can call under /api/devtools/partner/v1, including the sandbox routes) plus a webhook signature verifier tested against the server's own signer. The console serves the built packages at https://app.ampverve.com/api-docs/sdks/:
pip install https://app.ampverve.com/api-docs/sdks/ampverve-1.0.0-py3-none-any.whl
npm install https://app.ampverve.com/api-docs/sdks/ampverve-sdk-1.0.0.tgzThey are not published to PyPI or npm. Before publishing to a package registry, AmpVerve needs:
- a stable versioned base URL;
- consistent error, pagination and idempotency contracts;
- generated and handwritten tests against an isolated sandbox;
- package ownership, signing and vulnerability handling;
- release notes and deprecation policy.
Until then, clients generated from the full specification are partner-owned artifacts. Do not publish registry installation commands (pip install ampverve, npm install @ampverve/sdk) under the AmpVerve name.
Versioning, changelog and deprecation
Additive response fields can ship without a new path version. Clients must ignore unknown fields. Removing or renaming a field, changing meaning, tightening an enum or changing auth requires a new version or a documented migration window.
Every deprecation notice should state the replacement, announcement date, last supported date and migration guide. High consequence control and settlement contracts need a longer partner test window than read-only endpoints.
For the Partner API, key and webhook management, and webhook events, the policy is stated in openapi.yaml under "Partner API service level and deprecation":
- while an operation is awaiting migration, a non-additive change is recorded in a dated
- once it is live, a breaking change or removal gets at least 6 months'
changelog section no later than the day it ships;
notice: it is announced in the changelog with the replacement and sunset date, marked deprecated: true, its responses carry Deprecation and Sunset headers, and registered API key owners are emailed. It is served unchanged until the sunset date.
Additive changes need no notice.
Service levels and status
There is no SLA yet. /api/telemetry/readyz is the machine-readable ingestion readiness signal. GET /api/devtools/status (public) publishes the observed availability of each public API component from the diagnostics prober's recorded checks, including the developer tools service that serves the Partner API and webhooks. AmpVerve alerts its own operators on Partner API 5xx rate and latency and on webhook delivery lag, dead lettering and dispatcher stalls. These are measurements and internal alerts, not commitments. Contractual SLA, support response, recovery objectives and service credits belong in the signed partner agreement. Documentation should not invent them.
ISO country capability index
The planned global capability service accepts every officially assigned ISO 3166-1 alpha-2 code listed below. This is an input catalog, not a coverage claim.
Default status for every code is research_required. Published guides can still have that status: a guide proves that official routes and activation gates were researched, not that AmpVerve has activated them.
| Code | Country | Status | Guide |
|---|---|---|---|
| GB | United Kingdom, with the market guide scoped to Great Britain | partner_gated | GB |
| US | United States | partner_gated | US |
| AU | Australia, NEM scope with a separate WEM boundary | research_required | AU |
| CA | Canada, province-dependent | research_required | CA |
| DE | Germany | research_required | DE |
| FR | France | research_required | FR |
| IE | Ireland, Republic of Ireland scope | research_required | IE |
| NL | Netherlands | research_required | NL |
| NZ | New Zealand | research_required | NZ |
| DK | Denmark | research_required | Nordics, Denmark |
| FI | Finland | research_required | Nordics, Finland |
| NO | Norway | research_required | Nordics, Norway |
| SE | Sweden | research_required | Nordics, Sweden |
Mobile country metadata supports localisation and disclosure work only. It does not change an energy-market status in this catalog.
All assigned alpha-2 codes
| Initial | Codes |
|---|---|
| A | AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ |
| B | BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ |
| C | CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ |
| D | DE, DJ, DK, DM, DO, DZ |
| E | EC, EE, EG, EH, ER, ES, ET |
| F | FI, FJ, FK, FM, FO, FR |
| G | GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY |
| H | HK, HM, HN, HR, HT, HU |
| I | ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT |
| J | JE, JM, JO, JP |
| K | KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ |
| L | LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY |
| M | MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ |
| N | NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ |
| O | OM |
| P | PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY |
| Q | QA |
| R | RE, RO, RS, RU, RW |
| S | SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ |
| T | TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ |
| U | UA, UG, UM, US, UY, UZ |
| V | VA, VC, VE, VG, VI, VN, VU |
| W | WF, WS |
| Y | YE, YT |
| Z | ZA, ZM, ZW |
XK is used operationally by some systems for Kosovo but is not an officially assigned ISO 3166-1 alpha-2 code. Treat it as a separately governed extension, not as part of this index.
Moving a country out of research
Copy TEMPLATE.md, name it with the alpha-2 code, complete every section with primary evidence and add it to README.md. A country can have mixed outcomes, such as tariff reads available and market revenue unavailable. Never replace the capability matrix with one country-wide boolean.
GB: Great Britain
Readiness
| Field | Value |
|---|---|
| Overall state | partner_gated |
| Evidence date | 2026-08-20 |
| App availability | Separate store decision, not market evidence |
| UK tariff and carbon reads | live for the operations marked live in OpenAPI |
| UKPN and SSEN public flex routes | partner-gated per organisation and credential |
| NESO DFS | AmpVerve appears on the registered provider list; technical and operational gates still apply |
| Elexon | Connector and qualification work exist; do not infer complete settlement or market participation |
| End user revenue | Not globally active; requires programme, asset, dispatch, settlement and payout readiness |
Market structure and routes
AmpVerve's current public API exposes GB tariff and carbon intensity data. The VPP service has connector code for UK Power Networks LocalFlex and SSEN ElectronConnect. Those routes require per-tenant credentials and return a failure when credentials are absent.
NESO's Demand Flexibility Service is a separate national route. NESO publishes current service terms, procurement rules, participation guidance and an API schema. AmpVerve Ltd appears in NESO's registered provider list effective from 9 April 2026. Registration does not prove that a given customer or asset is enrolled, dispatched, measured, settled or paid.
Primary evidence:
- NESO DFS service and current documents
- NESO registered provider list
- UKPN Tender Hub
- repository connector specifications under
backend/services/vpp-aggregator/connectors/
Customer and asset scope
Potential customer segments include households, commercial and industrial sites, fleets and data centres. Programme-specific terms decide actual eligibility. Potential assets include EVs, chargers, batteries, solar, heat pumps, HVAC and other controllable demand, but only assets with valid metering, consent and a verified response path can participate.
V2G additionally needs a compatible EV and charger pair, export permission and a programme that accepts the metering arrangement. Smart charging or V2H capability does not establish V2G market eligibility.
Metering, dispatch and settlement
The programme evidence pack must pin the applicable rule version. It records meter identifier, interval, timezone, sign, quality flags, baseline, event, delivered quantity, correction and settlement statement. DNO and NESO events are not interchangeable, and overlapping instructions require a primacy decision.
Elexon data can support wholesale and imbalance context. Elexon integration work or registration is not proof that AmpVerve is the settlement party for a given service. Revenue is realised only after the relevant counterparty accepts the performance and issues or confirms settlement.
Currency, tax and carbon
Amounts are represented in GBP only where the source market or contract is GBP. Customer payout needs a verified payee, contractual revenue share, tax handling and payment rail. The API does not provide tax advice.
GB grid carbon data is suitable for clearly labelled operational estimates. Carbon credits require a separate methodology, ownership, additionality, verification and double counting process.
Public AmpVerve operations
See ../openapi.yaml for the full schemas:
GET /api/trading/prices/octopus-agile,live;GET /api/trading/prices/regions,live;GET /api/trading/prices/current,live;GET /api/trading/carbon-intensity,live;GET /api/trading/carbon-intensity/forecast,live;GET /api/vpp/vpp/flex/tenders,partner-gated;GET /api/vpp/vpp/flex/contracts,partner-gated;POST /api/vpp/vpp/flex/offers,partner-gated.
The repeated vpp segment is deliberate: the ingress strips /api/vpp and the service mounts these routers at /vpp/flex, so the shorter path this guide listed before 2026-09-12 is not served.
No public NESO DFS operation is in the curated OpenAPI document as of the evidence date.
Open gates
- exercise each partner API with production credentials for the exact tenant;
- complete programme qualification and enrolled-asset evidence;
- exercise notification, dispatch, cancellation and fallback paths;
- validate metering completeness and baseline version;
- reconcile a real settlement statement;
- exercise customer payout end to end;
- document primacy and stacking across DNO and NESO services.
US: United States
Readiness
| Field | Value |
|---|---|
| Overall state | partner_gated |
| Evidence date | 2026-08-20 |
| Market access relationship | AmpVerve partnership with Leap |
| AmpVerve Leap connector | In development; no operation in the public API |
| State and utility coverage | Must be resolved per address, utility, programme and asset |
| End user revenue | Not active until connector, enrolment, dispatch, settlement and payout gates pass |
Market structure and Leap route
US flexibility is not one national programme. Eligibility depends on ISO or RTO, state, utility territory, programme, customer class, meter and device. Leap's official market access page describes offerings in California, Texas, New England, New York and PJM. That is Leap coverage, not automatic AmpVerve coverage.
Leap's developer model follows a meter journey: onboard, manage, transact and monetise. Its current APIs separate meter details and enrolment, support dispatch webhooks and polling, and expose interval, performance and revenue data. AmpVerve should map that lifecycle onto its organisation, site, asset, dispatch, settlement and payout records without leaking Leap identifiers across tenants.
Primary evidence:
- Leap market access
- Leap developer overview
- Leap getting started
- Leap dispatch automation
- Leap event performance and interval data
Customer and asset scope
Potential segments include households, commercial buildings, industrial loads, fleets, charging networks and data centres. Leap supports multiple technology and programme types, but the exact programme requirements determine whether an EV, charger, battery, HVAC, heat pump, meter or other load is eligible.
Before enrolment, resolve the utility account or device programme path, customer authorisation, service address, meter identity, asset characteristics and partner reference. Store Leap meter_id and market group mappings within the owning organisation.
Dispatch and metering
Prefer authenticated webhook delivery where the programme needs short notice, with polling as recovery. Process multiple and overlapping timeslots, priorities, cancellations and test flags. Deduplicate on Leap's event identifiers and preserve the raw notification.
Performance and interval data must remain distinct from final revenue. Leap notes that analytics data can differ from revenue data frozen at settlement. AmpVerve must keep settlement versions and corrections rather than overwriting operational estimates.
Currency, tax and payout
Partner statements are expected to be denominated under the applicable US programme agreement, commonly USD, but the contract is authoritative. Customer payout requires payee onboarding, applicable reporting, revenue-share rules and an exercised payment rail. The API guide does not provide tax advice.
Carbon
US carbon estimates need a named regional factor and timestamp. Market dispatch performance is not automatically a carbon credit. Any monetisation path requires ownership, additionality, methodology, verification, registry or buyer and a double counting control.
AmpVerve technical state and open gates
There is no Leap operation in the AmpVerve public OpenAPI. The connector is in development, and code in development is not deployed capability.
Before any US programme is marked live:
- deploy the connector and verify it in production;
- validate production and staging credentials without exposing them;
- map organisation-scoped sites, meters and partner references;
- implement and test enrolment status synchronisation;
- exercise webhook authentication, replay, cancellation and polling recovery;
- exercise safe dispatch against synthetic and then approved pilot assets;
- reconcile interval, baseline, performance and a real settlement;
- exercise customer payout and correction handling;
- publish programme-specific capability results, not a generic US available flag.
AU: Australia
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| Scope | National Electricity Market (NEM); Western Australia and the Northern Territory require separate guides |
| AmpVerve market access | Not evidenced |
| AmpVerve market connector | Catalogue scaffold only, not a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | A store country selection does not activate an energy capability |
| Asset connection | research_required per manufacturer and model | Production credentials, consent, telemetry and command tests for the exact asset |
| Read-only optimisation | research_required per tenant | Valid tariff, meter and forecast inputs, plus an online asset if the result is to be actionable |
| Live control and smart energy | research_required | Tenant activation, a controllable asset, network limits, consent and a tested safe fallback |
| Grid export or V2G | research_required | DNSP connection agreement, compatible bidirectional equipment and current export limits |
| Flexibility participation | research_required | AEMO participant or intermediary route, classification, qualification and dispatch integration |
| Settlement and customer payout | research_required | Accepted metering, market statement, contract, tax review and an exercised AUD payout |
| Carbon monetisation | research_required | Eligible method, project rights, additionality, monitoring, audit, registry and buyer |
Official market routes
AEMO operates the NEM in Queensland, New South Wales and the Australian Capital Territory, Victoria, South Australia and Tasmania. Western Australia has the separate Wholesale Electricity Market (WEM), and the Northern Territory is not connected to the NEM.
A Demand Response Service Provider (DRSP) can classify qualifying load as a Wholesale Demand Response Unit or plant as an Ancillary Service Unit. AEMO's wholesale demand response route is aimed at qualifying large retail customers and has baseline, telemetry, aggregation and registration requirements.
An Integrated Resource Provider acting as a Small Resource Aggregator can aggregate small production or bidirectional units and may apply to classify plant for market ancillary services. This is a potential route for distributed resources, not evidence that an individual household asset is eligible.
Export remains a connection and network matter. The Australian Energy Regulator recognises two-way pricing and flexible export limits, so a retail export tariff does not override the DNSP's technical envelope.
AmpVerve activation state
The mobile catalogue contains Australian locale, currency and manufacturer metadata. The DNO registry labels the AEMO adapter as scaffold. No production AEMO credentials, participant registration, intermediary contract, classified portfolio, dispatch test, settlement statement or customer payout evidence is in place yet. No Australia-specific operation is present in the curated public OpenAPI contract.
Carbon
The Australian Carbon Credit Unit Scheme only issues units to registered, eligible projects using an approved method, with project rights, monitoring, reporting and audit obligations. An operational estimate of avoided grid emissions from smart charging is not an ACCU and must not be sold as one.
Evidence
- AEMO energy markets and systems, checked 2026-08-20
- AEMO DRSP registration, checked 2026-08-20
- AEMO Small Resource Aggregator registration, checked 2026-08-20
- AER export tariff guidelines, checked 2026-08-20
- AER flexible export limit guidance, checked 2026-08-20
- Clean Energy Regulator ACCU participation requirements, checked 2026-08-20
Open activation gates
- select NEM or WEM scope and the exact state, DNSP and retail route;
- contract with or qualify as the required AEMO participant or intermediary;
- complete asset classification, metering, telemetry, dispatch and cancellation tests;
- enforce DNSP export envelopes for every bidirectional command;
- reconcile an AEMO or intermediary statement and exercise AUD payout;
- approve a carbon method before presenting anything beyond an operational estimate.
CA: Canada
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| Scope | Province, utility and system-operator specific |
| AmpVerve market access | Not evidenced in any province |
| AmpVerve market connector | No verified production IESO, AESO or utility-programme integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Canadian store presence does not create province or utility access |
| Asset or Green Button connection | research_required | Province, utility, consent, production credential and data-quality validation |
| Read-only optimisation | research_required per tenant | Exact retail rate, province, utility, meter and timezone |
| Live control and smart energy | research_required | Online capable asset, backend activation, consent and utility constraints |
| Grid export or V2G | research_required | Local distribution connection, tariff, metering and approved equipment |
| Flexibility participation | research_required | Province-specific operator or utility contract, qualification and enrolled portfolio |
| Settlement and payout | research_required | Programme performance statement, tax review and exercised CAD payout |
| Carbon monetisation | research_required | Applicable federal or provincial protocol, additionality, verification, registry and buyer |
Official market routes
Canada does not have one national electricity-market participation model. Activation must be determined by province, system operator, distributor and utility account.
| Province example | Official route | Boundary |
|---|---|---|
| Ontario | IESO wholesale dispatchable loads and Capacity Auction demand response | Current DER wholesale participation is limited and expanded models are still being developed |
| Alberta | AESO energy and ancillary-services markets | Operating Reserve requires energy-market participation, asset registration and technical integration |
| British Columbia | BC Hydro behavioural and automated demand response | Utility programme eligibility and approved devices apply, not an open national market |
| Quebec | Hydro-Quebec demand-response options | Utility customer, programme and performance rules determine bill credits |
A Green Button or device-data connection can support monitoring but does not confer IESO or AESO participant status, utility programme enrolment, dispatch authority or export permission.
AmpVerve activation state
The mobile application contains Canadian locale, CAD, Green Button and manufacturer catalogue metadata. No province-specific market contract, production operator credential, qualified portfolio, utility programme enrolment, dispatch test, settlement statement or customer payout evidence is in place yet. No Canada-specific operation is present in the curated public OpenAPI contract.
Carbon
Canada's Federal Greenhouse Gas Offset System requires an eligible protocol and reductions beyond business as usual and legal requirements. Provincial systems may differ. Smart-energy avoided-emissions estimates are not federal offset credits and must remain non-monetised without a protocol, project registration, verification, serialisation and buyer.
Evidence
- IESO market participant types, checked 2026-08-20
- IESO DER Roadmap, checked 2026-08-20
- AESO joining the energy and Operating Reserve markets, checked 2026-08-20
- BC Hydro demand response for business, checked 2026-08-20
- Hydro-Quebec demand-response programme update, checked 2026-08-20
- Canada Federal Greenhouse Gas Offset System, checked 2026-08-20
Open activation gates
- select province, utility, tariff, DSO and system operator before capability discovery;
- choose wholesale, utility programme, retail optimisation or export scope;
- obtain participant, aggregator or programme contracts and credentials;
- qualify each asset and validate dispatch, cancellation and metering;
- reconcile programme or market statements and exercise CAD payout;
- complete federal and provincial privacy, consumer and tax review.
DE: Germany
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| AmpVerve market access | Not evidenced |
| AmpVerve TSO or BSP connector | Not present as a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Store presence does not grant supplier, DSO, TSO or market access |
| Asset connection | research_required per manufacturer and model | Verified consent, production API or gateway, telemetry and command path |
| Read-only optimisation | research_required per tenant | Valid tariff and meter inputs and correct German market-location mapping |
| Live control and smart charging, heating or cooling | research_required | Backend activation, capable asset and compliance with section 14a controls |
| Grid export or V2G | research_required | DSO connection, metering, registration and export permission for the exact site |
| Flexibility and balancing participation | research_required | BSP route, product prequalification, portfolio mapping and live TSO communications |
| Settlement and payout | research_required | BRP and BSP allocation, accepted activation data, invoice and exercised EUR payout |
| Carbon monetisation | research_required | A separate eligible methodology, rights, verification, registry and buyer |
Official market routes
Germany's four transmission system operators procure balancing services through the joint Regelleistung platform. A prospective Balancing Service Provider must prequalify technical units and pass the required operating evidence before it can offer a reserve product.
Section 14a of the Energy Industry Act applies network-oriented control rules to specified controllable consumption devices, including private EV charging, heat pumps, cooling equipment and storage while consuming. It provides reduced network charges in exchange for controllability. It is not a balancing-market contract and it does not by itself create a customer revenue stream.
The Federal Network Agency's Market Master Data Register requires market actors and installations such as solar and stationary battery storage to be registered. Registration does not prove dispatch qualification or export permission.
AmpVerve activation state
The mobile application includes German locale, EUR and manufacturer catalogue metadata, and the DNO catalogue contains scaffold records. Those records are discovery metadata only. No tenant-scoped German BSP agreement, prequalified unit, TSO production credential, exercised dispatch, settlement statement or customer payout is in place yet. No Germany-specific operation is present in the curated public OpenAPI contract.
Carbon
The EU Union Registry accounts for EU ETS allowances and compliance. It does not turn a household smart-energy estimate into a tradeable credit. AmpVerve would need a separately approved voluntary or compliance methodology, ownership, additionality, verification, registry and double-counting controls.
Evidence
- German balancing-service prequalification, checked 2026-08-20
- Federal Network Agency section 14a consumer guidance, checked 2026-08-20
- Federal Network Agency Core Energy Market Data Register, checked 2026-08-20
- European Commission Union Registry, checked 2026-08-20
Open activation gates
- select the balancing products and contracting BSP or become qualified;
- map every asset to market location, metering operator, DSO, BRP and portfolio;
- complete section 14a technical and commercial compliance for controlled load;
- prove export permission separately from import-side controllability;
- exercise prequalification, bidding, activation, metering, settlement and EUR payout;
- complete GDPR roles, retention and cross-border transfer review.
FR: France
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| AmpVerve market access | Not evidenced |
| AmpVerve RTE or Enedis connector | Catalogue scaffold only, not a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Store presence is not French market qualification |
| Asset or Linky connection | research_required | User consent, production credential, correct site and validated interval data |
| Read-only optimisation | research_required per tenant | Contracted tariff, meter basis and complete data |
| Live control and smart energy | research_required | Online capable asset, tenant activation, consent and safe fallback |
| Grid export or V2G | research_required | Enedis or local DSO connection, export contract, meter and compatible equipment |
| Flexibility, demand response and reserves | research_required | RTE agreement, technical approval, balance perimeter and qualified portfolio |
| Settlement and payout | research_required | Validated load-reduction data, supplier compensation, statement and EUR payout |
| Carbon monetisation | research_required | Approved methodology, ownership, verification, registry and buyer |
Official market routes
RTE operates the balancing mechanism, frequency services and capacity mechanism. Demand-side resources can participate when their operator satisfies the relevant market rules and technical requirements.
RTE's current NEBCO demand-response route, historically known as NEBEF, allows eligible consumption reductions to be valued on energy markets. A Demand Response Aggregator must sign the market participation agreement, obtain technical approval and have a balance perimeter directly or through a Balance Responsible Party. RTE verifies delivered load reduction under the selected control method, and supplier compensation rules form part of the financial path.
The fact that mainland consumption sites may be technically eligible does not mean that every household, device or aggregation is qualified.
AmpVerve activation state
The mobile catalogue lists France, EUR, Linky and manufacturer metadata. No production Linky consent flow, RTE information-system access, signed NEBCO or balancing agreement, approved portfolio, dispatch test, supplier-compensation reconciliation, settlement statement or customer payout evidence is in place yet. No France-specific operation is present in the curated public OpenAPI contract.
Carbon
EU ETS allowance accounting is not a crediting method for household energy savings. Carbon impact may be estimated only with a named factor and data basis. Monetisation remains off until a separate method, rights, verification, registry and buyer are approved.
Evidence
- RTE balancing, demand response and capacity mechanisms, checked 2026-08-20
- RTE participation in the NEBCO mechanism, checked 2026-08-20
- RTE NEBCO supplier compensation, checked 2026-08-20
- RTE 2026 market-rule versions, checked 2026-08-20
- European Commission Union Registry, checked 2026-08-20
Open activation gates
- select NEBCO, balancing, frequency or capacity product and contracting route;
- obtain RTE information-system access, agreement and technical approval;
- establish the BRP and supplier-compensation model;
- validate Linky or other metering consent, interval quality and baseline method;
- test activation, cancellation, correction, settlement and EUR payout;
- complete GDPR and French consumer disclosure review.
IE: Ireland
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| Scope | Republic of Ireland; Northern Ireland has separate SONI and jurisdictional requirements |
| AmpVerve market access | Not evidenced |
| AmpVerve EirGrid, SEM or ESB Networks connector | Not present as a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Store presence does not establish Irish programme access |
| Asset or meter connection | research_required | Production consent, exact MPRN and validated meter or device data |
| Tariff optimisation | research_required per tenant | Contracted tariff, interval alignment and supplier-specific terms |
| Live control and smart energy | research_required | Online controllable asset, backend activation, user limits and safe fallback |
| Grid export or V2G | research_required | ESB Networks connection, export meter and compatible approved equipment |
| SEM or system services | research_required | Registered and tested providing unit, aggregator route and EirGrid communications |
| Distribution flexibility | research_required | ESB Networks procurement, eligible location, contract and dispatch path |
| Settlement and payout | research_required | Accepted performance, market or contract statement and exercised EUR payout |
| Carbon monetisation | research_required | Separate methodology, ownership, verification, registry and buyer |
Official market routes
EirGrid defines a Demand Side Unit as one or more Individual Demand Sites that can be instructed to reduce demand. The published setup route requires at least 4 MW for a registered DSU, permits aggregation and requires Grid Code testing. Providing units seeking system-services contracts must also demonstrate their capability through the relevant compliance and testing process.
ESB Networks procures distribution flexibility for specified needs. Its Demand Flexibility Product is location-specific and contract-based. An announced product or national policy target is not an open API or automatic residential revenue path.
The Commission for Regulation of Utilities describes dynamic tariffs available from June 2026. A dynamic retail tariff can support optimisation, but only when the customer's supplier, contract and half-hour prices are verified.
AmpVerve activation state
The mobile application contains Irish locale, EUR and manufacturer catalogue metadata. No EirGrid or SEM participant registration, qualified DSU, ESB Networks flexibility contract, production market credential, dispatch test, settlement statement or customer payout evidence is in place yet. No Ireland-specific operation is present in the curated public OpenAPI contract.
Carbon
Estimated operational carbon impact is separate from a verified unit. EU ETS registry infrastructure does not by itself credit household demand shifting. Carbon monetisation remains off until a method, rights, verification, registry and buyer are approved.
Evidence
- EirGrid Demand Side Unit setup and testing, checked 2026-08-20
- EirGrid DS3 programme, checked 2026-08-20
- ESB Networks Demand Flexibility Product, checked 2026-08-20
- CRU dynamic price tariffs, checked 2026-08-20
- European Commission Union Registry, checked 2026-08-20
Open activation gates
- choose DSU, system-services, distribution-flex or tariff-only scope;
- contract with the required aggregator or complete participant registration;
- qualify the portfolio and complete Grid Code and communication tests;
- verify MPRN, meter interval, baseline, event and correction rules;
- reconcile settlement or contract invoices and exercise EUR payout;
- document Republic of Ireland versus Northern Ireland routing and data roles.
NL: Netherlands
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| AmpVerve market access | Not evidenced |
| AmpVerve TenneT or GOPACS connector | Not present as a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Store presence does not establish Dutch energy access |
| Asset or P1 connection | research_required | Production data path, consent, meter identity and validation for the exact installation |
| Read-only optimisation | research_required per tenant | Valid tariff, imbalance or other price source and complete meter data |
| Live control and smart energy | research_required | Online capable asset, backend activation, grid constraints and safe fallback |
| Grid export or V2G | research_required | DSO connection terms, metering and permission for the exact site and equipment |
| Flexibility and TSO balancing | research_required | TenneT BSP recognition, product prequalification, framework agreement and communications |
| Local congestion flexibility | research_required | GOPACS CSP access, product and location eligibility, bid and dispatch integration |
| Settlement and payout | research_required | BRP treatment, accepted performance, statement, tax review and exercised EUR payout |
| Carbon monetisation | research_required | Separate methodology, ownership, verification, registry and buyer |
Official market routes
TenneT procures balancing services from recognised Balancing Service Providers. FCR, aFRR and mFRR products have distinct prequalification, bidding, communications and framework-agreement requirements. Imbalance settlement and balancing-service settlement must not be treated as the same ledger.
GOPACS is a joint initiative of Dutch grid operators for congestion management. Its products include congestion-service contracts and redispatch routes. A flexibility need is location and time specific, and a market participant or Congestion Service Provider must satisfy the applicable product conditions.
A P1 port or smart-meter catalogue entry is only a possible local telemetry method. It does not confer TenneT BSP status, GOPACS access or export permission.
AmpVerve activation state
The mobile application contains Dutch locale, EUR, P1 and manufacturer catalogue metadata. The DNO registry has a TenneT scaffold record. No recognised BSP or CSP role, prequalified portfolio, production credential, live dispatch, settlement statement or customer payout evidence is in place yet. No Netherlands-specific operation is present in the curated public OpenAPI contract.
Carbon
EU ETS allowance accounting does not issue a carbon credit for shifting a home's electricity use. AmpVerve carbon monetisation remains unavailable until a separate method, ownership, additionality, verification, registry and buyer are approved.
Evidence
- TenneT aFRR manual for Balancing Service Providers, checked 2026-08-20
- TenneT BSP recognition and data-processing agreement, checked 2026-08-20
- GOPACS congestion-management platform, checked 2026-08-20
- European Commission Union Registry, checked 2026-08-20
Open activation gates
- choose TenneT reserve products, GOPACS products or both and document stacking rules;
- obtain BSP or CSP agreements and product prequalification;
- map each asset to DSO, connection, meter, BRP and congestion area;
- validate bidding, activation, cancellation and real-time communications;
- reconcile accepted performance and exercise EUR customer payout;
- complete GDPR roles, consent, retention and cross-border transfer review.
Nordics: Denmark, Finland, Norway and Sweden
Readiness
| Field | Value |
|---|---|
| Overall state | research_required for DK, FI, NO and SE |
| Evidence date | 2026-08-20 |
| AmpVerve market access | Not evidenced in any Nordic country |
| AmpVerve TSO connector | Not present as a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision for each country | Store presence is not TSO or reserve-market access |
| Asset connection | research_required per manufacturer, model and country | Production credential, consent, telemetry and command tests |
| Read-only optimisation | research_required per tenant | Country, bidding zone, retail tariff, meter and timezone |
| Live control and smart energy | research_required | Online capable asset, backend activation, consent and network limits |
| Grid export or V2G | research_required | National and DSO connection rules, metering and compatible equipment |
| Flexibility and reserve participation | research_required | National BSP agreement, product prequalification and TSO communications |
| Settlement and payout | research_required | Country and product settlement, BRP handling and exercised local-currency payout |
| Carbon monetisation | research_required | Separate methodology, ownership, verification, registry and buyer |
Official market routes
Country distinctions
Nordic balancing cooperation does not create one commercial onboarding path. Each TSO qualifies providers and resources under national terms, while products, bidding zones, currencies, balance responsibility and technical interfaces can differ.
| Country | TSO | Currency | Official route and boundary |
|---|---|---|---|
Denmark (DK) | Energinet | DKK | FCR, aFRR and mFRR tender conditions apply. DK1 and DK2 are distinct bidding and synchronous contexts. |
Finland (FI) | Fingrid | EUR | Reserve markets accept consumption, storage and aggregation. Independent aggregation is allowed only under the applicable product terms. |
Norway (NO) | Statnett | NOK | FFR, FCR, aFRR and mFRR are procured through reserve-market arrangements with Norwegian bidding-zone and qualification rules. |
Sweden (SE) | Svenska kraftnat | SEK | The TSO procures support services from production, adjustable consumption and storage, subject to product qualification and communications. |
The common Nordic mFRR and evolving European-platform work affects market design and interfaces. It does not remove the need for national agreements, prequalification, asset mapping, BRP treatment or settlement validation.
AmpVerve activation state
The mobile application contains locale, currency and manufacturer catalogue metadata for Denmark, Finland, Norway and Sweden. The DNO catalogue contains planned TSO records for Finland and Sweden. No national BSP agreement, prequalified unit or group, production market credential, exercised activation, settlement statement or customer payout evidence is in place yet. No Nordic-country-specific operation is present in the curated public OpenAPI contract.
Carbon
Operational carbon estimates must identify the bidding zone, time interval, factor source and whether the value is marginal or average. They are not carbon credits. No Nordic carbon-credit methodology, verifier, registry or buyer is activated for AmpVerve.
Evidence
- Energinet ancillary-services tender conditions, checked 2026-08-20
- Fingrid reserve markets, checked 2026-08-20
- Fingrid independent aggregation, checked 2026-08-20
- Statnett reserve markets, checked 2026-08-20
- Svenska kraftnat balancing market, checked 2026-08-20
Open activation gates
- choose country, bidding zone, product and contractual BSP route;
- obtain national TSO agreements and prequalify the exact resource group;
- map resources to DSO, meter, BRP and product-specific aggregation rules;
- implement and test bidding, activation, acknowledgement, cancellation and telemetry;
- validate capacity and energy settlement separately and exercise payout in DKK, EUR, NOK or SEK;
- document stacking and primacy across local, national, Nordic and European products.
NZ: New Zealand
Readiness
| Field | Value |
|---|---|
| Overall state | research_required |
| Evidence date | 2026-08-20 |
| AmpVerve market access | Not evidenced |
| AmpVerve System Operator or WITS connector | Not present as a verified production integration |
Capability separation
| Capability | AmpVerve state | What must be true |
|---|---|---|
| App availability | Separate store decision | Store presence does not establish New Zealand market participation |
| Asset connection | research_required per manufacturer and model | Production credentials, consent, telemetry and command tests |
| Read-only optimisation | research_required per tenant | Contracted retail or spot exposure, nodal basis and validated interval data |
| Live control and smart energy | research_required | Online capable asset, tenant activation and tested safe fallback |
| Grid export or V2G | research_required | Distributor connection, metering and export terms for the exact installation |
| Flexibility and demand-side market participation | research_required | Registered purchaser or agent, approved station, WITS and dispatch integration |
| Settlement and payout | research_required | Accepted meter validation, clearing statement, contract and exercised NZD payout |
| Carbon monetisation | research_required | Eligible NZ ETS or other method, rights, verification, registry and buyer |
Official market routes
The Electricity Authority describes three wholesale demand-side mechanisms: dispatchable demand, dispatch notification and difference bids. Dispatchable demand is intended for large consumers above 10 MW and requires real-time telemetry and binding dispatch. Dispatch notification can serve loads above 1 MW and below 10 MW, including aggregated household resources, with monthly meter verification and the ability to decline a notification within the rules. Difference bids signal price sensitivity but do not receive dispatch or revenue.
Participation requires the relevant industry role or agent, an approved dispatch-capable station, acceptable metering and access to the Wholesale Information and Trading System. A public spot price feed alone does not satisfy these gates.
AmpVerve activation state
The mobile application contains New Zealand locale, NZD and manufacturer catalogue metadata. No market participant or agent agreement, approved load station, WITS production credential, dispatch integration, settlement statement or customer payout evidence is in place yet. No New Zealand-specific operation is present in the curated public OpenAPI contract.
Carbon
The New Zealand Emissions Trading Scheme creates NZUs for activities covered by its rules. It does not automatically issue units for a household smart-charging estimate. AmpVerve needs a verified eligible method, legal rights, monitoring, registry controls and a buyer before carbon monetisation can be enabled.
Evidence
- Electricity Authority demand-side participation, checked 2026-08-20
- Electricity Authority WITS, checked 2026-08-20
- Electricity Authority real-time dispatch and pricing, checked 2026-08-20
- Ministry for the Environment NZ ETS overview, checked 2026-08-20
Open activation gates
- choose dispatchable demand, dispatch notification or a retail-only route;
- secure participant or agent status and System Operator approval;
- integrate WITS, dispatch messaging, acknowledgements and withdrawal states;
- validate meter, GXP, baseline and monthly verification processes;
- reconcile clearing or partner statements and exercise NZD payout;
- complete Privacy Act, consent, retention and data-location review.
Partner Programme
For OEMs, EMS, BMS and solar platforms, fleet and charging operators, home energy apps and market partners that build on the AmpVerve API.
Access and cost
- No integration fee. AmpVerve charges no fee to integrate with the API.
- Getting started. Request API access for an organisation. Its administrator then issues API keys and registers webhook endpoints in Settings, API access; see Authentication.
- A sandbox for every organisation. Simulated sites, devices, telemetry, alerts and test webhooks, selected by a sandbox key on the production base URL. See Sandbox.
- A non-production organisation on request for testing the operations that take an access token. See Environments and base URL.
- Market access is agreed per partner. Flexibility and market operations are Available on request: each market needs its own credentials, commercial access and qualification, agreed with AmpVerve before an offer can succeed.
- Integration support by email at api@ampverve.com. See Support.
Data protection and retention
- Your organisation's data stays in your organisation. Every request is scoped to the organisation in the credential; no header, parameter or body field can name another.
- Roles and retention are agreed before production. Before you send customer data, you and AmpVerve agree the data controller and processor roles and how long telemetry and other records are kept, as in the production access checklist of the getting started guide.
- Export at any time. An organisation administrator can export the organisation's data with POST /api/organisations/export, as JSON Lines or CSV, with no support ticket and no egress fee.
- Deletion keeps evidence, not people. When a user's account is deleted on request, AmpVerve's deletion procedure deletes or pseudonymises that person's personal data and keeps the records that are settlement, payout or tax evidence.
- Minimal webhook payloads. Events carry identifiers, type, severity, title and times. An alert's message and context are never sent, because they can hold personal data.
- Credentials. API keys are stored only as an HMAC-SHA256 under a server secret, and webhook signing secrets are stored encrypted. Both are shown once.
- Hosting. The platform's application cluster runs on Microsoft Azure in the West Europe region.
SDK licence
The Python and TypeScript SDKs are AmpVerve proprietary software, not open source: their package metadata declares them proprietary, and they carry no open source licence. They are downloaded from app.ampverve.com, not from PyPI or npm. The OpenAPI document works with standard generators if you prefer to generate your own client.
Roadmap
Partner capabilities AmpVerve is building. Everything in this section is Planned: not available today, not in the specification, and not something to build against yet. No dates are committed. An item moves into the guides and the API reference, with its status label, when it is deployed.
Partner capabilities
| Capability | What it is for | Status |
|---|---|---|
| Partner enrolment API | Create sites, register assets and link each asset to its owner's consent through the API, for the end customers you serve. Today a site is onboarded with an access token, and vendor accounts and their consent are connected in the AmpVerve app. | Planned |
| OAuth 2.0 client credentials | Machine to machine access tokens for an integration, in place of an integration user's login. | Planned |
| Hosted consent page | A page hosted by AmpVerve where your end customer gives, reviews and withdraws consent for your integration. | Planned |
| Flexibility: availability submission | Submit the flexibility your assets can offer, by period. | Planned |
| Flexibility: dispatch notices | Receive the dispatch instructions for your enrolled assets. | Planned |
| Flexibility: delivered versus baseline results | For each event, the energy delivered compared with the baseline. | Planned |
| Flexibility: per event earnings statements | A statement of the earnings from each event. | Planned |
API consistency
| Improvement | What changes | Status |
|---|---|---|
| Partial success in telemetry ingestion | An ingestion response that says which records were stored and which were not, so a client resends only what failed. | Planned |
| One device status vocabulary | The same set of device status values in every operation that reports a device's status. | Planned |
| One error format | The error envelope the developer tools and Partner API use today, with error.code, error.message and error.request_id, on every operation. | Planned |
Until these ship, the guides above describe how each area works today: batching and detecting bad data for ingestion, and Errors for the formats in use.
Security
- Tenant isolation. Every request is scoped to the organisation in the credential, never to a client supplied parameter. A conflicting
X-Tenant-IDheader is refused with403. - API keys are stored only as an HMAC-SHA256 under a server secret and are shown once. Webhook signing secrets are stored encrypted and shown once.
- Webhook targets must be public HTTPS hosts; the address is checked again before every delivery and redirects are not followed.
- Vendor credentials you supply for device integrations are never echoed back in a response.
Report a vulnerability to security@ampverve.com. Please never test against another organisation's data. See also the security overview.
Support
API access
Request API access for credentials, a non-production organisation or a commercial conversation.
Integration support
api@ampverve.com
Specification questions, credentials and expected load.
Security
security@ampverve.com
Vulnerability reports.
Status Live
API status
Each API component's state now and its availability over 24 hours, 7 days and 30 days, counted from recorded health checks. Machine readable at GET /api/devtools/status, no credential.
Check the status page before reporting an outage. A component with no recent health check shows as not observed rather than operational, and incidents are shown to signed in organisations in the console.
What to include in a report
- Your organisation identifier and the affected
site_idorasset_id. - The exact request: method, full path and headers with the credential removed.
- The full response body and status code, with UTC timestamps.
- The output of
GET /api/telemetry/readyzat the time.
This page's API reference is generated from the specification at app.ampverve.com/api-docs/openapi.json. If an operation does not respond as described, report it to api@ampverve.com.
AmpVerve Platform API
The Postman collection (v2.1) is built from the same specification. It holds the operations an API key can call and the public ones, with each operation's status label in its description. Set its apiKey variable to your key; baseUrl defaults to https://app.ampverve.com.
For AI assistants and search tools: llms.txt indexes every operation with a link to it on this page.
Generated from the OpenAPI document: AmpVerve Platform API, version 2026-10-15, OpenAPI 3.1.0, 403 operations and 8 webhook events. This is the outline published with the page: every operation with its summary, parameter names and response codes. In a browser with JavaScript the page reads the deployed document and adds request and response schemas, examples and request samples, so the reference matches what is deployed. Without it, they are in the downloadable specification above.
Request samples: curl; Python 3.8 or later, standard library only; JavaScript for Node.js 18 or later, saved as an ES module (.mjs) so top level await works; Go and Ruby, standard library only. Each reads its credential from AMPVERVE_API_KEY or AMPVERVE_TOKEN. A value in braces, such as {site_id}, is yours to fill in.
305
Live
87
Available after scheduled maintenance
3
Available on request
8
Demo environment
What each label means is in Status labels.
Base URL
| URL | Status | Notes |
|---|---|---|
https://app.ampverve.com | Live | Production, and the sandbox: a sandbox API key selects the sandbox on this same base URL. Verified 2026-07-31. |
Every code sample on this page uses https://app.ampverve.com, the only base URL that is live. A sandbox API key selects the sandbox on the same base URL; see Sandbox.
Resources
Webhooks
Webhook events, Webhook endpoints
Connect
Site onboarding, Assets, Devices, Fleet telematics, Ingestion, Data integrity, Gateway link and buffering, Home Assistant connector
Monitor
Telemetry, Site energy, EMS reporting, EMS alerts, EMS alert routing, Alerts, Field, Notifications, Fleet readiness, Fleet optimiser, School bus fleet V2G
Optimise
Tariffs and prices, Charges and pricing, Retail tariffs, Hub, Forecasting, Optimisation, AI Brain, EMS control, EMS grid connection, Decision log, Plan studies
Flex and markets
Flexibility, VPP enrolment
Settle and report
Energy ledger and PPA, Carbon and emissions, Certificates, Settlement, Fleet savings statements, Data export
Commercial
CRM, Lead intake
Developer tools
API keys, Partner API, Sandbox
Platform and access
Authentication, Site access, Audit log, Platform, Platform status
Demo environment
Demo environment
Security schemes
bearerAuth http bearer (JWT)
The credential for every operation except the Partner API ones, which take apiKeyAuth instead.
Obtain an access token from POST /api/auth/login. Send it on every request as Authorization: Bearer <access_token>.
The token is an HS256 JWT carrying sub, tenant_id, org_id, roles, iat and exp. Lifetime is 60 minutes. Refresh with POST /api/auth/token/refresh, which rotates both tokens.
Every request is scoped to the tenant_id in the token. There is no way to read another organisation's data with your token, and supplying an X-Tenant-ID header that disagrees with the token is rejected with 403.
There is no scope model. Authorisation is by role: ORG_ADMIN, OPERATOR, ANALYST, RESEARCHER, VIEWER. Ingestion requires ORG_ADMIN, OPERATOR or ANALYST.
apiKeyAuth http bearer (AmpVerve API key (avk_...))
An organisation scoped API key, issued once by an organisation administrator at POST /api/devtools/apikeys and sent as Authorization: Bearer avk_<12 hex>_<43 base64url>.
Accepted only by the Partner API operations under /api/devtools/partner/v1 and the Home Assistant connector operations under /api/telemetry/connectors/home-assistant/v1, and those accept nothing else: a JWT there is 401, and a key on any other operation is 401.
The organisation is the one the key was issued to. Headers such as X-Tenant-ID are ignored. Each operation requires a scope (alerts:read, devices:read, telemetry:read, or telemetry:write for the Home Assistant connector, which pushes readings and grants no control); a missing scope is 403 with code insufficient_scope and required_scope naming the scope (and, in the default application/json form, the earlier {"detail": {"error": "insufficient_scope", "required_scope": ...}}). Revoked, expired and unknown keys are 401. Each key is limited to 600 requests a minute (429 with Retry-After). On both sets of operations every response also carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, RateLimit-Policy and X-Request-Id, and every error is problem details (ProblemDetails, or ErrorEnvelope without Accept: application/problem+json).
Keys are stored as HMAC-SHA256 under a server secret with a public prefix; AmpVerve cannot show a key again after creation.
A sandbox key (issued with environment=sandbox) has the same format and rules. Its organisation is your sandbox organisation, and the Partner API answers it with simulated data; see the Sandbox tag.
The machine readable specification is at https://app.ampverve.com/api-docs/openapi.json.
Webhook events
Events AmpVerve sends to an HTTPS endpoint you register, described as the request AmpVerve makes to your endpoint. Each delivery is signed with AmpVerve-Signature; verify it over the raw body before parsing.
How to verify a delivery, the retry schedule and sample receivers are in the Webhooks guide.
Webhook endpoints
Register, change, test and delete the HTTPS endpoints that receive webhook events, rotate their signing secrets and read their delivery log. Organisation administrators only.
Your organisation is told, as an open alert in its own alert stream, when an endpoint is disabled after repeated failures (partner_webhook_disabled) and when an API key will expire within 14 days and has not been rotated (partner_api_key_expiring). Each alert resolves itself when the endpoint is re-enabled or deleted, or the key is rotated, revoked or expires.
Site onboarding
Templated site creation with device discovery, a proposed point mapping to confirm, and the elapsed time from start to confirmation.
Assets
The asset registry. An asset is the thing telemetry is about. A site groups assets at one physical location; site_id is your own identifier. The operations under /api/twin/registry (twin module) add asset classes, a site's single line topology and device import.
Devices
Connected chargers, solar, batteries, heat pumps, vehicles and smart meters of the organisation, when each last reported, and the connectivity and freshness of every connected device.
Fleet telematics
The latest measured position and ignition state of each vehicle from the organisation's vendor telematics feed.
Ingestion
Push telemetry into AmpVerve. This is the surface a data provider integrates against. Read the Ingestion guide in the published documentation before building: the canonical field mapping, the anomaly contract, and the current absence of server side deduplication all materially affect how you should write your client.
Data integrity
Commissioning checks and the asset inventory they run against.
Gateway link and buffering
The site gateway's communications watchdog and its offline buffer.
Communications. Heartbeat, status and check accept production organisations, where they record state only; the automatic watchdog walks demo sites only. Gateways authenticate with a user style bearer token; there is no device credential yet.
Buffer replay writes production telemetry. The rehearsal operations act on the demo environment only and are listed under Demo environment.
Home Assistant connector
The AmpVerve Home Assistant connector runs in a home next to Home Assistant and pushes normalised telemetry with an organisation API key (scope telemetry:write). The v1 operations are the connector's; the others are for people in the organisation to review the discovery report, confirm the mapping and watch connectivity health. The connector reads the home's devices through Home Assistant and writes readings to AmpVerve. No operation sends or queues a command to the home.
Telemetry
Read back what you and your devices have written.
Site energy
Site energy accounting from stored telemetry: the self-consumption and export split, battery state, the portfolio league and the capacity review. Every figure carries its quality and provenance.
EMS reporting
EMS sites and their settings, reports with figure level lineage back to the readings they came from, and PV underperformance with the loss priced.
EMS alerts
The alert queue ranked by pound impact per day, its evaluation, and the organisation's severity thresholds.
EMS alert routing
Rules that deliver EMS alerts by site, role and severity floor to one channel each (email, a Microsoft Teams incoming webhook, or a generic signed webhook), the escalation check, and the delivery log.
Delivery happens only when something calls it: newly raised alerts are routed by POST /api/hardware/ems/alerts/evaluate, open alerts by POST /api/hardware/ems/routing/dispatch, and escalations by POST /api/hardware/ems/routing/escalations/check. There is no scheduler that calls these yet. Each webhook delivery is a single attempt with a 10 second timeout and no retry; a non 2xx answer is recorded as failed. The webhook signing secret is held by AmpVerve: ask your AmpVerve contact to provision one for a rule. Requires the ems/routing module.
Alerts
The alert lifecycle actions (acknowledge, assign, resolve, comment) and the queue statistics, scoped to your organisation. The full alert history list is for AmpVerve platform staff only; read your organisation's alerts with GET /api/hardware/ems/alerts, which returns every alert row of the organisation, including those raised by the device health poller.
Field
AmpVerve Field: work orders raised by hand, from an alert or from a stale device feed, assigned to a named person or contractor, moved through an enforced lifecycle against per organisation SLA policies, with the dispatch list and the SLA report. Requires the field module.
Notifications
In app notifications and notification preferences of the calling user. Every list is the caller's own; there is no organisation wide view here.
Fleet readiness
Departure assurance for any fleet organisation: the readiness board (every vehicle against its next departure), the depot operating envelope and the flexibility envelopes, and the departure requirements that drive both. Sites are the organisation's own workspaces of type site; no tenant is named in code.
Fleet optimiser
FleetGrid Optimiser: advisory, read only plans and what-ifs for the organisation's own fleet and sites. A fleet charging and V2G plan, a site plan across EV, battery and solar, a depot capacity what-if and a per vehicle savings statement. Maturity is Advisory: nothing is sent to a charger, vehicle, battery or inverter, nothing is written to a market, and no revenue or price per MW is estimated. Missing data is status: unknown with reasons, never zero. Every request is bounded (horizon, fleet size, solver time, concurrent solves, requests a minute).
School bus fleet V2G
School bus fleet V2G: buses, routes and timetables, charger assignments, site constraints and programme eligibility gates, and (in later releases) the route-readiness guard, the advisory planner and the evidence ledger. Off for every organisation until a platform administrator switches it on; every route but the settings read answers 403 fleet_v2g_not_enabled until then. Route readiness, the battery warranty and the site's written export permission always come before value; a missing value is unknown, never zero. Nothing is sent to a charger, vehicle or market.
Tariffs and prices
UK electricity import and wholesale price signals, sourced live from Octopus Energy and Elexon BMRS, the GSP region codes, and the distribution network operator for a postcode.
Charges and pricing
The GB charge library (DUoS, TNUoS, BSUoS, CCL, capacity bands), MPAN configuration, the charge stack for an MPAN and the pricing engine that puts a pound figure, or an honest reason for its absence, beside every kWh.
Retail tariffs
AmpVerve Tariff: retail tariff definitions (versioned, append only), line item bills from stored half hourly readings or an uploaded CSV, tariff comparison, smart band design from a cost curve and cost plus pricing. The arithmetic is in backend/core/tariff; every rate is stated and none is defaulted.
Hub
Public charging site operations on the OCPP charger stack: grid aware price schedules with published floor, ceiling and change limits, per connector quotes, itemised session costs from stored meter values, Public Charge Point Regulations 2023 checks, reliability and utilisation, and import limit sharing. Load sharing sends charging profiles on the demo realm only.
Forecasting
Per site weather, solar and demand forecasts as the optimiser uses them: the method behind each, whether it is validated for the site by backtest, forecast against measured, and freshness. Nothing here sends a command to a device.
Optimisation
Import limit planning and the day-ahead battery tariff schedule.
Optimisation is advisory and on demand. The tariff schedule and import limit runs produce a plan when called. There is no approve or activate API and no rolling re-optimisation. The forecast basis is measured persistence: the site's own last stored half hours carried forward. POST /api/optimiser/import-limit/{site_id}/run with dispatch=true executes only in the demo realm.
AI Brain
The optimiser's awareness layers per site: each of the twelve layers reported live, fallback or missing with its source, freshness and validation, and shadow plans that record which layers they used. Shadow only: nothing here sends a device command or a market write.
EMS control
Setpoint writes, export limitation and human overrides.
What control acts on today. Control writes go through one function, verified_setpoint_write: send the command, record the device's acceptance, read the device back independently, and return a verdict of verified, readback_mismatch (accepted but not applied), unconfirmed (device unreachable) or rejected. Today it acts on synthetic demo devices only. There is no real device adapter behind it yet. Production device commands use a separate, gated path that is not part of this API. Operations that act only on demo devices carry x-ampverve-status: demo-realm and are listed under Demo environment.
Export limitation. The background loop runs every 30 seconds for demo realm sites only. It is cloud hosted, not type tested and not G100 certified.
EMS grid connection
A site's connection terms as executable guardrails: the limit in force and the obligation that set it, compliance of the stored readings, the compliance suite the terms generate, and a check of a proposed change. The connection agreement read into proposed terms a person confirms (not saved yet), and one connection shared across the site's chargers and batteries. Read and planning only: nothing is sent to a device.
Decision log
Dispatch decision records with their inputs, constraints, objective and alternatives, and a replay that re-runs the pure decision on the stored inputs.
Plan studies
AmpVerve Plan: DepotTwin (depot EV capacity), Power Passport (firm and flexible capacity for a large site) and Plan (battery and solar sizing). Create a study, upload the site's data, run the engine as a background job and download the report. Every forward figure is a projection: results carry the machine label label: "MODELLED" and the human-readable display_label: "Projection". Gaps in data are refused, never filled, and every cost carries its source.
Flexibility
DNO flexibility tenders, awarded contracts, and offer submission, via UKPN LocalFlex and SSEN ElectronConnect.
VPP enrolment
A site's enrolment in AmpVerve's own virtual power plant, its withdrawal, and the current signal for an enrolled site.
Energy ledger and PPA
The stored energy ledger per settlement period with its full source tree, its rebuild, and PPA contracts and monthly settlement statements.
Carbon and emissions
GB grid carbon intensity and its forecast (National Grid ESO), the stored half hourly intensity for a site's region, Scope 2 on both the location and market based methods, avoided emissions, emission factor versions and their change log, and a household's import carbon footprint.
Certificates
Signed energy receipts and W3C Verifiable Credentials.
Settlement
AmpVerve Settle. Ed25519 signed receipts for delivered flexibility, chained per organisation, verifiable by a counterparty from the published keys, and reconciled against the counterparty's settlement statement. Receipts state what was recorded; they move no money and submit nothing to any market.
Fleet savings statements
A signed monthly statement per fleet depot: charging cost against a baseline the customer agreed in advance, with the method, the data coverage and every excluded session, signed with the settlement receipt key so a finance team can check it was not changed. Public verification returns no customer data.
Data export
Bulk export of one organisation's data in open formats, requested and executed by the customer. See docs/api/export-schema.md for the collection schema. The public paths are /api/organisations/export/...; see getExportManifest.
CRM
Sales pipeline for an organisation's own business development: accounts, contacts, deals by stage, activities, tasks and a probability weighted forecast. Needs the crm module enabled for the organisation. Contacts are personal data: suppression and opt out from the outreach flow are respected, contacts can be deleted on request, and prospects with no engagement are erased after the organisation's retention period.
Lead intake
The public request form of the Depot Capacity Check. No credential: it records a request for a DepotTwin study as a CRM lead in the one organisation the deployment names, for a person to answer. It opens no other CRM operation.
API keys
Issue, list, rotate and revoke organisation API keys (avk_...). Organisation administrators only. A key is shown once, at creation.
Partner API
Read operations authenticated by an organisation API key (Authorization: Bearer avk_...), scoped to the key's organisation and to the key's scopes. A sandbox key gets simulated data from the same operations; see Sandbox.
Rate limit. Each key has a per minute limit (600 by default), counted across every server, and reported in the RateLimit-* headers; over it, 429 with Retry-After. If the shared counter store is briefly unreachable, reads are still answered and limited per server, and every operation that writes with an API key (the sandbox test event and the Home Assistant connector pushes) answers 503 with Retry-After: 30 and error code service_unavailable rather than accept a write without its limit. Retry a 503 after Retry-After; it is never a sign the key is wrong.
Sandbox
A demo environment organisation of simulated data for building and testing an integration without touching any real home, site, device or market.
- An organisation administrator issues a sandbox key with
POST /api/devtools/apikeys?environment=sandbox, and registers a sandbox webhook endpoint withPOST /api/devtools/webhooks?environment=sandbox. Every key and webhook operation takesenvironment=sandbox. - The key is an ordinary
avk_key. Its organisation is the caller's sandbox organisation,demo-sandbox-<16 hex>, derived from the caller's own organisation;GET /api/devtools/partner/v1/mereturns it withenvironment: sandbox. - Every Partner API read answers a sandbox key from a deterministic simulator: a depot with two chargers and a solar and battery site, their devices, five minute telemetry for six assets and two alerts. The same request at the same moment gives the same answer. Nothing is measured and nothing is stored.
POST /api/devtools/partner/v1/sandbox/webhooks/testsends a signed sample event to the sandbox's endpoints, delivered and retried exactly as a live one.
Guarantees. A sandbox key never reaches a non-demo organisation: its organisation is fixed on the key row and no header, parameter or body changes it. It never reaches a real device or a market write: the Partner API operations answer it without reading any stored device, alert or telemetry row; a sandbox key holds read scopes only (alerts:read, devices:read, telemetry:read), so the only other operations that accept an API key, the Home Assistant connector writes, refuse it for lacking telemetry:write; every other operation refuses an API key with 401; and the only Partner API operation that writes is the sandbox test event. Expiry, revocation and the rate limit apply as for a live key.
Authentication
Obtain and refresh the bearer token that authorises every other call, and Microsoft Entra ID single sign-on.
Site access
Site personas and memberships: what each user may do on each site.
Audit log
Your organisation's audit trail, the catalogue of actions it records, and its CSV export.
Platform
Liveness, readiness, country capability and operational signals.
Platform status
Platform status, observed availability and incident history visible to your organisation. Opening and updating incidents is for platform administrators. GET /api/devtools/status is the public, unauthenticated summary by API component, rendered at https://app.ampverve.com/api-docs/status.
Demo environment
Operations that act only on simulated devices in a demo organisation (demo-*): the verified setpoint write and the device model it acts on, the export limitation loop, and the communications and buffer rehearsals. A production organisation is refused with 403 or the call records nothing. Use them to see the control path end to end without touching hardware.
Schemas
The 290 named schemas the operations use. Their fields open here once the page has read the deployed specification; they are also in the downloadable specification.