Authorization header.
Get full topology
GET https://your-api-domain.com/api/v1/service-map/topology
Returns the entire service dependency graph as a list of nodes and directed edges. Useful for rendering a complete topology visualization.
Response fields
object[]
required
All registered services.
object[]
required
Directed dependency relationships between services.
List all services
GET https://your-api-domain.com/api/v1/service-map
Returns a flat list of all registered services without edge data.
Response fields
object[]
required
Array of service objects.
Get a service
GET https://your-api-domain.com/api/v1/service-map/:id
Retrieves the full record for a single service.
Path parameters
string
required
The unique identifier of the service.
Get downstream impact
GET https://your-api-domain.com/api/v1/service-map/:id/downstream-impact
Returns all services that directly or transitively depend on the specified service. Use this before making changes to understand blast radius.
Path parameters
string
required
The unique identifier of the upstream service to analyze.
Response fields
object[]
required
Services that would be affected if the target service degrades or goes offline.
Create a service
POST https://your-api-domain.com/api/v1/service-map
Registers a new service in the service map. After creation, add dependencies with POST /dependencies.
Request body
string
required
A unique, human-readable name for the service.
string
A short description of the service’s role.
string
The team slug responsible for this service.
Response fields
string
required
Server-assigned unique identifier for the new service.
string
required
The service name.
string
required
ISO 8601 creation timestamp.
Add a dependency
POST https://your-api-domain.com/api/v1/service-map/dependencies
Declares a dependency relationship between two registered services. The sourceId service depends on the targetId service.
Request body
string
required
The ID of the downstream (dependent) service.
string
required
The ID of the upstream (depended-upon) service.
Response fields
string
required
Unique identifier for the new dependency record.
string
required
The dependent service ID.
string
required
The upstream service ID.
Update a service
PATCH https://your-api-domain.com/api/v1/service-map/:id
Partially updates a service record. Only fields included in the request body are modified.
Path parameters
string
required
The unique identifier of the service to update.
Request body
string
New name for the service.
string
Updated description.
string
Updated owning team slug.
Delete a service
DELETE https://your-api-domain.com/api/v1/service-map/:id
Removes a service and all of its dependency relationships from the service map.
Path parameters
string
required
The unique identifier of the service to delete.
Delete a dependency
DELETE https://your-api-domain.com/api/v1/service-map/dependencies/:depId
Removes a single dependency relationship. The services themselves are not affected.
Path parameters
string
required
The unique identifier of the dependency to remove.