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

# Import Run Json • AI Agent SDK

> import_run_json: ``import_run`` from a JSON string.

# import\_run\_json

Function

> This function is defined in the [**portable**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/portable.md) module.

`import_run` from a JSON string.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def import_run_json(journal: RunJournal, text: str) -> str
```

## Parameters

**journal** `RunJournal` *required*

No description available.

**text** `str` *required*

No description available.

### Returns

**Returns** `str`

The result of the operation.

## Uses

* `json.loads`
* `PortableRunError`
* `import_run`

## Source

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


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