Map events

Send your traces' service graph, OpenLineage runs and CDEvents to kanman, so the Map shows who calls whom, where data flows and what was just deployed.

Your tools already know things about your platform while it runs: which service calls which, which job reads and writes which data, what was just deployed. Send those events to kanman in the formats your tools already speak, and they appear on your team’s Map: calls as connections, data flows as lineage, deploys, pipeline runs and incidents as moments on the live view.

Method and path What it takes Permission
POST /v1/teams/{team}/service-graph An OpenTelemetry service graph write
POST /v1/teams/{team}/lineage OpenLineage events write
POST /v1/teams/{team}/events CDEvents write

Each call answers 202 Accepted with how many items, facts and moments it brought in. A body may be up to 512 KB, as JSON or as newline-delimited JSON. What you send counts as observed by your team: it shows on the Map with its origin, like everything else, and kanman keeps only names and relations from it.

Service graph

Send the graph your tracing backend builds, in any of these shapes:

  • the traces_service_graph_request_total series of the OpenTelemetry Collector’s service graph connector or Grafana Tempo (a Prometheus query result),
  • Jaeger’s dependencies ([{"parent": "web", "child": "api", "callCount": 42}]).

If your workspace already has a Prometheus-compatible connection with these series, you do not need to send anything: kanman reads the busiest calls of the day from it every few hours.

OpenLineage

Point the OpenLineage HTTP transport at your team: set the URL to https://api.kanman.ai/functions/v1/api-gateway/v1/teams/{team} (the transport adds its default endpoint api/v1/lineage) and the API key to your token. kanman takes completed runs and job events: each job, the datasets it reads and writes, and its parent job.

CDEvents

Send CDEvents as they are, or inside CloudEvents. kanman reads:

Event On the Map
service.deployed, service.upgraded, service.rolledback The service is deployed to the environment and runs the artifact’s image; a deploy moment lights it
pipelinerun.finished A CI moment on the pipeline’s service or repository, red when it failed
incident.detected, incident.reported, incident.resolved An incident moment on the service, and its end

Other event types are counted and left out. The Map’s download offers the opposite direction: the last week’s deploys, pipeline runs and incidents as CDEvents.

Example

curl -X POST https://api.kanman.ai/functions/v1/api-gateway/v1/teams/shop/events \
  -H "Authorization: Bearer $KANMAN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"context":{"version":"0.4.1","id":"1","source":"ci","type":"dev.cdevents.service.deployed.0.2.0","timestamp":"2026-11-23T08:00:00Z"},
       "subject":{"id":"checkout","content":{"environment":{"id":"production"},"artifactId":"pkg:oci/checkout@sha256:abc"}}}'

Last updated: January 1, 0001

Open kanman