API Access

All of the following API endpoints have a base URL of the following

Your API Key can be found on your agents page. Copy this and use in all of your requests

Used to generate a text response from your AI agent Request Body Copy

{
    "agent_id": "",
    "text": "",
    "apiKey": ""
}

/trigger_agent

Used to activate your agent to execute a specific action Request Body Copy

{
    "agent_id": "",
    "text": "",
    "apiKey": ""
}

/train_agent

Used to enhance your agent's memory Request Body Copy

{
    "agent_id": "",
    "data": [
        {
            "text": "",
            "date": new Date(),
            //include any other fields here other than (id, location, agent_id, type)
        }
    ],
    "apiKey": ""
}

/get_agents

Used to retrieve information about all your agents Request Body Copy

{ 
      "apiKey": ""
}

Last updated