Get Graph Overview
GET
/api/v1/connections/{connection_id}/graph
Get FK dependency graph overview for a connection.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” connection_id
required
Connection Id
string format: uuid
Responses
Section titled “ Responses ”Successful Response
GraphOverviewApiResponse
Response for GET /connections/{id}/graph.
object
success
required
Success
Whether the request succeeded.
boolean
data
Any of:
GraphOverview
object
table_count
required
Table Count
Total number of tables in the FK dependency graph.
integer
edge_count
required
Edge Count
Total number of foreign key relationships in the graph.
integer
tables
required
Tables
Sorted list of all table names in the graph.
Array<string>
topological_order
required
Topological Order
Tables sorted in topological order based on FK dependencies. Tables with no dependencies appear first.
Array<string>
null
error
Any of:
ErrorDetail
null
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context