Skip to content

API Reference 🟑 BETA

This page lists the route groups that are registered in source; the generated REST reference is authoritative for full request and response schemas.

Developer guide map

Base URL

Routes are served by botserver under its API prefix and reached from the suite through the /api/* proxy. See the generated REST reference.

Intent Classification

Route Handler
POST /api/autotask/classify classify_intent
POST /api/autotask/compile compile_intent

Plan Execution

Route Handler
POST /api/autotask/execute execute_plan
POST /api/autotask/create-and-execute create_and_execute

Task Management

Route Handler
GET /api/autotask/tasks list_tasks
GET /api/autotask/stats get_stats
POST /api/autotask/tasks/:task_id/approve approve_task
POST /api/autotask/tasks/:task_id/cancel cancel_task
POST /api/autotask/decide make_decision

Sources and Tables

Route Handler
GET /api/autotask/sources list_sources
POST /api/autotask/tables attach_tables

App Logs

Route Handler
POST /api/app-logs/client client_log
GET /api/app-logs list_logs
GET /api/app-logs/stats log_stats
DELETE /api/app-logs/:app clear_app_logs

Designer and Agent Routes

Designer routes cover file list/load/save/validate/export, dialog list/create/get, modify and canvas element/layer operations. Agent routes cover session, VM, file and sandbox handlers in botagent/src/api/. Consult the generated reference for their exact paths.

Error Responses

Registered error sentinels include unknown_action, action_not_available, connection_not_found, vault_unavailable, storage_unavailable and invalid_request for integration actions. Task and agent routes use their own axum status mappings.

Limits

  • A route not present in the crate router is not available; no endpoint is inferred here.
  • Chat cannot call raw REST directly; it uses keywords, tools and app commands.
  • Request bodies and response schemas belong to the generated reference, not to prose.

Next Steps