Skip to content

RelationshipCollection.graph

Fetch the team-scoped relationship graph for agents.

Optional quantity_id filters the subgraph around that quantity.

Server: GET /api/foundry/relationships/graph/.

Signature

graph(*, quantity_id: str | None=None) -> dict[str, Any]

Parameters

Name Type Required Default
quantity_id str \| None no None

Fields

Field
quantity_id

Return shape

dict[str, Any]

Permission

This is a local SDK helper. It does not call the CloudSprite HTTP API.

Usage

relationship_collection.graph()