API Reference
The Meshbrow API is organized around REST. All requests use JSON and require Bearer token authentication.Base URL
Request Format
Response Format
All responses return JSON with consistent structure: Success:HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Invalid request parameters |
401 | Invalid or missing API key |
403 | Insufficient permissions |
404 | Resource not found |
429 | Rate limit exceeded |
500 | Internal server error |
Pagination
List endpoints support cursor-based pagination:Webhooks
Configure webhooks to receive real-time notifications:session.created— New session launchedsession.destroyed— Session terminatedsession.failed— Session crashed or timed outsession.idle— Session idle timeout approaching
SDKs
- TypeScript/Node.js:
@meshbrow/sdk(npm) - Python: Coming soon
- Go: Coming soon