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

# Export Run • AI Agent SDK

> export_run: Everything needed to resume ``run_id`` in another process.

# export\_run

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**portable**](../modules/portable) module.

Everything needed to resume `run_id` in another process.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def export_run(journal: RunJournal, run_id: str) -> Dict[str, Any]
```

## Parameters

<ParamField query="journal" type="RunJournal" required={true}>
  No description available.
</ParamField>

<ParamField query="run_id" type="str" required={true}>
  No description available.
</ParamField>

### Returns

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

## Uses

* `journal.run_meta`
* `PortableRunError`
* `journal.events`

## Used By

* [`export_run_json`](../functions/export_run_json)

## Source

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