Wabee Agent Core API
- Create a new sub-agent
Wabee Agent Core API (v1)
Wabee Agent Core API enables developers to interact with an AI agent in a custom, secure and flexible manner through REST API calls.
One can build applications to interact with the agent API to complete a task using any of the Agents endpoints which allow for both text streaming and direct JSON response. The Memory endpoints are useful for managing the agent memory programatically. Moreover, the Metrics endpoints provide an interface for monitoring the underlying Agent in terms of latency, health, token consumption and much more.
Wabee License
https://api.docs.wabee.ai/_mock/openapi/
https://<your_agent_uri>.wabee.ai/
- Mock server
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents
- Production server
https://<your_agent_uri>.wabee.ai/core/v1/chain/sub_agents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents \
-H 'x-wabee-access: YOUR_API_KEY_HERE'{ "sub_agents": [ { … } ] }
A detailed description of the sub-agent's purpose and capabilities
The primary goal or objective for the sub-agent
List of tool names to include for the sub-agent
- Mock server
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents
- Production server
https://<your_agent_uri>.wabee.ai/core/v1/chain/sub_agents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents \
-H 'Content-Type: application/json' \
-H 'x-wabee-access: YOUR_API_KEY_HERE' \
-d '{
"name": "Market Research Agent",
"description": "Specialized agent for conducting market research and competitive analysis",
"objective": "Gather and analyze market information to provide competitive insights",
"tools": [
"web_search",
"csv_analysis"
],
"workflow_type": "react"
}'{ "sub_agent_id": "sa-1234abcd", "sub_agent_info": { "id": "sa-1234abcd", "name": "Market Research Agent", "description": "Specialized agent for conducting market research and competitive analysis", "status": "ready", "created_at": "2025-04-10T14:30:00Z", "last_active": "2025-04-10T15:45:00Z" } }
- Mock server
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents/{sub_agent_id}
- Production server
https://<your_agent_uri>.wabee.ai/core/v1/chain/sub_agents/{sub_agent_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents/{sub_agent_id}' \
-H 'x-wabee-access: YOUR_API_KEY_HERE'{ "id": "sa-1234abcd", "name": "Market Research Agent", "description": "Specialized agent for conducting market research and competitive analysis", "status": "ready", "created_at": "2025-04-10T14:30:00Z", "last_active": "2025-04-10T15:45:00Z" }
- Mock server
https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents/{sub_agent_id}
- Production server
https://<your_agent_uri>.wabee.ai/core/v1/chain/sub_agents/{sub_agent_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.docs.wabee.ai/_mock/openapi/core/v1/chain/sub_agents/{sub_agent_id}' \
-H 'x-wabee-access: YOUR_API_KEY_HERE'