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

Function

> This function is defined in the [**portable**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/portable.md) 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

**journal** `RunJournal` *required*

No description available.

**run\_id** `str` *required*

No description available.

### Returns

**Returns** `Dict[str, Any]`

The result of the operation.

## Uses

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

## Used By

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

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/portable.py#L46)**
>
> `praisonaiagents/runtime/portable.py` at line 46


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