run_paragraph
Execute a paragraph in a Zeppelin notebook and retrieve its output, preserving chart settings; control table row limits and HTML inclusion to manage token usage.
Instructions
Run a paragraph and return the result. Uses the async job endpoint which preserves chart/visualization settings.
By default, table output is limited to 50 rows and HTML output is omitted to save tokens.
Set max_rows=0 for unlimited rows when you need full results for analysis.
Set include_html=True to see HTML output converted to plain text.
On error, the response includes the error output — examine it before retrying.
Args:
notebook_id: The notebook ID containing the paragraph
paragraph_id: The paragraph ID to run
params: Optional dict of dynamic form values, e.g. {"city": "Seoul"}.
max_rows: Maximum data rows for table output (default 50, 0 = unlimited). Header row always included.
include_html: If True, include HTML output converted to plain text. If False (default), HTML is omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| max_rows | No | ||
| notebook_id | Yes | ||
| include_html | No | ||
| paragraph_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |