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

# Interrupted Runs • AI Agent SDK

> interrupted_runs: Return ids of runs still ``running`` — resume candidates on restart.

# interrupted\_runs

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

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

Return ids of runs still `running` — resume candidates on restart.

A run left `running` belonged to a process that exited without
recording a terminal outcome; the gateway resumes each on boot.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def interrupted_runs() -> List[str]
```

### Returns

<ResponseField name="Returns" type="List[str]">
  The result of the operation.
</ResponseField>

## Uses

* `fetchall`
* `execute`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/journal.py#L293">
  `praisonaiagents/runtime/journal.py` at line 293
</Card>
