Platform API ClientClient group4 methodsGraphsMethods
Graphs
Access causal graph snapshots, commit immutable root hashes, and pull lineage views with optional node scoping.
Graph retrievalCommit root hashLineage traversal
Graphs
graphs.list()
Generated exampleHTTP endpoint wrapperGET /api/v1/graphsGET /api/v1/graphs
Signature
list(params?: GraphListParams): Promise<GraphListResponse>Parameters
| Name | Type | Flags |
|---|---|---|
| params | GraphListParams | optional |
Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
params = {} # GraphListParams
response = platform.graphs.list(params)
print(response)Response
// Response type
Promise<GraphListResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));graphs.get()
Generated exampleHTTP endpoint wrapperGET /api/v1/graphs/{runId}GET /api/v1/graphs/{runId}
Signature
get(runId: string): Promise<CausalGraphResponse>Parameters
| Name | Type | Flags |
|---|---|---|
| runId | string | required |
Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
runId = "<runId>"
response = platform.graphs.get(runId)
print(response)Response
// Response type
Promise<CausalGraphResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));graphs.commit()
Generated exampleHTTP endpoint wrapperPOST /api/v1/graphs/{runId}/commitPOST /api/v1/graphs/{runId}/commit
Signature
commit(runId: string): Promise<GraphCommitResponse>Parameters
| Name | Type | Flags |
|---|---|---|
| runId | string | required |
Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
runId = "<runId>"
response = platform.graphs.commit(runId)
print(response)Response
// Response type
Promise<GraphCommitResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));graphs.lineage()
Generated exampleHTTP endpoint wrapperGET /api/v1/graphs/{runId}/lineageGET /api/v1/graphs/{runId}/lineage
Signature
lineage(runId: string, nodeId?: string): Promise<GraphLineageResponse>Parameters
| Name | Type | Flags |
|---|---|---|
| runId | string | required |
| nodeId | string | optional |
Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
runId = "<runId>"
nodeId = "<nodeId>"
response = platform.graphs.lineage(runId, nodeId)
print(response)Response
// Response type
Promise<GraphLineageResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));