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/graphs

GET /api/v1/graphs

Signature

list(params?: GraphListParams): Promise<GraphListResponse>

Parameters

NameTypeFlags
paramsGraphListParamsoptional
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

NameTypeFlags
runIdstringrequired
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}/commit

POST /api/v1/graphs/{runId}/commit

Signature

commit(runId: string): Promise<GraphCommitResponse>

Parameters

NameTypeFlags
runIdstringrequired
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}/lineage

GET /api/v1/graphs/{runId}/lineage

Signature

lineage(runId: string, nodeId?: string): Promise<GraphLineageResponse>

Parameters

NameTypeFlags
runIdstringrequired
nodeIdstringoptional
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));