skillfed

vapi-server-sdk

vapi-server-sdk v1.11.1 157.1K downloads/30d#10,763 on PyPI51
License unclear Active released

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 on this page — 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

vapi-server-sdk on PyPI

pip

pip install vapi-server-sdk

uv

uv add vapi-server-sdk

poetry

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 the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — httpx, pydantic, pydantic-core, typing_extensions
Maintenance actively maintained — 86 days since the last release
Last repo commit
First released
Downloads 157,134/month — #10,763 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: vapi_server_sdk-1.11.1-py3-none-any.whl

Intended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

vapi api client pythonvoice call api sdkasync http client wrapperapi sdk with retriespython rest api client
api-clientasync-supportvoice-api

More Python Modules packages