> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# check • AI Agent SDK

> check: Return a :class:`RateLimitDecision` for the supplied facts.

# check

Method

> This is a method of the [**SpendBudgetPolicyProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/SpendBudgetPolicyProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Return a :class:`RateLimitDecision` for the supplied facts.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def check() -> RateLimitDecision
```

### Returns

**Returns** `RateLimitDecision`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L5257)
>
> `praisonaiagents/gateway/protocols.py` at line 5257


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.