Skip to main content
MeshAPI provides official SDKs for Python, Node.js, and Go. Each SDK wraps the REST API with typed parameters, streaming helpers, and automatic retries.
Java SDK is coming soon.

Installation

For realtime (WebSocket) support:
Python 3.9+. Built on httpx and Pydantic v2.

Initialize the client

For async applications, use AsyncMeshAPI:

API version

The released SDKs send no X-Mesh-Version header, so each request is served at your key’s pinned version, or the baseline 2026-08 if the key has none. A new key copies your organization’s default version, and new organizations default to the newest version, 2026-09. Check the key’s API Version under API Keys in the dashboard before you pin it. See API versioning.

What’s covered

The SDKs also wrap content moderation (moderations.create), web search (web.search), and Auto Router model selection (router.select). Their request and response fields match the Moderations, Web search, and Router select references.