Skip to main content
POST
/
action
/
shared_render_tabbed_report
Create Tabbed Report
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/shared_render_tabbed_report \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "output_variable_name": "results_html",
  "subtitle": "<string>",
  "report_data": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
title
string
required

Main heading displayed in the sidebar and page title.

output_variable_name
string
default:results_html
required

Variable name for the rendered HTML. Use {{results_html}} in a subsequent Show User Output action.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
subtitle
string

Secondary text shown below the title in the sidebar.

report_data
string

JSON with optional "title", "subtitle", and required "sections" array. Each section: {"key": "overview", "title": "Overview", "icon": "📊", "badge": "3 items", "html": "

Content

"}. You can also pass sections from a prior action variable, e.g. {{report_sections}}.

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action