AmpVerve Platform API

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.

Flexibility 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.

Every operation says what is real. Each one carries a status label, in the specification and on this page, so you never build against something that is not deployed.
LiveAvailable after scheduled maintenanceAvailable on requestDemo environment What each means

The integration journey

The guides and the API reference follow the same five steps.

Start here

Base URLapp.ampverve.com
Spec version2026-10-15
AuthAPI key or access token
FormatJSON over HTTPS
Introduction

Status labels are part of the contract

Every operation carries a label, recorded in the specification as x-ampverve-status. Treat it as binding.

LabelWhat it meansShould you build on it
LiveDeployed 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 maintenanceDeployed, 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 requestThe 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 environmentListed 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 basisWhat it means
CalculatedDerived from your own data and the inputs the operation states. Not a measurement.
ForecastFuture values from a forecast model. Never a measurement.
SimulatedGenerated 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.

Introduction

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.

CoverageWhat it includes
Great BritainLive: 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 todayTelemetry ingestion, the Home Assistant connector, connected vehicle reads, OCPP chargers and fleet telematics.
Through partnersThe United States through AmpVerve's partnership with Leap. In development, with no operation in this API.
Not available yetEvery 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.

AreaWhat the API offersLabel
Retail tariff pricesOctopus 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 intensityNational GB carbon intensity for the current half hour and the forecast, from National Grid ESO (now NESO).Live
DNO lookupA UK postcode resolved to its distribution network operator, the flexibility platform that DNO uses and whether the area is flex eligible.Live
Charges and tariffsThe GB charge library (DUoS, TNUoS, BSUoS, CCL, capacity bands), the charge stack for an MPAN, versioned retail tariffs, bills and comparisons.Live
Carbon reportingScope 2 on both methods, using NESO regional half hourly intensity for the location based figure.Live
DNO flexibilityUK 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 enrolmentEnrol 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 recordsSigned 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 rulesThe 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.

AreaWhat the API offersLabel
Telemetry ingestionAny 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 AssistantThe 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 vehiclesLive 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 chargersAmpVerve'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 telematicsThe 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's currency defaults to GBP, and its compliance checks are GB regulations.

Through partners

MarketRouteLabel
United StatesAmpVerve'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.

Getting started

Quickstart

From nothing to an authenticated read of your own organisation's data.

  1. 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 }
    }
  2. 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:read scope, which step 4 needs; step 3 needs no scope. Add alerts:read and telemetry:read if 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 variable AMPVERVE_API_KEY.

    API keys call the Partner API operations under /api/devtools/partner/v1, and, with the telemetry:write scope, 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 .mjs file, for example me.mjs, and run it with node me.mjs: top level await needs an ES module.

  3. Check the key

    GET /api/devtools/partner/v1/me needs 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
      }
    }
  4. Read your data

    With the devices:read scope from step 2, list the devices registered to your organisation. A key without the scope gets 403 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 apiKey variable 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.

Getting started

Authentication

Two credentials, both sent as Authorization: Bearer .... Which one an operation takes is shown on every operation in the reference.

CredentialLooks likeAccepted byStatus
API keyavk_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 tokenA JWT, eyJhbGciOi...Every other authenticated operationLive
NonePublic operations such as readiness and carbon intensityLive

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.

ScopeGrantsReads or writes
alerts:readGET /api/devtools/partner/v1/alerts: identifiers, type, severity, title and times of your organisation's alertsReads
devices:readGET /api/devtools/partner/v1/devices: devices registered to your organisationReads
telemetry:readGET /api/devtools/partner/v1/telemetry/latest: recent stored telemetry readingsReads
telemetry:writeThe 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 neededGET /api/devtools/partner/v1/me: the organisation and key the request resolved to; GET /api/devtools/partner/v1/sandbox/scenario: the sandbox simulationReads
none needed, sandbox keys onlyPOST /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 after grace_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 with 401 from 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.

PropertyValue
HeaderAuthorization: Bearer <access_token>
FormatJWT, HS256, carrying sub, tenant_id, org_id, roles, iat and exp
Access token lifetime60 minutes
Refresh token lifetime7 days, single use, rotated on every refresh
IssuePOST /api/auth/login
RefreshPOST /api/auth/token/refresh
RevokePOST /api/auth/logout, immediate
Limits5 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.

Not available yet

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.

Getting started

Environments and base URL

EnvironmentBase URLStatus
Productionhttps://app.ampverve.comLive
Sandbox, selected by a sandbox API keyhttps://app.ampverve.comLive
FamilyBase URL
Every operation in the referencehttps://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.
Getting started

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

SiteDevicesTelemetry assets
sbx-site-depot, a depotTwo 22 kW chargers, a boundary meter, a gatewaysbx-depot-charger-1, sbx-depot-charger-2, sbx-depot-meter
sbx-site-solar, a solar and storage siteA 100 kWh battery, a boundary meter, a gatewaysbx-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_lost alert; 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/me with your key and stops unless environment is sandbox. 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.com read 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:write is 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 with 401. The one thing a sandbox key writes is the sandbox test event: POST /api/devtools/partner/v1/sandbox/webhooks/test records a test event and its delivery records in your sandbox organisation. A live key gets 403 sandbox_only on the sandbox operations.
What the sandbox does not cover yet

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.

Getting started

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.code is the contract: stable, snake case. Branch on it. New codes can be added; treat an unknown one by its HTTP status.
  • error.message is for people. Its wording can change.
  • error.request_id equals the X-Request-Id header, which every /api/devtools response carries, success or error. Log it and quote it to support. Send your own X-Request-Id (8 to 128 of A-Z a-z 0-9 . _ : -) and it is kept; otherwise AmpVerve assigns req_<32 hex>.
  • detail is 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.codeStatusMeaningWhat to do
api_key_missing401No Authorization header on a Partner API operation.Send Authorization: Bearer avk_....
api_key_required401A 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_invalid401The key is malformed, or no key matches it.Check that the whole key was copied. Do not retry unchanged.
api_key_revoked401The key was revoked.Issue a new key.
api_key_expired401The key is past its expiry date.Issue a new key, or rotate before expiry next time.
api_key_auth_unavailable503Key authentication is not configured on the service, so it fails closed.Retry later and quote the request id to support.
insufficient_scope403The key lacks the scope the operation needs; detail.required_scope names it.Issue a key with that scope.
scope_not_granted403The 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_only403A live key on a sandbox operation.Use a sandbox key.
invalid_cursor400A 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_limited429The key is over its limit. Also the code of any other 429.Wait Retry-After seconds. See Rate limits.
authentication_required401No access token on a key or webhook management operation.Sign in and send Authorization: Bearer <access_token>.
token_invalid401The access token is invalid or expired.Refresh the token once and retry once.
insufficient_role403The token's role is not enough for the operation.Use an organisation administrator account.
tenant_mismatch403An organisation header disagrees with the token.Treat it as a security event, not a retry.
bad_request400The request is well formed but cannot be acted on.Read message, correct and resend.
unauthorized401Any other 401, such as an API key on a key or webhook management operation, or a token that carries no organisation.Check the credential.
forbidden403Any 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_found404The 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_allowed405The path exists, but not with this method.Check the method in the reference.
conflict409A 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_large413The request body is too large.Send less in each request.
unsupported_media_type415The Content-Type is not accepted.Send application/json.
validation_error422The request failed validation. detail is then the list of field errors, or a sentence.Fix the field that message names. Never retry unchanged.
locked423The resource is locked.Wait, then retry.
internal_error500An unexpected failure. The body is still this envelope, never plain text.Retry reads with backoff, and quote the request id to support.
upstream_error502A dependency AmpVerve calls answered with an error.Retry with backoff.
service_unavailable503A dependency is unavailable.Back off and retry.
upstream_timeout504A dependency did not answer in time.Retry with backoff.
client_errorOther 4xxA client error status that has no code of its own.Branch on the HTTP status.
server_errorOther 5xxA 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" } }
Outside /api/devtools, branch on the status code

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

StatusTypical detailMeaningWhat to do
400Operation specificThe request is well formed but cannot be acted on.Read detail, correct and resend. Do not retry unchanged.
401Authorization header missing, Invalid or expired token, API key expiredNo 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.
403Insufficient permissions, Tenant mismatch, insufficient_scopeAuthenticated, 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.
404Not FoundAbsent, or not visible to your organisation.Check the path and the operation's status label.
409Operation specificA conflict with current state, such as a key that is already revoked.Read the state, then decide.
422Array of field errorsSchema validation failed.Read loc to find the field. Never retry unchanged.
423Account locked. Try again later.Five failed logins.Wait 15 minutes.
429Rate limit exceededToo many requests.Honour Retry-After, back off with jitter.
502<provider> API errorAn upstream data provider failed.Retry with backoff, fall back to your last good value.
503VariesA 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.

Getting started

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.

IdentifierFormatWho chooses it
API keyavk_<12 hex>_<43 base64url>; the prefix avk_<12 hex> is publicAmpVerve, shown once
Webhook signing secretwhsec_<43 base64url>AmpVerve, shown once
Webhook event idevt_<32 hex>, stable across retries; also in AmpVerve-Webhook-IdAmpVerve
API key, webhook endpoint and delivery ids32 lowercase hex charactersAmpVerve
organisation_idOpaque string. Demo organisations start with demo-AmpVerve; it comes from your credential, never from a parameter
site_id, asset_idFree form strings. asset_id must be unique within your organisationYou. See Sites and assets
TimestampsISO 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.

Getting started

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

NameWhereMeaning
limitQueryThe page size. Each operation states its default and maximum (below).
cursorQueryOpaque. The next_cursor of the previous page, sent unchanged. Omit it for the first page.
next_cursorResponseThe cursor of the next page, or null on the last page.
has_moreResponsetrue when there is a next page, that is when next_cursor is not null.
OperationListlimit defaultlimit maximumOrder
GET /api/devtools/partner/v1/alertsalerts50200Newest first, then id
GET /api/devtools/partner/v1/devicesdevices100500Newest registration first, then id; devices without a registration time first
GET /api/devtools/partner/v1/telemetry/latestreadings100500Newest reading first, then the order stored
GET /api/devtools/webhooks/{endpoint_id}/deliveriesdeliveries50200Newest first, then id
  • Every row once. Following next_cursor to 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 (status and since, asset_id and hours) with every page. A cursor sent with different filters, a cursor from another list, or one that cannot be read is 400 with error.code invalid_cursor. Start again without a cursor.
  • Telemetry windows do not slide. hours counts 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.

Every page of GET /api/devtools/partner/v1/devices
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
done
import 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?
end

Compatibility

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.

PatternParametersExamples
Cursorlimit and cursor, as abovePartner API lists, webhook deliveries
Newest first, cappedlimit, with a default and a maximum stated per operationThe alert queue, setpoint and decision history
Offsetlimit and offsetThe audit log, notifications, alert history
Since a timesince, combined with limitThe audit log
Time boundedA range or a start and end parameterAsset history, ledgers, reports
Complete setNoneAPI keys, webhook endpoints, the asset registry (GET /api/twin/), energy receipts
Getting started

Rate limits

SurfaceLimitKeyed onWhen exceeded
Partner API600 requests a minuteAPI key429 with error.code rate_limited and a Retry-After header in seconds
Authentication (/api/auth)5 requests a minuteSource IP429 {"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:

HeaderMeaningExample
RateLimit-LimitRequests the key may make in the window.600
RateLimit-RemainingRequests left in the window after this one.599
RateLimit-ResetSeconds until the window frees capacity.42
RateLimit-PolicyThe limit and the window in seconds.600;w=60
Retry-AfterOn 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.

Getting started

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.

  1. Four new alert fields. assignee_name, assigned_at, visit_at and visit_note say who the organisation gave a manufacturer alert to, when, the planned visit, and the free-text note written for it. They are null until an operator sets them, and always null for an AmpVerve rule alert. The assignee is a name, never an id or an email address.
  2. **alert.updated is also sent** when an operator acknowledges a manufacturer alert, assigns it, or changes the visit. alert.resolved is also sent when an operator resolves one by hand, with resolution_kind manual_close and resolved_by_kind organisation_user; the resolution note is not sent. If the manufacturer reports the fault again the alert reopens (alert.reopened) with its assignee kept.
  3. **last_changed_at and changed_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.

  1. Manufacturer alerts are delivered as webhooks. Vendor alarms (Enphase open events, SMA pending messages) and derived SolarEdge communication loss are sent as alert.raised when first seen and alert.resolved when the manufacturer stops reporting them, beside the AmpVerve rule alerts. A derived communication loss that names a device also sends device.offline.
  2. 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.
  3. **data.alert is the whole alert.** Every alert event now carries the same item GET /api/devtools/partner/v1/alerts returns, every field with the same values, instead of a summary. The earlier summary fields are all still present.
  4. **changed_since returns reopened and updated alerts.** A manufacturer alert reopened or updated after your previous poll is returned again, in its new state, and last_changed_at includes that change.
  5. Site address and timezone. site_address and site_timezone are 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 stay null when 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.

  1. Polling for alert changes. GET /api/devtools/partner/v1/alerts takes changed_since: alerts raised, acknowledged or resolved at or after that time. since filters on the raise time only, so an alert raised before your last poll and resolved after it was never returned again by a poll on since. Poll with status=all and changed_since set to the start of your previous poll, and upsert by id. Each alert gains last_changed_at, the latest of created_at, acknowledged_at and resolved_at. A cursor issued without changed_since stays valid.
  2. Who closed an alert, as a kind. Each alert gains resolved_by_kind: null while open, organisation_user or ampverve_operator for a manual close, system for a confirmed recovery, not_recorded for a manual close recorded before 23 October 2026. The person and the written reason stay in the platform record and the audit log.
  3. 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 gains device_id and site_id when its asset_id is the id of a device of the same organisation, or the identity key recorded on one (SolarEdge readings, for example, are stored as solar:solaredge:<site id>), and null for both otherwise.
  4. 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 is null when it was not recorded, never inferred.
  5. The sandbox has a duplicate alert. sbx-alert-charger-2-offline-repeat is the same condition as sbx-alert-charger-2-offline (same device_id, alert_type and source), 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.

  1. Ingestion reports what happened to every record. 200 now means every record was stored. A record the store cannot take as sent (no asset_id or device_id, a missing or unreadable ts, a measurement that is not a number, a status that 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 is 207 Multi-Status with a results entry per record. When every record was rejected, it is 422 all_records_rejected and nothing was stored. A store that does not persist what it was handed is still 503; retry it. Every answer adds accepted, rejected and duplicates beside count and stored. Before this change one such record made the whole batch answer 503 writer_error, so a retry could never succeed and the good records in it were lost with it. A 403 cross_tenant_record no longer repeats the organisation a record named (rejected[].named); index and field still locate each record.
  2. One device status vocabulary. A telemetry reading in GET /api/devtools/partner/v1/telemetry/latest gains status_canonical, one of charging, discharging, producing, importing, exporting, idle, online, offline, fault or unknown. Two vocabularies overlapped on status: operating states (available, idle, charging, ...) and connectivity states (online, unavailable, offline, unknown), so available and idle, or unavailable and offline, named the same condition. status itself is unchanged, for live and sandbox keys alike; see the deprecation below. Ingestion accepts any status string, as before.
  3. RFC 9457 problem details on every partner error. Every error from these endpoints carries type, title, status, detail, instance, a stable code and the request_id (the X-Request-Id header). Send Accept: application/problem+json to receive application/problem+json, in which detail is always a string and structured information is in extension members (errors for field validation, required_scope for a missing scope). Without that header the answer stays application/json and keeps detail and error exactly as before, with the problem members added. The Home Assistant connector's API key operations and ingestion now also carry X-Request-Id, and the connector's operations the RateLimit-* 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.

  1. Statuses. The pre-release label is retired. Each operation is now live, awaiting-migration, partner-gated or demo-realm; see Status labels.
  2. Data basis. modelled is replaced by calculated, forecast or simulated, each with x-ampverve-method.
  3. Demo environment. The eight demo-realm operations are listed under their own tag, Demo environment.
  4. Removed: unbuilt operations. GET /api/platform/v1/capabilities, POST /api/ingest/v1/telemetry and GET /api/telemetry/sites/{site_id}/health and the api.ampverve.com and sandbox.ampverve.com hosts are not built and are no longer listed. They never resolved or answered.
  5. 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) and POST /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: true in this document, with x-ampverve-deprecated-on, x-ampverve-sunset and x-ampverve-replacement;
  • from the announcement, its responses carry a Deprecation header (RFC 9745) and a Sunset header (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 #

  1. **New status demo-realm.** Eight EMS control operations act only on the synthetic device model of a demo organisation and were relabelled demo-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}/run now states that dispatch=true executes only in the demo realm. The EMS control tag states what control acts on today and what it does not.
  2. 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.
  3. 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/....
  4. Alert history. GET /api/hardware/admin/alerts-history is 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.
  5. 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 include asset_silence, and the evaluation response documents routing.

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.

Getting started

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: true with x-ampverve-deprecated-on, x-ampverve-sunset and x-ampverve-replacement (the operationId to 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, in GET /api/devtools/partner/v1/alerts, in your alert routing rules, and as an alert.raised webhook. 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

HeaderStandardMeaningExample
DeprecationRFC 9745When the operation was deprecated, as @ and Unix seconds (00:00 UTC on the announcement day). Its presence alone means the operation is deprecated.@1806969600
SunsetRFC 8594An 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
LinkRFC 8288, RFC 9745This 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.

Getting started

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.

EventTriggerdataSubscribe
alert.raisedAn 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 timezoneYes
alert.updatedAn 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 standsYes
alert.resolvedAn 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_atYes
alert.reopenedA 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 againYes
device.offlineAn 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, alertYes
fleet.vehicle.at_riskA 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, timesYes
webhook.testOnly 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 sandboxNo, 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/json

Example 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 v1 values 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

PropertyBehaviour
SuccessAny 2xx within 10 seconds.
Retry, per deliveryA 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.
SemanticsAt least once. Deduplicate on the event id (AmpVerve-Webhook-Id).
Disable, per endpointEach 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}.
VisibilityGET /api/devtools/webhooks/{endpoint_id}/deliveries lists each delivery with its status, attempts and last status code.
ReplayNot 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.

AttemptDelay before itTime since the first attempt, without jitter
1When the event is queued0
230 s30 s
31 min1 min 30 s
42 min3 min 30 s
54 min7 min 30 s
68 min15 min 30 s
716 min31 min 30 s
832 min1 h 3 min 30 s
91 h 4 min2 h 7 min 30 s
102 h 8 min4 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.

EMS alert routing webhooks are different

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.

Integration journey, step 1

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).

Integration journey, step 2

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.

Integration journey, step 3

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).

Integration journey, step 4

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.

Integration journey, step 5

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.

Integration journey

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.

pip install https://app.ampverve.com/api-docs/sdks/ampverve-1.2.0-py3-none-any.whl
npm install https://app.ampverve.com/api-docs/sdks/ampverve-sdk-1.2.0.tgz

Sizes 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.

Guide

Connect a site

  1. List the site templates available to your organisation: GET /api/hardware/sites/templates.
  2. Create the site from a template. AmpVerve discovers devices and proposes a point mapping: POST /api/hardware/sites/from-template.
  3. Review and confirm the mapping, which stops the onboarding clock: POST /api/hardware/sites/{site_id}/confirm-mapping.
  4. Run the commissioning checks and read the result: POST /api/hardware/data-integrity/commissioning/run.
Guide

Stream telemetry

  1. Register each asset once, with a namespaced asset_id: POST /api/twin/.
  2. Send batches with an access token: POST /api/telemetry/ingest. Check that stored equals count on every response.
  3. Confirm the data landed: GET /api/telemetry/live/events, or read history for one asset.
  4. Poll readiness every 30 to 60 seconds and buffer when it degrades. Read Getting data in before building.
Guide

Get alerts

  1. Register a webhook endpoint for alert.raised, alert.resolved and device.offline, and store the signing secret: see Webhooks.
  2. Send yourself a test event and check the delivery log.
  3. Verify every delivery's signature, acknowledge with 2xx, and deduplicate on the event id.
  4. To poll instead, read the ranked queue with an access token, or the Partner API alerts with an alerts:read key.
Guide

Offer flexibility

Partner-gated

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.

  1. Read your aggregate portfolio capacity.
  2. Read the open DNO flexibility tenders.
  3. Submit an offer against a tender.
  4. Read the contracts you have been awarded.
Guide

Settlement records and statements

What the API does and does not do

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.

  1. Read the stored energy ledger per settlement period, and open any row to see its full source tree.
  2. Read the monthly PPA statement for a site.
  3. Issue signed energy receipts where a counterparty needs evidence.
  4. Export the organisation's data in open formats for your own finance system.
Solution

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.

Not in the public API yet

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.

Solution

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.

Not in the public API yet

Charger control for a depot is not part of this public API. The readiness board and envelopes are read and planning operations.

Solution

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.

POST/api/hardware/sites/from-templateCreate a site from a template and propose its device mappingLive CalculatedPOST/api/hardware/sites/{site_id}/confirm-mappingConfirm the proposed mapping and stop the onboarding clockLivePOST/api/hardware/data-integrity/commissioning/runRun the commissioning checks nowLiveGET/api/telemetry/sitesSites of this organisation and the assets each carriesLiveGET/api/telemetry/sites/{site_id}/self-consumptionGeneration split into self-consumed and exportedLiveGET/api/telemetry/sites/{site_id}/battery/stateBattery state and health for a siteLive CalculatedGET/api/telemetry/portfolio/leagueEvery site in the organisation, ranked on a stated basisLiveGET/api/hardware/ems/reportEnergy and carbon report for one siteLiveGET/api/hardware/ems/lineageLineage tree under one report figureLiveGET/api/hardware/ems/scope2Scope 2 on both methods for one siteLiveGET/api/hardware/ems/underperformancePV underperformance for one siteLive CalculatedPOST/api/hardware/ems/alerts/evaluateEvaluate telemetry and raise or update alertsLive CalculatedGET/api/hardware/ems/alertsAlert queue ranked by pound impactLive CalculatedPOST/api/hardware/ems/routing/rulesCreate an alert routing ruleLiveGET/api/trading/cost/stackFull charge stack for an MPAN at an instantLivePOST/api/trading/cost/pricePrice a batch of half hours at an MPANLivePOST/api/optimiser/tariff-schedule/{site_id}/runDay-ahead battery schedule against the full charge stackLive ForecastGET/api/hardware/ems/decisionsDispatch decision records, newest firstLiveGET/api/telemetry/sites/{site_id}/ledgerThe stored energy ledger for a site, per settlement period or bucketedLiveGET/api/telemetry/sites/{site_id}/ppa/statementPPA settlement statement for one calendar monthLivePOST/api/organisations/exportCreate and execute an export jobLive
What control acts on today

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.

Telemetry ingestion

Getting data in

Read this section fully before writing an ingestion client. The behaviours below change how you should design retries, deduplication and alerting.

POST/api/telemetry/ingestLive

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 ingestion

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 fieldAccepted keysTypeUnitNotes
asset_idasset_id, device_idstringidentifierRequired in practice. Without it a record is unattributable.
tstsstringISO 8601Send an explicit UTC offset.
power_kwpower_kwnumberkW, signedPositive is import or charge. Negative is export, generation or discharge.
soc_pctsoc_pctnumberpercent0 to 100. Not a fraction.
voltagevoltagenumbervolts
currentcurrentnumberamperes
temp_ctemp_cnumberdegrees C
statusstatusstringFree text. Defaults to unknown.
run_id, intent_idsamestringOptional correlation identifiers.
rawthe whole original objectobjectPreserved exactly as sent.
Sign convention, get this right first

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

MistakeSymptomFix
Watts sent as power_kwpower_out_of_range when the value exceeds 5000Divide by 1000 before sending.
State of charge sent as a fractionsoc_out_of_range, or a chart that reads 0 to 1Multiply by 100.
Energy sent where power is expectedNo flag, silently wrong totalsSend cumulative energy in raw under your own key.
Generation sent as positiveNo flag, site totals double countNegate it.
Telemetry ingestion

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_id is yours. Use your own stable site key so your systems and AmpVerve agree without a translation table.
  • asset_id must be unique within your organisation, not just within a site. Namespace it: site-0412-inverter-1, not inverter-1.
  • Never reuse an asset_id for different hardware. History is keyed on it.
  • Keep it stable across firmware and vendor portal changes; record a changed serial in details.
Current limitation

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.

Telemetry ingestion

Timestamps and timezones

ts is client supplied and is the basis for bucketing, ordering and every query.

ValueVerdictWhy
2026-10-03T14:05:00ZCorrectExplicit UTC.
2026-10-03T15:05:00+01:00CorrectExplicit offset, stored as the same UTC instant.
2026-10-03T14:05:00WrongNo offset. Lands in the wrong bucket.
2026-10-03 14:05:00WrongNot ISO 8601. The batch write fails.
1791036300WrongUnix 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_id and ts both persist.
Telemetry ingestion

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.
Telemetry ingestion

Idempotency and ordering

There is no server side deduplication today

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 202 body again, with Idempotent-Replayed: true.
  • Same key, different request (another event_type or endpoint_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.
Telemetry ingestion

Detecting bad data

Watch three independent signals.

1. The anomaly report, per record

ReasonConditionAlmost always means
missing_asset_idNo asset_id or device_idA mapping gap upstream. The record is unattributable.
soc_out_of_rangesoc_pct below 0 or above 100A fraction sent where a percentage was expected.
power_out_of_rangeAbsolute power_kw above 5000Watts sent as kilowatts.
voltage_out_of_rangevoltage negativeA sensor fault or a sign error.

2. The persistence check, per batch

A 200 does not mean your data was stored

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.

Enterprise guide

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

PersonaTypical starting pointWhat must be agreed before production
Home energy appOne organisation, household sites and user delegated assetsConsent wording, supported equipment, tariff source and country capability
B2B portfolio operatorOrganisation, sites, operators, assets and telemetryRBAC, data ownership, site identifiers, retention and support escalation
B2B2C supplier or OEMPartner organisation plus end customer sitesDelegation, branding, end user consent, offboarding and data portability
Fleet or CPOFleet sites, chargers, vehicles, sessions and operational constraintsCSMS authority, charger protocol, driver consent, uptime and command limits
Commercial or industrial EMS/BMSSites, meters, batteries, solar, HVAC and process loadsControl boundaries, maintenance windows, fallback mode and audit retention
Data centreMetered boundaries, UPS or battery assets and flexible loadsNo impact constraints, redundancy policy, change control and dispatch approval
Market partnerEligible sites, programmes, dispatches, metering and settlementContract, qualification, programme rules, evidence and payout configuration

Current production base URL

https://app.ampverve.com

Use 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/readyz

Obtain 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:

  1. keep separate credentials and storage for every organisation;
  2. never reuse an idempotency key across organisations;
  3. treat 403 tenant mismatch as a security incident, not a retryable error;
  4. preserve organisation_id, site_id, asset_id, request id and event id in
  5. its own audit trail;

  6. use synthetic tenants and assets for tests.

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.

Enterprise guide

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

StateCustomer meaning
availableRead-only feature is deployed and verified for the returned scope.
connection_availableA real connection path exists; instance compatibility is still verified during connection.
control_verifiedThe exact connected asset has passed a safe control test.
partner_gatedA partner or credential activation is missing.
qualification_requiredGrid, market or programme approval is missing.
enrolment_requiredCustomer, meter or asset is not enrolled.
settlement_requiredDispatch may be possible, but measurement and settlement are not complete.
payout_requiredRevenue may be settled, but the payee or payout rail is not active.
research_requiredNo verified evidence pack exists for the country or feature.
unavailableThe 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:

  1. market structure and named operators;
  2. programme types and AmpVerve's aggregator route;
  3. eligible assets and customer segments;
  4. meter, telemetry and dispatch requirements;
  5. baseline, verification and settlement method;
  6. currency, tax and payout notes;
  7. carbon method and double counting guard;
  8. consent, privacy and data residency requirements;
  9. technical endpoints and partner dependencies;
  10. 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:

  1. direct OEM cloud API;
  2. approved aggregator connection;
  3. CPO or CSMS path such as OCPP;
  4. site gateway path such as Modbus, SunSpec, BACnet or MQTT;
  5. utility data path such as Green Button;
  6. 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.

Enterprise guide

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 allocations

organisation_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

StateMeaning
declaredAn adapter or partner says the capability exists. Not yet exercised.
discoveredThe connected account or device reported it.
verifiedAmpVerve exercised the exact read or command path successfully.
degradedPreviously verified, but freshness, provider or device health is below threshold.
unavailableThe connected instance does not support it.
partner_gatedTechnical path exists but partner activation is missing.
qualification_requiredA market, grid or programme approval is missing.
revokedThe 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_method and 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:

  1. accept a compatibility request with manufacturer, model, country and asset type;
  2. return request_received, not connected;
  3. provide a request id and status endpoint;
  4. assess an existing aggregator, OEM cloud or local gateway route;
  5. verify the model, account permissions, telemetry and safe command path;
  6. activate only for the requesting organisation and scope;
  7. 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.

Enterprise guide

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:

GateEvidence required
relationship_recordedExecuted commercial agreement or approved partner record
connector_implementedReviewed connector and contract tests
credentials_verifiedProduction credentials work without exposing secrets
qualification_approvedMarket or programme approval is recorded
asset_eligibleAsset, site, meter and customer satisfy the programme rules
enrolledProgramme accepted the enrolment
dispatch_readyNotification, scheduling, control and acknowledgement path exercised
metering_readyRequired interval data passes completeness and quality gates
settlement_readyBaseline, performance and reconciliation path exercised
payout_readyPayee, currency, tax and payment rail are active
liveAll 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.

Enterprise guide

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/json for JSON bodies;
  • Idempotency-Key for retryable writes once the endpoint documents support;
  • X-Request-ID with a unique value for tracing, when supported;
  • traceparent when 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/evaluate runs 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) and export_limit_breach (measured export above the site's limit). Severity is critical, warning, info, low or unpriced, set by the organisation's pounds per day thresholds.
  • Manufacturer alerts. GET /api/hardware/solar/manufacturer-alerts lists the organisation's inverter manufacturer alerts (filters site_id, severity, manufacturer, status=open|cleared|all, since; module ems/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, codes AV_SE_COMMUNICATION_LOSS and AV_SE_NO_DATA, not SolarEdge fault codes); the two kinds never clear each other. A repeat poll updates last_seen and never adds a row; cleared_at is 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, /resolve and /comment. GET /api/hardware/admin/alerts-history/stats reports 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/health returns 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; VIEWER is refused.

How to get it today

  1. Poll. GET /api/hardware/ems/alerts returns every open alert of the organisation ranked by pound impact per day, including rows raised by the device health poller. Add include_resolved=true to see closed alerts, and site_id to narrow. Alerts are only raised when an evaluation runs, so call POST /api/hardware/ems/alerts/evaluate first, or on your own schedule.
  2. Push, by arrangement. An EMS routing rule (/api/hardware/ems/routing/rules) can deliver alerts to email, a Microsoft Teams incoming webhook, or a generic webhook URL. The webhook body carries kind, 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_at and policy_id, with the headers X-AmpVerve-Kind (alert or escalation) 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 failed in GET /api/hardware/ems/routing/deliveries and not resent;
  • it fires only when routing is called: by an evaluation (newly raised alerts), by POST /api/hardware/ems/routing/dispatch, or by POST /api/hardware/ems/routing/escalations/check. No scheduler calls these yet;
  • each rule delivers an alert once, so deduplicate on alert_id and kind;
  • 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/apikeys authenticate 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.tgz

They are not published to PyPI or npm. Before publishing to a package registry, AmpVerve needs:

  1. a stable versioned base URL;
  2. consistent error, pagination and idempotency contracts;
  3. generated and handwritten tests against an isolated sandbox;
  4. package ownership, signing and vulnerability handling;
  5. 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
  • changelog section no later than the day it ships;

  • once it is live, a breaking change or removal gets at least 6 months'
  • 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.

Market guide

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.

CodeCountryStatusGuide
GBUnited Kingdom, with the market guide scoped to Great Britainpartner_gatedGB
USUnited Statespartner_gatedUS
AUAustralia, NEM scope with a separate WEM boundaryresearch_requiredAU
CACanada, province-dependentresearch_requiredCA
DEGermanyresearch_requiredDE
FRFranceresearch_requiredFR
IEIreland, Republic of Ireland scoperesearch_requiredIE
NLNetherlandsresearch_requiredNL
NZNew Zealandresearch_requiredNZ
DKDenmarkresearch_requiredNordics, Denmark
FIFinlandresearch_requiredNordics, Finland
NONorwayresearch_requiredNordics, Norway
SESwedenresearch_requiredNordics, 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

InitialCodes
AAD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ
BBA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ
CCA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ
DDE, DJ, DK, DM, DO, DZ
EEC, EE, EG, EH, ER, ES, ET
FFI, FJ, FK, FM, FO, FR
GGA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY
HHK, HM, HN, HR, HT, HU
IID, IE, IL, IM, IN, IO, IQ, IR, IS, IT
JJE, JM, JO, JP
KKE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ
LLA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY
MMA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ
NNA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ
OOM
PPA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY
QQA
RRE, RO, RS, RU, RW
SSA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ
TTC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ
UUA, UG, UM, US, UY, UZ
VVA, VC, VE, VG, VI, VN, VU
WWF, WS
YYE, YT
ZZA, 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.

Market guide

GB: Great Britain

Readiness

FieldValue
Overall statepartner_gated
Evidence date2026-08-20
App availabilitySeparate store decision, not market evidence
UK tariff and carbon readslive for the operations marked live in OpenAPI
UKPN and SSEN public flex routespartner-gated per organisation and credential
NESO DFSAmpVerve appears on the registered provider list; technical and operational gates still apply
ElexonConnector and qualification work exist; do not infer complete settlement or market participation
End user revenueNot 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:

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.
Market guide

US: United States

Readiness

FieldValue
Overall statepartner_gated
Evidence date2026-08-20
Market access relationshipAmpVerve partnership with Leap
AmpVerve Leap connectorIn development; no operation in the public API
State and utility coverageMust be resolved per address, utility, programme and asset
End user revenueNot 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:

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:

  1. deploy the connector and verify it in production;
  2. validate production and staging credentials without exposing them;
  3. map organisation-scoped sites, meters and partner references;
  4. implement and test enrolment status synchronisation;
  5. exercise webhook authentication, replay, cancellation and polling recovery;
  6. exercise safe dispatch against synthetic and then approved pilot assets;
  7. reconcile interval, baseline, performance and a real settlement;
  8. exercise customer payout and correction handling;
  9. publish programme-specific capability results, not a generic US available flag.
Market guide

AU: Australia

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
ScopeNational Electricity Market (NEM); Western Australia and the Northern Territory require separate guides
AmpVerve market accessNot evidenced
AmpVerve market connectorCatalogue scaffold only, not a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionA store country selection does not activate an energy capability
Asset connectionresearch_required per manufacturer and modelProduction credentials, consent, telemetry and command tests for the exact asset
Read-only optimisationresearch_required per tenantValid tariff, meter and forecast inputs, plus an online asset if the result is to be actionable
Live control and smart energyresearch_requiredTenant activation, a controllable asset, network limits, consent and a tested safe fallback
Grid export or V2Gresearch_requiredDNSP connection agreement, compatible bidirectional equipment and current export limits
Flexibility participationresearch_requiredAEMO participant or intermediary route, classification, qualification and dispatch integration
Settlement and customer payoutresearch_requiredAccepted metering, market statement, contract, tax review and an exercised AUD payout
Carbon monetisationresearch_requiredEligible 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

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.
Market guide

CA: Canada

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
ScopeProvince, utility and system-operator specific
AmpVerve market accessNot evidenced in any province
AmpVerve market connectorNo verified production IESO, AESO or utility-programme integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionCanadian store presence does not create province or utility access
Asset or Green Button connectionresearch_requiredProvince, utility, consent, production credential and data-quality validation
Read-only optimisationresearch_required per tenantExact retail rate, province, utility, meter and timezone
Live control and smart energyresearch_requiredOnline capable asset, backend activation, consent and utility constraints
Grid export or V2Gresearch_requiredLocal distribution connection, tariff, metering and approved equipment
Flexibility participationresearch_requiredProvince-specific operator or utility contract, qualification and enrolled portfolio
Settlement and payoutresearch_requiredProgramme performance statement, tax review and exercised CAD payout
Carbon monetisationresearch_requiredApplicable 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 exampleOfficial routeBoundary
OntarioIESO wholesale dispatchable loads and Capacity Auction demand responseCurrent DER wholesale participation is limited and expanded models are still being developed
AlbertaAESO energy and ancillary-services marketsOperating Reserve requires energy-market participation, asset registration and technical integration
British ColumbiaBC Hydro behavioural and automated demand responseUtility programme eligibility and approved devices apply, not an open national market
QuebecHydro-Quebec demand-response optionsUtility 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

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.
Market guide

DE: Germany

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
AmpVerve market accessNot evidenced
AmpVerve TSO or BSP connectorNot present as a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionStore presence does not grant supplier, DSO, TSO or market access
Asset connectionresearch_required per manufacturer and modelVerified consent, production API or gateway, telemetry and command path
Read-only optimisationresearch_required per tenantValid tariff and meter inputs and correct German market-location mapping
Live control and smart charging, heating or coolingresearch_requiredBackend activation, capable asset and compliance with section 14a controls
Grid export or V2Gresearch_requiredDSO connection, metering, registration and export permission for the exact site
Flexibility and balancing participationresearch_requiredBSP route, product prequalification, portfolio mapping and live TSO communications
Settlement and payoutresearch_requiredBRP and BSP allocation, accepted activation data, invoice and exercised EUR payout
Carbon monetisationresearch_requiredA 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

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.
Market guide

FR: France

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
AmpVerve market accessNot evidenced
AmpVerve RTE or Enedis connectorCatalogue scaffold only, not a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionStore presence is not French market qualification
Asset or Linky connectionresearch_requiredUser consent, production credential, correct site and validated interval data
Read-only optimisationresearch_required per tenantContracted tariff, meter basis and complete data
Live control and smart energyresearch_requiredOnline capable asset, tenant activation, consent and safe fallback
Grid export or V2Gresearch_requiredEnedis or local DSO connection, export contract, meter and compatible equipment
Flexibility, demand response and reservesresearch_requiredRTE agreement, technical approval, balance perimeter and qualified portfolio
Settlement and payoutresearch_requiredValidated load-reduction data, supplier compensation, statement and EUR payout
Carbon monetisationresearch_requiredApproved 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

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.
Market guide

IE: Ireland

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
ScopeRepublic of Ireland; Northern Ireland has separate SONI and jurisdictional requirements
AmpVerve market accessNot evidenced
AmpVerve EirGrid, SEM or ESB Networks connectorNot present as a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionStore presence does not establish Irish programme access
Asset or meter connectionresearch_requiredProduction consent, exact MPRN and validated meter or device data
Tariff optimisationresearch_required per tenantContracted tariff, interval alignment and supplier-specific terms
Live control and smart energyresearch_requiredOnline controllable asset, backend activation, user limits and safe fallback
Grid export or V2Gresearch_requiredESB Networks connection, export meter and compatible approved equipment
SEM or system servicesresearch_requiredRegistered and tested providing unit, aggregator route and EirGrid communications
Distribution flexibilityresearch_requiredESB Networks procurement, eligible location, contract and dispatch path
Settlement and payoutresearch_requiredAccepted performance, market or contract statement and exercised EUR payout
Carbon monetisationresearch_requiredSeparate 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

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.
Market guide

NL: Netherlands

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
AmpVerve market accessNot evidenced
AmpVerve TenneT or GOPACS connectorNot present as a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionStore presence does not establish Dutch energy access
Asset or P1 connectionresearch_requiredProduction data path, consent, meter identity and validation for the exact installation
Read-only optimisationresearch_required per tenantValid tariff, imbalance or other price source and complete meter data
Live control and smart energyresearch_requiredOnline capable asset, backend activation, grid constraints and safe fallback
Grid export or V2Gresearch_requiredDSO connection terms, metering and permission for the exact site and equipment
Flexibility and TSO balancingresearch_requiredTenneT BSP recognition, product prequalification, framework agreement and communications
Local congestion flexibilityresearch_requiredGOPACS CSP access, product and location eligibility, bid and dispatch integration
Settlement and payoutresearch_requiredBRP treatment, accepted performance, statement, tax review and exercised EUR payout
Carbon monetisationresearch_requiredSeparate 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

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.
Market guide

Nordics: Denmark, Finland, Norway and Sweden

Readiness

FieldValue
Overall stateresearch_required for DK, FI, NO and SE
Evidence date2026-08-20
AmpVerve market accessNot evidenced in any Nordic country
AmpVerve TSO connectorNot present as a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decision for each countryStore presence is not TSO or reserve-market access
Asset connectionresearch_required per manufacturer, model and countryProduction credential, consent, telemetry and command tests
Read-only optimisationresearch_required per tenantCountry, bidding zone, retail tariff, meter and timezone
Live control and smart energyresearch_requiredOnline capable asset, backend activation, consent and network limits
Grid export or V2Gresearch_requiredNational and DSO connection rules, metering and compatible equipment
Flexibility and reserve participationresearch_requiredNational BSP agreement, product prequalification and TSO communications
Settlement and payoutresearch_requiredCountry and product settlement, BRP handling and exercised local-currency payout
Carbon monetisationresearch_requiredSeparate 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.

CountryTSOCurrencyOfficial route and boundary
Denmark (DK)EnerginetDKKFCR, aFRR and mFRR tender conditions apply. DK1 and DK2 are distinct bidding and synchronous contexts.
Finland (FI)FingridEURReserve markets accept consumption, storage and aggregation. Independent aggregation is allowed only under the applicable product terms.
Norway (NO)StatnettNOKFFR, FCR, aFRR and mFRR are procured through reserve-market arrangements with Norwegian bidding-zone and qualification rules.
Sweden (SE)Svenska kraftnatSEKThe 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

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.
Market guide

NZ: New Zealand

Readiness

FieldValue
Overall stateresearch_required
Evidence date2026-08-20
AmpVerve market accessNot evidenced
AmpVerve System Operator or WITS connectorNot present as a verified production integration

Capability separation

CapabilityAmpVerve stateWhat must be true
App availabilitySeparate store decisionStore presence does not establish New Zealand market participation
Asset connectionresearch_required per manufacturer and modelProduction credentials, consent, telemetry and command tests
Read-only optimisationresearch_required per tenantContracted retail or spot exposure, nodal basis and validated interval data
Live control and smart energyresearch_requiredOnline capable asset, tenant activation and tested safe fallback
Grid export or V2Gresearch_requiredDistributor connection, metering and export terms for the exact installation
Flexibility and demand-side market participationresearch_requiredRegistered purchaser or agent, approved station, WITS and dispatch integration
Settlement and payoutresearch_requiredAccepted meter validation, clearing statement, contract and exercised NZD payout
Carbon monetisationresearch_requiredEligible 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

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.
Partners

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.

Partners

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

CapabilityWhat it is forStatus
Partner enrolment APICreate 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 credentialsMachine to machine access tokens for an integration, in place of an integration user's login.Planned
Hosted consent pageA page hosted by AmpVerve where your end customer gives, reviews and withdraws consent for your integration.Planned
Flexibility: availability submissionSubmit the flexibility your assets can offer, by period.Planned
Flexibility: dispatch noticesReceive the dispatch instructions for your enrolled assets.Planned
Flexibility: delivered versus baseline resultsFor each event, the energy delivered compared with the baseline.Planned
Flexibility: per event earnings statementsA statement of the earnings from each event.Planned

API consistency

ImprovementWhat changesStatus
Partial success in telemetry ingestionAn ingestion response that says which records were stored and which were not, so a client resends only what failed.Planned
One device status vocabularyThe same set of device status values in every operation that reports a device's status.Planned
One error formatThe 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.

More

Security

  • Tenant isolation. Every request is scoped to the organisation in the credential, never to a client supplied parameter. A conflicting X-Tenant-ID header is refused with 403.
  • 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.

More

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_id or asset_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/readyz at 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.

API Reference

AmpVerve Platform API

Postman collection

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

URLStatusNotes
https://app.ampverve.comLive

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.

Published API documentation

The machine readable specification is at https://app.ampverve.com/api-docs/openapi.json.

Webhooks

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.

Webhooks

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.

Connect

Site onboarding

Templated site creation with device discovery, a proposed point mapping to confirm, and the elapsed time from start to confirmation.

Connect

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.

Connect

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.

Connect

Fleet telematics

The latest measured position and ignition state of each vehicle from the organisation's vendor telematics feed.

Connect

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.

Connect

Data integrity

Commissioning checks and the asset inventory they run against.

Connect

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.

Monitor

Telemetry

Read back what you and your devices have written.

Monitor

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.

Monitor

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.

Monitor

EMS alerts

The alert queue ranked by pound impact per day, its evaluation, and the organisation's severity thresholds.

Monitor

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.

Monitor

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.

Monitor

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.

GET/api/hardware/field/vocabularyWork order statuses, allowed transitions, priorities and resolution codesLiveGET/api/hardware/field/assetsRegistry devices with feed freshness and live work ordersLiveGET/api/hardware/field/alertsOpen alerts with the work order raised from eachLiveGET/api/hardware/field/sla-policiesSLA policy in force per priority, with the platform defaultsLivePUT/api/hardware/field/sla-policies/{priority}Set the organisation's SLA policy for one priorityLiveDELETE/api/hardware/field/sla-policies/{priority}Remove the organisation's policy so the platform default appliesLiveGET/api/hardware/field/work-ordersDispatch list, filtered by status, priority, site, assignee and SLA riskLivePOST/api/hardware/field/work-ordersRaise a work order by hand against the asset registryLiveGET/api/hardware/field/work-orders/dueActive work orders already breached or due inside the windowLiveGET/api/hardware/field/reports/slaSLA report for the organisation over a periodLivePOST/api/hardware/field/work-orders/from-alert/{alert_id}Raise a work order from an alert, linked both waysLivePOST/api/hardware/field/work-orders/from-stale-feed/{device_id}Raise a work order for a device whose feed has stoppedLiveGET/api/hardware/field/work-orders/{work_order_id}One work order with its timeline, notes, attachments and linksLivePOST/api/hardware/field/work-orders/{work_order_id}/assignAssign to a named person or contractorLivePOST/api/hardware/field/work-orders/{work_order_id}/transitionMove the work order along its lifecycleLivePOST/api/hardware/field/work-orders/{work_order_id}/priorityRe-prioritise and recompute the due-bysLivePOST/api/hardware/field/work-orders/{work_order_id}/notesAppend a noteLivePOST/api/hardware/field/work-orders/{work_order_id}/attachmentsRecord an attachment's metadata (no file is stored)Live
Monitor

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.

Monitor

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.

Monitor

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).

Monitor

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.

GET/api/fleet/v2g/settingsWhether the school bus fleet V2G module is on, and its control modeAvailable after scheduled maintenancePUT/api/fleet/v2g/settingsSwitch the module on or off for one organisationAvailable after scheduled maintenanceGET/api/fleet/v2g/sitesThe organisation's sites the caller may seeAvailable after scheduled maintenanceGET/api/fleet/v2g/busesBuses, optionally at one siteAvailable after scheduled maintenancePUT/api/fleet/v2g/busesCreate or replace a bus by bus_refAvailable after scheduled maintenanceGET/api/fleet/v2g/routesRoutes, optionally at one siteAvailable after scheduled maintenancePUT/api/fleet/v2g/routesCreate or replace a route by route_refAvailable after scheduled maintenanceGET/api/fleet/v2g/timetableTimetable entries, optionally for one site's busesAvailable after scheduled maintenancePOST/api/fleet/v2g/timetableAdd a timetable entryAvailable after scheduled maintenancePUT/api/fleet/v2g/timetable/{entry_id}Replace a timetable entryAvailable after scheduled maintenanceDELETE/api/fleet/v2g/timetable/{entry_id}Remove a timetable entryAvailable after scheduled maintenanceGET/api/fleet/v2g/charger-assignmentsCharger assignments, all or in force nowAvailable after scheduled maintenancePOST/api/fleet/v2g/charger-assignmentsAssign a charger to a busAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/constraintsThe site constraints in forceAvailable after scheduled maintenancePUT/api/fleet/v2g/sites/{site_id}/constraintsRecord new site constraintsAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/programmesProgrammes at the site and their eligibility gatesAvailable after scheduled maintenancePUT/api/fleet/v2g/sites/{site_id}/programmesRecord a programme's gatesAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/readinessPer bus readiness and the energy kept for each departureAvailable after scheduled maintenance CalculatedPOST/api/fleet/v2g/guard/checkAsk the route-readiness guard about one dischargeAvailable after scheduled maintenance CalculatedPOST/api/fleet/v2g/guard/evaluateEvaluate one discharge without recording itAvailable after scheduled maintenance CalculatedGET/api/fleet/v2g/guard/decisionsRecorded guard decisions, newest firstAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/fleet-stateLive fleet state for the fleet mapAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/plansStored plans for the site, newest firstAvailable after scheduled maintenancePOST/api/fleet/v2g/sites/{site_id}/plansBuild and store an advisory plan for the siteAvailable after scheduled maintenance CalculatedPOST/api/fleet/v2g/sites/{site_id}/plans/what-ifBuild a plan without storing itAvailable after scheduled maintenance CalculatedGET/api/fleet/v2g/sites/{site_id}/plans/latestThe newest stored plan for the siteAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/evidenceEvidence ledger entries, newest firstAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/evidence.csvThe evidence ledger as CSVAvailable after scheduled maintenancePOST/api/fleet/v2g/sites/{site_id}/evidence/{entry_id}/measurementAdd the metered energy to an accepted entryAvailable after scheduled maintenancePOST/api/fleet/v2g/sites/{site_id}/evidence/{entry_id}/verificationRecord what a settlement statement paid for a measured entryAvailable after scheduled maintenancePOST/api/fleet/v2g/sites/{site_id}/guard/evaluateEvaluate one discharge at a site without recording itAvailable after scheduled maintenance CalculatedPOST/api/fleet/v2g/sim/telemetryLoad simulated telemetry into a demo organisationAvailable after scheduled maintenancePOST/api/fleet/v2g/sim/resetRemove a demo organisation's module data and simulated telemetryAvailable after scheduled maintenanceGET/api/fleet/v2g/reserve-settingsThe route reserve confidence levelAvailable after scheduled maintenancePUT/api/fleet/v2g/reserve-settingsSet the route reserve confidence levelAvailable after scheduled maintenancePOST/api/fleet/v2g/routes/{route_id}/energy-observationsRecord measured energy of past runs of a routeAvailable after scheduled maintenanceGET/api/fleet/v2g/sites/{site_id}/reserve-forecastRoute reserve per route: fixed buffer and quantileAvailable after scheduled maintenance CalculatedGET/api/fleet/v2g/peak-tag-marketsConfigured peak tag definitions and their public sourcesAvailable after scheduled maintenance
Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Optimise

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.

Settle and report

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.

Settle and report

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.

Settle and report

Certificates

Signed energy receipts and W3C Verifiable Credentials.

Settle and report

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.

Settle and report

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.

Settle and report

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.

Commercial

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.

GET/api/notifications/crm/settingsThe organisation's CRM settingsAvailable after scheduled maintenancePUT/api/notifications/crm/settingsChange stage probabilities or the retention periodAvailable after scheduled maintenanceGET/api/notifications/crm/forecastPipeline value by stage and expected close month, probability weightedAvailable after scheduled maintenance ForecastGET/api/notifications/crm/accountsAccounts (organisations being sold to)Available after scheduled maintenancePOST/api/notifications/crm/accountsCreate an accountAvailable after scheduled maintenanceGET/api/notifications/crm/accounts/{account_id}Account with its contacts, deals, tasks and activity timelineAvailable after scheduled maintenanceDELETE/api/notifications/crm/accounts/{account_id}Delete an account with its deals, activities and tasksAvailable after scheduled maintenancePATCH/api/notifications/crm/accounts/{account_id}Change an accountAvailable after scheduled maintenanceGET/api/notifications/crm/contactsContacts, each with its suppression stateAvailable after scheduled maintenancePOST/api/notifications/crm/contactsCreate a contactAvailable after scheduled maintenanceGET/api/notifications/crm/contacts/{contact_id}A contact and its timelineAvailable after scheduled maintenancePATCH/api/notifications/crm/contacts/{contact_id}Change a contactAvailable after scheduled maintenancePOST/api/notifications/crm/contacts/{contact_id}/opt-outRecord an opt out and suppress the addressAvailable after scheduled maintenancePOST/api/notifications/crm/contacts/{contact_id}/eraseDelete a contact on request (UK GDPR Article 17)Available after scheduled maintenancePOST/api/notifications/crm/contacts/{contact_id}/outreach-draftDraft an outreach email to a contact for approvalAvailable after scheduled maintenanceGET/api/notifications/crm/dealsDeals, for the pipeline boardAvailable after scheduled maintenancePOST/api/notifications/crm/dealsCreate a dealAvailable after scheduled maintenanceGET/api/notifications/crm/deals/{deal_id}Deal with its account, contact, stage history, tasks and timelineAvailable after scheduled maintenanceDELETE/api/notifications/crm/deals/{deal_id}Delete a dealAvailable after scheduled maintenancePATCH/api/notifications/crm/deals/{deal_id}Change a deal's details (not its stage)Available after scheduled maintenancePOST/api/notifications/crm/deals/{deal_id}/stageMove a deal to another stageAvailable after scheduled maintenanceGET/api/notifications/crm/activitiesTimeline for one account, contact or dealAvailable after scheduled maintenancePOST/api/notifications/crm/activitiesLog a call, meeting, email or noteAvailable after scheduled maintenanceDELETE/api/notifications/crm/activities/{activity_id}Delete a logged activityAvailable after scheduled maintenanceGET/api/notifications/crm/tasksTasks, the caller's or everyone'sAvailable after scheduled maintenancePOST/api/notifications/crm/tasksCreate a taskAvailable after scheduled maintenanceGET/api/notifications/crm/tasks/dueOpen tasks that are overdue or due today (UK date)Available after scheduled maintenancePATCH/api/notifications/crm/tasks/{task_id}Change a task or mark it doneAvailable after scheduled maintenancePOST/api/notifications/crm/import/trackerImport the outreach tracker CSVAvailable after scheduled maintenanceGET/api/notifications/crm/retention/previewContacts the next retention sweep would eraseAvailable after scheduled maintenancePOST/api/notifications/crm/retention/runErase the prospects past the retention period nowAvailable after scheduled maintenance
Commercial

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.

Developer tools

API keys

Issue, list, rotate and revoke organisation API keys (avk_...). Organisation administrators only. A key is shown once, at creation.

Developer tools

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.

Developer tools

Sandbox

A demo environment organisation of simulated data for building and testing an integration without touching any real home, site, device or market.

  1. An organisation administrator issues a sandbox key with POST /api/devtools/apikeys?environment=sandbox, and registers a sandbox webhook endpoint with POST /api/devtools/webhooks?environment=sandbox. Every key and webhook operation takes environment=sandbox.
  2. 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/me returns it with environment: sandbox.
  3. 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.
  4. POST /api/devtools/partner/v1/sandbox/webhooks/test sends 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.

Platform and access

Authentication

Obtain and refresh the bearer token that authorises every other call, and Microsoft Entra ID single sign-on.

Platform and access

Site access

Site personas and memberships: what each user may do on each site.

Platform and access

Audit log

Your organisation's audit trail, the catalogue of actions it records, and its CSV export.

Platform and access

Platform

Liveness, readiness, country capability and operational signals.

Platform and access

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.

Reference

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.