# prov.mandate.runs

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

## Methods

### [create](https://provenanceauth.com/docs/sdks/python/mandate-runs/create.md)

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

Calls `POST /v1/mandate/runs`.

### [list](https://provenanceauth.com/docs/sdks/python/mandate-runs/list.md)

```python
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](https://provenanceauth.com/docs/sdks/python/mandate-runs/get.md)

```python
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](https://provenanceauth.com/docs/sdks/python/mandate-runs/halt.md)

```python
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](https://provenanceauth.com/docs/sdks/python/mandate-runs/end.md)

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

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