build.fun ($BUILD)
  • Basics
    • What is $BUILD
    • Capabilities
    • Product Roadmap
    • Official Links
    • Tokenomics
  • Create an Agent
    • Getting Started
      • Agent Dashboard
      • Information
      • Twitter Configuration
      • Configure Triggers
      • Configure Functions
      • Finalize and Launch
    • API Access
    • Example (Weather)
    • Example (Custom)
    • Example (Stocks)
Powered by GitBook
On this page
  • /generate_response (coming soon)
  • /trigger_agent
  • /train_agent
  • /get_agents
Export as PDF
  1. Create an Agent

API Access

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

PreviousFinalize and LaunchNextExample (Weather)

Last updated 4 months ago

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": ""
}

https://api.usebuild.fun/private