curl --request GET \
--url 'https://api.forecast.example/api/v1/bots' \
--header 'Authorization: Bearer USER_JWT'
{
"bots": [
{
"id": "bot_123",
"name": "BTC Scanner",
"status": "running"
}
]
}
Product APIs
List bots
GET
/
api
/
v1
/
bots
curl --request GET \
--url 'https://api.forecast.example/api/v1/bots' \
--header 'Authorization: Bearer USER_JWT'
{
"bots": [
{
"id": "bot_123",
"name": "BTC Scanner",
"status": "running"
}
]
}
curl --request GET \
--url 'https://api.forecast.example/api/v1/bots' \
--header 'Authorization: Bearer USER_JWT'
{
"bots": [
{
"id": "bot_123",
"name": "BTC Scanner",
"status": "running"
}
]
}
Route behavior
- GET /api/v1/bots
- POST /api/v1/bots
- /api/v1/bots/{botId}
- /api/v1/bots/control
The collection read is currently admin-scoped in the web API layer.
Creates or upserts a bot after ownership checks.
Item routes support owned reads, updates, and deletes.
Control operations map product actions to engine actions such as
resume, pause, and kill.