Skip to content

Files API Reference 🟑 BETA

The files family holds the routes mounted for Drive listing, reading and writing.

Developer guide map

Endpoints

Exact lines from the Generated api-files reference; the generated page is the full table.

Method Path
POST /api/files/ai/chat
POST /api/files/bots
POST /api/files/bots/delete
GET /api/files/buckets
POST /api/files/copy
POST /api/files/createFolder
POST /api/files/delete
POST /api/files/download

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

POST /api/files/ai/chat HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Ai chat POST /api/files/ai/chat botserver/src/core/bot/endpoint_inventory_editor_email.rs
Files bots POST /api/files/bots botserver/src/core/bot/endpoint_inventory_editor_email.rs
Delete bots POST /api/files/bots/delete botserver/src/core/bot/endpoint_inventory_editor_email.rs
Files buckets GET /api/files/buckets botserver/src/core/bot/endpoint_inventory_editor_email.rs
Files copy POST /api/files/copy botserver/src/core/bot/endpoint_inventory_editor_email.rs
Files createfolder POST /api/files/createFolder botserver/src/core/bot/endpoint_inventory_editor_email.rs
Delete files POST /api/files/delete botserver/src/core/bot/endpoint_inventory_editor_email.rs
Download files POST /api/files/download botserver/src/core/bot/endpoint_inventory_editor_email.rs

Limits

  • The Generated api-files reference is authoritative: no endpoint outside its table is inferred here.
  • Routes require an authenticated session unless listed in the anonymous allowlist in botsecurity-auth/src/auth_api/public_routes.rs.
  • The generated table does not model request or response fields; consult the mounted handler for them.