Create an Agent

Guide to creating an Agent in the Fetch Hive API.

Create a new agent

post

Create a new agent with specified parameters

Authorizations
Body
Responses
200
Successful response
application/json
post
POST /v1/agents HTTP/1.1
Host: api.fetchhive.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 137

{
  "agent": {
    "name": "text",
    "description": "text",
    "instruction_prompt": "text",
    "llm_model": "text",
    "model_type": "text",
    "data_set_token": "text"
  }
}
{
  "message": "Successfully created an agent.",
  "agent": {
    "id": 1,
    "name": "text",
    "token": "text",
    "custom_model": "text",
    "llm_model": "text",
    "instruction_prompt": "text",
    "model_type": "text",
    "provider": "text",
    "google_search_tool": "text",
    "vector_search_tool": "text",
    "history_tool": "text",
    "status": "text",
    "data_set": {
      "id": 1,
      "name": "text",
      "token": "text"
    }
  }
}

Last updated

Was this helpful?