HERE Rules API

The Rules service creates and manages rules. Rules generate events and notifications when get triggered by a device behaviour. The following rule types are supported: * dwelling * detention * utilization * stock * online * shipmentEtaChange * shipmentSchedule After a rule has been created, it needs to be associated to a device to get activated. This association means that every time a telemetry is received from the device, it will be evaluated against the rule condition. As soon as the evaluation changes (for example, from true to false), an event will be recorded.

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rules/v4/health Check the Rules service health · Gets service health #
Ask an LLM
“Is the HERE Tracking Rules service up right now?”
“Can I ping the Rules service before sending it requests?”
Tell an agent
Check the health of the Rules service.
Tell me whether the Rules service is healthy.
GET /rules/v4/version Get the Rules service version · Gets service version #
Ask an LLM
“What version of the Rules service is deployed?”
“Which build of the Rules service am I talking to?”
Tell an agent
Get the version of the Rules service.
Show me which Rules service version is running.
POST /rules/v4 Create a tracking rule · Creates a rule #
Ask an LLM
“How do I set up a detention rule with a time threshold?”
“Does a new rule work before it is associated with a device?”
Tell an agent
Create a rule in project {projectId}.
Add a new detention rule to my project.
GET /rules/v4 List all tracking rules · Gets all rules #
Ask an LLM
“Which detention or dwelling rules are defined in my project?”
“Can I page through every rule in a project?”
Tell an agent
List all rules in project {projectId}.
Show {limit} rules per page.
DELETE /rules/v4 Delete every rule in a project · Deletes all rules #
Ask an LLM
“Can I remove all tracking rules at once?”
“What confirmation is needed to wipe every rule in a project?”
Tell an agent destructive · confirm first
Delete all rules in project {projectId} with x-confirm {confirm}.
Remove every tracking rule, confirming with {confirm}.
GET /rules/v4/{ruleId} Get one rule's definition · Gets a single rule #
Ask an LLM
“What is the threshold of a specific rule?”
“Can I fetch a single rule by ID?”
Tell an agent
Get rule {ruleId}.
Show the definition of rule {ruleId}.
PUT /rules/v4/{ruleId} Update a rule's name or threshold · Updates a single rule #
Ask an LLM
“Can I change the threshold of an existing rule?”
“Is it possible to change a rule's type after creating it?”
Tell an agent
Update rule {ruleId} with a new threshold.
Rename rule {ruleId} and change its description.
DELETE /rules/v4/{ruleId} Delete one rule · Deletes a rule #
Ask an LLM
“Can I delete a single rule and keep the others?”
“What removes one tracking rule by ID?”
Tell an agent destructive · confirm first
Delete rule {ruleId}.
Remove the single rule {ruleId}.

Documentation

📖
Documentation
https://docs.here.com/identity-and-access-management/docs
📖
APIReference
https://docs.here.com/identity-and-access-management/reference
📖
Documentation
https://docs.here.com/data-api/docs
📖
APIReference
https://docs.here.com/data-api/reference
📖
Documentation
https://docs.here.com/usage/docs
📖
APIReference
https://docs.here.com/usage/reference
📖
Documentation
https://docs.here.com/destination-weather/docs
📖
APIReference
https://docs.here.com/destination-weather/reference
📖
Documentation
https://docs.here.com/ev-products/docs
📖
APIReference
https://docs.here.com/ev-products/reference
📖
Documentation
https://docs.here.com/fuel-prices/docs
📖
APIReference
https://docs.here.com/fuel-prices/reference
📖
Documentation
https://docs.here.com/geocoding-and-search/docs
📖
APIReference
https://docs.here.com/geocoding-and-search/reference
📖
Documentation
https://docs.here.com/routing/docs
📖
APIReference
https://docs.here.com/routing/reference
📖
Documentation
https://docs.here.com/positioning/docs
📖
APIReference
https://docs.here.com/positioning/reference
📖
Documentation
https://docs.here.com/indoor-map/docs
📖
APIReference
https://docs.here.com/indoor-map/reference
📖
Documentation
https://docs.here.com/transit/docs
📖
APIReference
https://docs.here.com/transit/reference
📖
Documentation
https://docs.here.com/map-attributes/docs
📖
APIReference
https://docs.here.com/map-attributes/reference
📖
Documentation
https://docs.here.com/map-rendering/docs
📖
APIReference
https://docs.here.com/map-rendering/reference
📖
Documentation
https://docs.here.com/workspace/docs
📖
APIReference
https://docs.here.com/workspace/reference
📖
Documentation
https://docs.here.com/tour-planning/docs
📖
APIReference
https://docs.here.com/tour-planning/reference
📖
Documentation
https://docs.here.com/tracking/docs
📖
APIReference
https://docs.here.com/tracking/reference
📖
Documentation
https://docs.here.com/traffic-api/docs
📖
APIReference
https://docs.here.com/traffic-api/reference
📖
Documentation
https://docs.here.com/wego-pro/docs
📖
APIReference
https://docs.here.com/wego-pro/reference

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/here:here-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

here-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.6.11
  title: HERE Tracking Rules API
  description: 'HERE Tracking is a cloud product designed to address location tracking problems for a wide range of Location IoT industry verticals.


    HERE Tracking also includes end-user mobile and web applications that can be used to demonstrate the product.'
  license:
    name: HERE Documentation License
    url: https://legal.here.com/en-gb/terms/documentation-license
servers:
- url: https://tracking.hereapi.com/
- url: https://tracking.api.here.com/
tags:


# --- truncated at 32 KB (99 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/here/refs/heads/main/openapi/here-rules-api-openapi.yml