API Access

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

https://api.usebuild.fun/private

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

/generate_response (coming soon)

Used to generate a text respose of your ai agent

Request Body

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

/trigger_agent

Used to trigger your agent to perform a certain action

Request Body

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

/train_agent

Used to add to your agents memory

Request Body

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

/get_agents

Used to access all of your agents data

Request Body

{
    "apiKey": ""
}

Last updated