The Mesa SDK is the primary way to use Mesa and comes with everything you need to get started. It combines:Documentation Index
Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
Use this file to discover all available pages before exploring further.
- 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.webhookTargets— CRUD on webhook targetsmesa.webhooks— verify and dispatch incoming webhook deliveries
mesa.raw.*for direct generated operation access
Errors
The SDK surfaces typed errors for common setup and lifecycle failures:MissingApiKeyErrorInvalidApiUrlErrorOrgResolutionError

