CognitionLab

FREEMIUM
By erinsteph
Updated 7 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

CognitionLab API Documentation

An extremely easy to use API for creating complex learning chat bots. Bots, or "Minds", start life with their own name, the user's name, and nothing else. From user input, they learn words and their context, so think of it like teaching a child to speak.

View API Details
GET/{mind-id}/{mind-name}/{user-name}/{message}
GET/{mind-id}/nuke
GET/{mind-id}/{mind-name}/{user-name}/{message}

Used to send a message to a bot, or just to create a new one. Params are: a unique ID for the bot, or "mind" (can be anything, an ID always returns the same mind), the name of the mind (can be changed as often as desired), the name of the person interacting with the mind (can be changed as often as desired), and the message to send to the mind.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
mind-nameSTRING
REQUIREDName the mind should go by
messageSTRING
REQUIREDMessage to the mind. If you have never used a mind-id before, the first message will also trigger the creation of the mind.
user-nameSTRING
REQUIREDName of the user
mind-idSTRING
REQUIREDA unique string to identify the mind, like an account username for the bot. (Note when choosing: "Mind", "mind", "Mind1", and "mind1" all return your default mind.)
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication