Get graph visualization data
GET /v1/projects/{projectId}/graph
Returns a graph representation of the project’s architecture with nodes (services and topics) and edges (relationships). Supports focusing on specific entities and controlling relationship depth for partial graph views. The response includes positioning data and styling information for visualization (colors, coordinates, dimensions).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An identifier (e.g., my-project-a1b2c)
Query Parameters
Section titled “Query Parameters ”Entity IDs to filter by (e.g., “service—payment”, “category—billing”)
Relationship depth levels (0=entity only, 1=direct connections, etc.)
ISO-8601 timestamp to retrieve the project state at a specific point in time. If omitted, returns the current state.
Responses
Section titled “ Responses ”The project graph with nodes and edges
Graph representation of a project with nodes and edges
object
The nodes in the graph (services and topics)
A node in the project graph
object
Unique identifier for the node
Type of graph node
Display label for the node
Width of the node
Height of the node
X coordinate of the node
Y coordinate of the node
Category ID of the node
Category display name
Category color for visual representation
Owner ID of the node
Owner display name
Owner color for visual representation
Flow IDs that the node belongs to
Flow display names
Flow colors for visual representation
The edges connecting nodes
An edge connecting two nodes in the graph
object
Unique identifier for the edge
Type of graph edge
ID of the source node
ID of the target node
Invalid query parameters
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersUnauthorized, authentication required
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersProject not found
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersToo many requests
Rate limit exceeded error response
object
HTTP status code
Example
429Machine-readable error code in snake_case
Error message
Example
Too many requestsNumber of seconds until the client can retry
Example
60Headers
Section titled “Headers ”Number of seconds to wait before retrying
Internal server error
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 characters