Skip to main content
POST
/
action
/
output_formatter
Show User Output
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": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
output_formatted
string
required

Enter the formatted output, such as '

Results

Details go here

' for HTML or 'key: value' for JSON-like displays.

format
enum<string>
default:auto
required

Select the format for output display, such as 'HTML', 'JSON', 'Table', or 'Markdown'.

Available options:
auto,
iframe,
html,
json,
table,
markdown,
audio,
text
heading
string
default:Output

Provide a heading for the output display, such as 'User Results' or 'Analysis Summary'.

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action