- typed access to all REST API operations
- programmatic control of Mesa filesystems
- typed Git operations like
clone,push, etc.
Installation
Quick Start
Configuration
apiKey?: string- API key. Falls back toMESA_API_KEYin environment variablesapiUrl?: string- API base URL. Defaults tohttps://api.mesa.dev/v1org?: string- optional default org slug. When omitted, SDK uses your api key to call/whoamiin the API to resolve your default org.fetch?: typeof fetch- custom fetch implementation.userAgent?: string- optional user-agent suffix.
API Resources
The SDK exposes all current REST resources:mesa.orgmesa.reposmesa.contentmesa.bookmarksmesa.changesmesa.webhooks
mesa.raw.*for direct generated operation access
Errors
The SDK surfaces typed errors for common setup and lifecycle failures:MissingApiKeyErrorInvalidApiUrlErrorOrgResolutionError

