> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Show User Output

> Format and display results to users in HTML, JSON, tables, or other formats.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/output_formatter
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/output_formatter:
    post:
      tags:
        - Outputs
      summary: Show User Output
      description: >-
        Format and display results to users in HTML, JSON, tables, or other
        formats.
      operationId: outputFormatter
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                heading:
                  type: string
                  description: >-
                    Provide a heading for the output display, such as 'User
                    Results' or 'Analysis Summary'.
                  default: Output
                output_formatted:
                  type: string
                  x-ui: textarea
                  description: >-
                    Enter the formatted output, such as
                    '<h1>Results</h1><p>Details go here</p>' for HTML or 'key:
                    value' for JSON-like displays.
                format:
                  type: string
                  enum:
                    - auto
                    - iframe
                    - html
                    - json
                    - table
                    - markdown
                    - audio
                    - text
                  description: >-
                    Select the format for output display, such as 'HTML',
                    'JSON', 'Table', or 'Markdown'.
                  default: auto
              required:
                - output_formatted
                - format
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          description: Unauthorized - invalid or missing bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````