Sofie AI
  • Introduction
  • Capabilities
  • CREATE AN AGENT
    • Agent Dashboard
    • Information
    • Twitter Configuration
    • Configure Triggers
    • Configure Functions
    • Finalize and Launch
  • EXAMPLE
    • Example (Weather)
    • Example (Custom)
    • Example (Stocks)
  • SECTOR AI
    • API Access
    • Product Roadmap
  • Tokenomics
  • Official Links
Powered by GitBook
On this page
  1. SECTOR AI

API Access

PreviousExample (Stocks)NextProduct Roadmap

Last updated 3 days ago

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": ""
}
https://api.sector-ai.io/privateapi.sector-ai.io