Skip to main content

API Reference

Complete REST API and WebSocket protocol reference for EdgeBase. All endpoints are available at your project's base URL.


Base URL

https://your-project.edgebase.dev/api/

API Groups

GroupBase PathDescription
Authentication/api/auth/*Sign up, sign in, OAuth, token refresh, password reset
Database/api/db/{namespace}/{id?}/{table}CRUD, batch, queries, count
Storage/api/storage/{bucket}/*Upload, download, signed URLs, multipart
Realtime/api/realtimeWebSocket connection for subscriptions, presence, broadcast
Room/api/roomWebSocket connection for multiplayer rooms
Push/api/push/*Device registration, topic management
Functions/api/functions/*HTTP-triggered App Functions
Admin/api/auth/admin/*User management (requires Service Key or Admin JWT)
Native Resources/api/kv/*, /api/d1/*, /api/vectorize/*Direct KV, D1, Vectorize access
System/api/health, /api/statusHealth check and system info

Authentication

Most endpoints require a JWT access token:

Authorization: Bearer <access_token>

Admin endpoints additionally require a Service Key:

X-EdgeBase-Service-Key: <service_key>

Next Steps

PageDescription
Authentication APIAuth endpoints (signup, signin, OAuth, refresh)
Database APICRUD, batch, query, count endpoints
Storage APIFile upload, download, signed URL endpoints
Realtime APIWebSocket protocol for subscriptions
Room APIWebSocket protocol for multiplayer rooms
Push APIPush notification endpoints
Functions APIHTTP function endpoints
Admin APIAdmin user management endpoints
Native Resources APIKV, D1, Vectorize endpoints
System APIHealth check and status