api.ai

FREE
By artemgoncharuk
Updated 7 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

api.ai API Documentation

API AI provides a way to create mapping between language structures that are common in natural languesgea and data structures that are easy for software to parse and take action. Once these mappings have been created, you can make a query with either natural languages text or a voice sound file, and API.AI will return structured data with an action to take the parameters to act upon.

View API Details
Query
GETNatural language text
POSTNatural language
POSTSound file
Entities
GETAll entities retrieve
GETSpecified entity retrieve
POSTNew entity
PUTSpecified entity update
DELETESpecified entity delete
Intents
GETAll intents retrieve
GETSpecified intent retrieve
POSTNew intent
PUTSpecified intent update
DELETESpecified intent delete
GETNatural language text

Takes natural language text and information as query parameters and returns information as JSON.

Authorization:

To get your access tokens and subscription key : http://api.ai/docs/reference/authentication.html

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
ocp-apim-subscription-keyHEADER
REQUIREDYOUR_SUBSCRIPTION_KEY
AuthorizationHEADER
REQUIREDBearer YOUR_ACCESS_TOKEN
Required Parameters
querySTRING
REQUIREDThe natural language text to be processed.
Optional Parameters
timezoneSTRING
OPTIONALTime zone from IANA Time Zone Database
langSTRING
OPTIONALLanguage tag from [HTTP/1.1 specification section 3.10]
contextsSTRING
OPTIONALList of contexts for the query
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication