> ## 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.

# Mark Success • AI Agent SDK

> mark_success: Mark a profile as successful.

# mark\_success

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**FailoverManager**](../classes/FailoverManager) class in the [**failover**](../modules/failover) module.

Mark a profile as successful.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def mark_success(profile: AuthProfile) -> None
```

## Parameters

<ParamField query="profile" type="AuthProfile" required={true}>
  The profile that succeeded
</ParamField>

## Uses

* `profile.reset`
* `logger.info`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/llm/failover.py#L355">
  `praisonaiagents/llm/failover.py` at line 355
</Card>
