Introduction

The JSON API element allows your AI agent to call an external web API, retrieve data in JSON format, and pass that data to the language model (LLM) for processing.

This is useful when you want the AI to use real-time or external information (e.g., weather data, stock prices, product details, etc.) to answer questions, generate responses, or perform actions.

Get started

How to use it

To use the JSON API Element:

Adding the JSON API prompt

  1. Locate the JSON API element under the Prompt Plugin section.
  2. Drag and drop the element into the “Drop a prompt here” area.

Configure form properties

To properly integrate and configure the JSON API, set the following fields: