Create an Agent
Guide to creating an Agent in the Fetch Hive API.
Last updated
Was this helpful?
Guide to creating an Agent in the Fetch Hive API.
Last updated
Was this helpful?
Was this helpful?
POST /v1/agents HTTP/1.1
Host: api.fetchhive.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 249
{
"agent": {
"name": "text",
"description": "text",
"model_type": "text",
"llm_model": "text",
"temperature": 1,
"max_token": 1,
"max_thinking_token": 1,
"instruction_prompt": "text",
"google_search_tool": "disabled",
"history_tool": "disabled",
"reasoning_effort": "low"
}
}{
"message": "Successfully created an agent.",
"agent": {
"id": 1,
"name": "text",
"token": "text",
"custom_model": "text",
"llm_model": "text",
"temperature": 1,
"reasoning_effort": "low",
"max_token": 1,
"max_thinking_token": 1,
"instruction_prompt": "text",
"model_type": "text",
"provider": "text",
"google_search_tool": "text",
"history_tool": "text",
"status": "text",
"mcp_tools": [
{
"id": 1,
"token": "text",
"generated_at": "2025-12-08T21:01:58.970Z",
"status": "text",
"mcp_type": "google_search",
"is_enabled": true,
"is_disabled": true,
"data_set": {
"id": 1,
"name": "text",
"token": "text",
"namespace": "text",
"search_type": "text",
"search_score_threshold": 1,
"search_chunk_limit": 1
}
}
]
}
}