← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/python/access_policy.grants/get.md

604 Bytes · Oct 2, 2026 · 00:24 UTC

↓ Download file

<!-- sdk-ref package=goodmem registry=pypi version=0.1.34 -->

# access_policy.grants.get

Get an authorization grant

Reads one live grant, or one revoked historical grant when include_revoked is true, after requiring MANAGE_ACCESS on its policy target.

Args:
    id (str): Grant UUID
    include_revoked (bool, optional, default=False): Include a revoked historical row

Returns:
    AuthorizationGrant

```python
access_policy.grants.get(*, id: 'str', include_revoked: 'bool | None' = None) -> 'AuthorizationGrant'
```

[access_policy.grants](../access_policy.grants.md) · [Python](../../python.md)

SHA-256: 164bc7c4dade107b9178341bb0bf63437a1a2849a1c121e69078dae12f64f75b