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

# completed • AI Agent SDK

> completed: API reference for RunOutcome.completed

# completed

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

> This is a method of the [**RunOutcome**](../classes/RunOutcome) class in the [**run\_outcome**](../modules/run_outcome) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def completed(output: Optional[str]) -> 'RunOutcome'
```

## Parameters

<ParamField query="output" type="Optional[str]" required={false}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="'RunOutcome'">
  The result of the operation.
</ResponseField>

## Uses

* `cls`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/run_outcome.py#L56">
  `praisonaiagents/agent/run_outcome.py` at line 56
</Card>
