{"openapi":"3.1.0","info":{"title":"HERE Traffic API (your key) API","version":"0.1.0","description":"HERE Traffic API (your key) lets an AI assistant read your own HERE Traffic data through the HERE Traffic API with a key you supply (HERE API key). Read-only: 5 tools (get_traffic_flow, list_traffic_incidents, get_traffic_incident, get_service_version, get_service_health). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-here-traffic.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-here-traffic/docs"},"termsOfService":"https://connectorbay.com/byok-here-traffic/terms"},"servers":[{"url":"https://byok-here-traffic.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-here-traffic/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_traffic_flow":{"post":{"operationId":"get_traffic_flow","summary":"Real-time traffic flow for road segments inside an area: current speed, free-flow speed, jam factor (0 free to 10 blocke","description":"Real-time traffic flow for road segments inside an area: current speed, free-flow speed, jam factor (0 free to 10 blocked), confidence and whether the road is open. Use for \"How congested are the roads within 5 km of central Berlin right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"area":{"description":"Area to search, as 'circle:LAT,LNG;r=METERS', 'bbox:WEST,SOUTH,EAST,NORTH' or 'corridor:POLYLINE;r=METERS' (flexible polyline, at most 300 points), for example 'circle:52.5308,13.3847;r=5000'.","maxLength":2000,"title":"Area","type":"string"},"location_referencing":{"anyOf":[{"enum":["none","olr","shape","tmc","segmentRef"],"type":"string"},{"type":"null"}],"default":"none","description":"How locations are described in the answer: none (smallest), olr, shape, tmc or segmentRef. Use 'none' unless geometry is needed.","title":"Location Referencing"},"min_jam_factor":{"anyOf":[{"maximum":10,"minimum":0,"type":"number"},{"type":"null"}],"default":0,"description":"Only segments with jam factor at or above this value (0 to 10).","title":"Min Jam Factor"},"max_jam_factor":{"anyOf":[{"maximum":10,"minimum":0,"type":"number"},{"type":"null"}],"default":10,"description":"Only segments with jam factor at or below this value (0 to 10).","title":"Max Jam Factor"},"functional_classes":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated road classes 1 (major) to 5 (local) to include, for example '1,2,3'. Default is all.","title":"Functional Classes"}},"required":["area"],"title":"get_traffic_flowArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_traffic_incidents":{"post":{"operationId":"list_traffic_incidents","summary":"List real-time traffic incidents (accidents, closures, construction, hazards) inside an area with type, criticality, sta","description":"List real-time traffic incidents (accidents, closures, construction, hazards) inside an area with type, criticality, start and end time and description. Use for \"Are there road closures or accidents within 5 km of central Berlin\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"area":{"description":"Area to search, as 'circle:LAT,LNG;r=METERS', 'bbox:WEST,SOUTH,EAST,NORTH' or 'corridor:POLYLINE;r=METERS' (flexible polyline, at most 300 points), for example 'circle:52.5308,13.3847;r=5000'.","maxLength":2000,"title":"Area","type":"string"},"location_referencing":{"anyOf":[{"enum":["none","olr","shape","tmc","segmentRef"],"type":"string"},{"type":"null"}],"default":"none","description":"How locations are described in the answer: none (smallest), olr, shape, tmc or segmentRef. Use 'none' unless geometry is needed.","title":"Location Referencing"},"functional_classes":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated road classes 1 (major) to 5 (local) to include, for example '1,2,3'. Default is all.","title":"Functional Classes"},"criticality":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated severities to keep: low, minor, major, critical.","title":"Criticality"},"incident_type":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated types: accident, construction, congestion, disabledVehicle, massTransit, plannedEvent, roadHazard, roadClosure, weather, laneRestriction, other.","title":"Incident Type"},"earliest_start_time":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only incidents starting at or after this RFC 3339 UTC time, for example 2026-10-19T00:00:00Z.","title":"Earliest Start Time"},"latest_end_time":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only incidents ending at or before this RFC 3339 UTC time.","title":"Latest End Time"},"lang":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for incident texts, for example 'en-US'.","title":"Lang"},"units":{"anyOf":[{"enum":["metric","imperial"],"type":"string"},{"type":"null"}],"default":"metric","description":"Units used in incident descriptions: metric or imperial.","title":"Units"}},"required":["area"],"title":"list_traffic_incidentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_traffic_incident":{"post":{"operationId":"get_traffic_incident","summary":"Get one traffic incident by its original id (the id never changes through updates), with type, criticality, times and de","description":"Get one traffic incident by its original id (the id never changes through updates), with type, criticality, times and description. Use for \"Show details of traffic incident TTR1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"original_id":{"description":"Original incident id from list_traffic_incidents (incidentDetails.originalId), optionally with a namespace prefix.","maxLength":200,"title":"Original Id","type":"string"},"location_referencing":{"anyOf":[{"enum":["none","olr","shape","tmc","segmentRef"],"type":"string"},{"type":"null"}],"default":"none","description":"How locations are described in the answer: none (smallest), olr, shape, tmc or segmentRef. Use 'none' unless geometry is needed.","title":"Location Referencing"},"lang":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for incident texts, for example 'en-US'.","title":"Lang"},"units":{"anyOf":[{"enum":["metric","imperial"],"type":"string"},{"type":"null"}],"default":"metric","description":"Units used in incident descriptions: metric or imperial.","title":"Units"}},"required":["original_id"],"title":"get_traffic_incidentArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_service_version":{"post":{"operationId":"get_service_version","summary":"Show the Traffic API version and service version, to confirm that the key can reach the service. Use for \"Which version ","description":"Show the Traffic API version and service version, to confirm that the key can reach the service. Use for \"Which version of the HERE Traffic API am I talking to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_service_versionArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_service_health":{"post":{"operationId":"get_service_health","summary":"Check whether the HERE Traffic API service reports itself healthy (status ok). Use for \"Is the HERE Traffic API up\".","description":"Check whether the HERE Traffic API service reports itself healthy (status ok). Use for \"Is the HERE Traffic API up\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_service_healthArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}