View as Markdown

SDK reference · Python SDK

prov.mandate.runs

prov.mandate.runs in the Python SDK: 5 methods. Agent-team runs.

Methods

create

prov.mandate.runs.create(name: Optional[str] = …, root_grant_id: Optional[str] = …) -> Any

Calls POST /v1/mandate/runs.

list

prov.mandate.runs.list(status: Optional[str] = …, q: Optional[str] = …, created_gte: Optional[str] = …, created_lte: Optional[str] = …, limit: Optional[int] = …, cursor: Optional[str] = …, sort: Optional[str] = …, outside_agent: Optional[str] = …) -> Any

One page of your runs, newest first.

Calls GET /v1/mandate/runs.

get

prov.mandate.runs.get(run_id: str) -> Any

The run page: the team, the guard and escalations and delegation_proposals, newest first, each with approval_context (how the person decided; None while pending).

Calls GET /v1/mandate/runs/{id}.

halt

prov.mandate.runs.halt(run_id: str, reason: str) -> Any

Every member stops on its next verify; the run's mandates are revoked.

Calls POST /v1/mandate/runs/{id}/pause.

end

prov.mandate.runs.end(run_id: str) -> Any

Calls POST /v1/mandate/runs/{id}/end.

Was this page helpful? Send us feedback

LLM? Read llms.txt.