Task Automation
Task automation with tool integration.
POST/v1/20/chat
POST /20/chat
Required attributes
- Name
messages
- Type
- array
- Description
Chat message history
Optional attributes
- Name
tools
- Type
- array
- Description
List of tools available for the model to use
This endpoint is authenticated. Get your API key ↗
Request
POST
/v1/20/chatcurl -X POST "https://api.bitmind.ai/oracle/v1/20/chat" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"messages": [],
"tools": []
}'
Response
{
"id": "chatcmpl-123456789",
"object": "chat.completion",
"created": 1739377986,
"model": "BitAgent/GoGoAgent",
"choices": [
{
"message": {
"role": "assistant",
"content": "tip_calculator(bill_amount=100, tip_percent=10)"
}
}
],
"usage": {
"prompt_tokens": 65,
"completion_tokens": 12,
"total_tokens": 77
},
"system_fingerprint": null
}
Last updated: April 25, 2025