--- id: vapi-server-sdk version: "1.11.1" license: unclear license_treatment: unclear maintenance: active --- # vapi-server-sdk License: unclear · Maintenance: active · Downloads: 157.1K/mo ## What it is and what it does Vapi-server-sdk is a generated Python client library for the Vapi voice API. It wraps HTTP calls via httpx and pydantic for type safety, offering both synchronous and asynchronous interfaces. The SDK handles common API patterns: automatic retries on transient failures (408, 429, 5xx), configurable timeouts, pagination through SyncPager and AsyncPager generators, and structured exception handling via ApiError subclasses. You instantiate a client with an API token, then call methods like `client.calls.create()` or `client.logs.get()` to interact with the Vapi service. The library is actively maintained and supports modern Python versions (3.10–3.15). It is designed to be generated programmatically, so direct contributions are discouraged in favor of upstream changes. Use it for: - Build a voice call application that creates and retrieves call records via the Vapi API with automatic retry handling. - Integrate Vapi voice services into an async Python application using AsyncVapi for non-blocking API calls. - Fetch paginated logs or call histories from Vapi, iterating through results page-by-page or as a continuous stream. - Customize HTTP behavior (proxies, transports, timeouts) by passing a configured httpx.Client to the Vapi constructor. - Handle API errors gracefully by catching ApiError exceptions and inspecting status codes and response bodies. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python SDK for the Vapi API, providing synchronous and asynchronous clients to create and manage voice calls and logs with built-in retry logic and pagination. Yes, if you are building a Python application that needs to call the Vapi voice API. The SDK has low install friction, active maintenance, and no known vulnerabilities. However, verify the license terms first—license treatment is currently unclear in the package metadata. The library is suitable for both sync and async workflows and handles retries and pagination automatically. ## Install pip install vapi-server-sdk uv add vapi-server-sdk poetry add vapi-server-sdk ## Installing vapi-server-sdk Before you install: Low friction install with a pure-Python wheel and four lightweight dependencies (httpx, pydantic, pydantic-core, typing_extensions). Repository is actively maintained with recent commits and no archived status. License in practice: License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before adopting this in a commercial or restricted context. Quickstart: pip install vapi-server-sdk from vapi import Vapi client = Vapi(token="YOUR_TOKEN") client.calls.create() Requires Python 3.10 or later (supports up to 3.15); API token must be provided at client instantiation. Verify before relying: - Exact scope of Vapi API endpoints and call/log operations supported by this version. - Whether the default 60-second timeout and retry limit (default: 2) are suitable for your use case. - Rate-limiting behavior and whether 429 retries align with Vapi's actual rate-limit headers. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 157.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags vapi api client python, voice call api sdk, async http client wrapper, api sdk with retries, python rest api client, api-client, async-support, voice-api [View on SkillFed](https://skillfed.io/packages/vapi-server-sdk) · [View on PyPI](https://pypi.org/project/vapi-server-sdk/)