Artificial Intelligence Corporate Risk
  • Welcome
  • Getting Started
    • Inviting Users
    • Adding New Large Language Models
      • Azure OpenAI Service
      • OpenAI
      • Mistral
      • Google AI
      • LLaMA AI
      • AWS Bedrock
  • Chat
    • Initiating a Chat
    • Viewing Chat History
  • Dashboards
    • Creating Dashboards
    • Dashboard Elements
      • Top N
      • Charts and Graphs
      • Totals
      • Maps
  • Monitoring
    • Adding a User to the Monitor Role
    • Setting up alerts and issues
    • Editing Issues
  • Compliance
    • Adding a User to the Compliance Role
    • Creating a Search
    • Consuming the Results
  • Admin
    • AI Agents
      • Adding a New Agent
        • General Settings
        • Agent Engine Properties
          • Azure OpenAI
          • OpenAI
          • Mistral
          • Google AI
          • LLaMA AI
          • AWS Bedrock
        • Advanced Settings
          • Usage
            • Max Messages
            • LLM Temperature
          • Scanners
            • AI Scanners
            • General Scanners
          • API Keys
          • Files
      • Editing an Agent
      • Deleting an Agent
      • Adding from a Template
    • Company
      • General Information
      • External Agent Provider Settings
    • Custom APIs
      • OAuth2 API
      • Adding a New API
        • API Information
        • API Headers
        • API Endpoint Parameters
        • API Query Parameters
        • Body Parameters
      • Editing a Custom API
      • Deleting a Custom API
    • Custom Database
    • Users
      • Inviting a New User
      • Deleting a User
      • Roles
        • Accessing User Roles
      • Assigning an Agent
      • Setting a Default Agent
    • Groups
      • Adding a New Group
      • Deleting a Group
      • Assigning a User
      • Removing a User
      • Adding an Agent
      • Removing an Agent
    • Agent Scanner Defaults
      • Toxicity
      • Personal Information
      • Topic Scanner
      • Prompt Injection Detection
      • Regex Scanner
      • Geographic Gating
      • Language Detection
      • Allowed File Types
    • Logs
      • Interpreting Logs
  • Server Admin
    • Upgrade
    • Default Agents
      • Adding a New Agent
    • Data Archive
    • API Access
      • Chat
        • List Agents
        • Create Conversation
        • List of Conversations
        • Get Conversations
        • Ask Agent
        • Chat with Agent
        • Add File to Conversation
        • Add Files to Agent
        • Deleting a File
      • OAuth2
        • OAuth2
        • OAuth2 Token
      • Users
        • List Users
        • Create User
        • Add User to Group
        • Set User Token
        • Delete User
      • How to Launch Our API Example
        • How the Code Works
    • Configure OAuth2
    • Custom Secrets
  • API Overview
    • Authentication
    • Calling the Scanner
    • Consuming the Results
    • 📃Pagination
      • Understanding API Parameters
      • Pagination Helper
      • Example Page
      • Recap
    • AIRisk API OAuth2 Authentication
      • Authorization
      • Authorization Endpoint
        • Example Authorization URL
        • Error Responses
      • Tokens
        • Error Handling
        • Generic vs. User-Specific Tokens
          • Example Usage Flow / Reasons
        • Usage of the Access Token
      • Token Endpoint
        • Example Token Request
        • Error Responses
      • Summary of OAuth2 Authorization Flow
  • Managing Your Account
    • Personal Data
  • Support
    • Onboarding Check List
  • Internal Deployment
    • Outlook Plugin
    • Firewall Rules
    • Infrastructure
    • Graph Connection Requirements
    • Zoom Transcripts
  • Example Python Application
  • Release Notes
    • V4.28
    • V4.12
    • V4.0
    • V3.71
    • V3.0 Beta
    • V2.23
    • V2.22
    • V2.120 HotFix
    • V2.103 June 1
Powered by GitBook
On this page
  • API Name:
  • Call Type:
  • Response Type:
  • Use OAuth2:
  • API Endpoint:
  • Function Prompt:
  1. Admin
  2. Custom APIs
  3. Adding a New API

API Information

How to Fill Out API Information

PreviousAdding a New APINextAPI Headers

Last updated 4 months ago

The general settings are for configuring and customizing the agent's identity, behavior, and operational parameters. By providing clarity and guidance within this section, users can effectively tailor the agent to meet their specific needs and objectives.

API Name:

  • Input Field Type: Text Field

  • Description: This field allows the user to specify a unique name for the Custom API.

  • Usage: Enter a concise and descriptive name that succinctly identifies the API within the system. This name should facilitate easy recognition and differentiation among multiple APIs.

Call Type:

  • Input Field Type: Dropdown Menu (we offer three differed request methods for APIs)

Used to RETRIEVE data from a resource

Used to CREATE a new resource

Used to UPDATE an existing resource

  • Description: pick the specific request method used for the Custom API that they are creating as each type has a different function

  • Usage: Choose the correct request method in order for you API to be able to retrieve the correct data or else the test API feature at the end will not work. The website whose API you are trying to implement will most likely describe which of the three it is.

Response Type:

  • Input Field Type: Dropdown Menu

JSON (JavaScript Object Notation) used for data exchange between systems, APIs, and databases. Represents data as objects (key-value pairs), arrays, and primitive values (strings, numbers, Booleans, null)

Java streams allow operations such as filtering, mapping, reducing, and sorting data from collections, arrays. NOT RELATED TO JSON, instead streaming data within Java applications.

Specialization: there are specialized streams for primitive types IntStream, LongStream, DoubleStream

  • Description: referring to the format or structure in which an API communicates data back to the requester for data. JSON and Stream are the two retrieval data types offered on our platform.

  • Usage: Choose the correct request method so that when later testing the Custom API it returns the correct information and in the correct format. JSON is readable and represents data such as objects, arrays, and primitive values while Java Streams are efficient and powerful for data manipulation.

Use OAuth2:

  • Input Field Type: Check Box

  • Description: authorization framework that enables users to safely share their data better between different applications.

  • Usage: Eliminates the need for shared user credentials and provides simple, well-defined authorization flows.

  • Box: Used to identify a user in the Box API, a common server-side authentication method

API Endpoint:

  • Input Field Type: Text Field

  • Description: User must enter the API endpoint link without parameters as that will be entered later in either section of "API Header", "API Endpoint Parameters", or "API Endpoint Parameters".

  • Usage: Connect the appropriate link to the text field in order to successfully connect to the correct wed database or server, for desired data to be later used by agent using the API function.

Function Prompt:

  • Input Field Type: Text Area

  • Description: User will write out in the detail what the use of the API will be such as what data it retrieves and what questions will prompt the assigned agent to use this API call.

  • Usage: Utilized by the Agent assigned to the Custom API to decide when to utilize the API function to retrieve specific information and datasets to answer a question posed by the user.