curl --request POST \
--url https://api-lr.agent.ai/v1/action/output_formatter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"output_formatted": "<string>",
"format": "auto",
"heading": "Output"
}
'{
"status": 123,
"response": {}
}Format and display results to users in HTML, JSON, tables, or other formats.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/output_formatter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"output_formatted": "<string>",
"format": "auto",
"heading": "Output"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)
Enter the formatted output, such as '
Details go here
' for HTML or 'key: value' for JSON-like displays.Select the format for output display, such as 'HTML', 'JSON', 'Table', or 'Markdown'.
auto, iframe, html, json, table, markdown, audio, text Provide a heading for the output display, such as 'User Results' or 'Analysis Summary'.