Feedloop AI
  • GETTING STARTED
    • Discover Feedloop AI
    • Authentication
      • Sign Up
      • Login
    • Platform
      • Workspace
      • Project
      • People
      • Usage
  • WHAT IS AGENT
    • What is Agent
      • ⚪Manage Agent
    • Basic Agent
      • ⚪Instruction
        • Who
        • What
      • ⚪Training
        • Rules
        • Example
      • ⚪Skill
        • Knowledge
        • Analys
      • ⚪Style
    • Procedures
    • Advance Reasoning
      • ⚪Creating New Agent
      • ⚪Advance Agent Activation
      • ⚪Deleting Agent
      • ⚪Advance Agent Managing Existing
  • AGENT SETTINGS
    • Instruction
      • Who
      • What
      • Additional Instruction
    • Training
      • Chat Rules
      • Retrieval
      • Answering
    • Context
      • Primitive Context
      • Array
    • Tools
      • Knowledge
      • API - Call
        • Manage API Call
        • Basic Configuration
        • Header
        • Body Field
          • Input Binding
            • Page 2
          • Output Binding
        • Testing API Call
        • Trouble Shooting
        • Example Implementation
          • API Call Covid
      • Data Connector
    • Card
      • Intro & Summary Text
      • Data Visualization Card
      • Analyze Card
    • Procedure Basic Info
      • Activation Condition
      • Goal
      • Action
    • Procedures Interaction
      • Procedures Step
      • Procedures Context
      • Procedures Tools
  • AGENT UTILITY
    • Resource
      • Document PDF
        • Preparing your PDF
      • Data Connector
        • Create new data connector
        • Configure dataset, table, and column
        • Using Data Playground
        • Dataset in Data Playground
        • Training in Data Playground
        • SQL generation and modification
        • SQL Execution
    • Apps
      • Chat Widget
      • Web App
    • Testing
    • Monitoring
      • Customer Chat
      • Context
      • Document
  • TASK
    • ⚪Image Analyzer
      • Building Analyzer
      • ID Identifier
    • ⚪Document Analyzer
      • Contractual Document Analyzer
    • ⚪Database Analyzer
    • ⚪Additional Solution
      • Text Sentiment Analyzer
      • Customer Complaint Analyzer
  • For Developer
    • API Chat
      • Chat Initialization
      • Chat Message
      • Chat History
      • Error Handling
    • Embed Widget
      • Embedding the Widget
      • Identity Attributes
      • Widget Attribute Details
Powered by GitBook
On this page
  1. AGENT SETTINGS
  2. Tools
  3. API - Call

Header

PreviousBasic ConfigurationNextBody Field

Last updated 7 months ago

The Headers section allows you to configure authorization or other required headers for your API requests. These headers typically contain key-value pairs that are required for the API server to validate the request or specify additional information like content type.


Accessing the Headers Section

  1. Navigate to the API Call Configuration:

    • From the Tools tab in the Agent Settings section, select your API Call configuration.

    • Scroll down to the Headers (Key-Value Pairs) section.


Adding Key-Value Pairs

  1. Purpose: Key-Value pairs in the headers are used to provide necessary information for making an API request, such as authentication tokens, API keys, or content types.

  2. How to Configure:

    • Key Field: Enter the required header key. This could be a predefined key such as "Authorization", "Content-Type", or other custom headers specific to the API.

    • Value Field: Enter the corresponding value for the header key. This could be an API token, content type (e.g., "application/json"), or other necessary authentication details.

  3. Example Configuration:

    • Key: "Authorization"

    • Value: "Bearer <your-auth-token>"

    • Key: "Content-Type"

    • Value: "application/json"

  4. Adding Multiple Key-Value Pairs:

    • To add more headers, click the "Add Key-Value" button.

    • You can add multiple key-value pairs based on the requirements of the API.

  5. Deleting Key-Value Pairs:

    • If a key-value pair is no longer needed, click the red Delete button (represented by a trash icon) next to the respective key-value pair.


Headers Example:

Key
Value

Authorization

Bearer your-auth-token

Content-Type

application/json

API Call Configuration - Header
Add new Header
Example Confuguration
Multiple Header