Skip to main content

Installation

Make sure to set the environment variable VOKER_API_KEY.

Quick start

If you’re using one of our supported SDKs, you can simply swap out the class you instantiate:
See provider specific setup instructions: OpenAI, Anthropic, and Gemini.

Python SDK Reference

VokerClient

The Voker Client provides a way to create and update Agents, Agent Versions, People and Events programmatically. Requests are made in a separate thread as the main process as to not add latency to your application. This is used by the SDKs but can also be used directly if you want more control over when requests are sent.

Properties

Methods

Sub Clients

VokerClient_AgentVersions
Access agent versions related endpoints. Method create Create an agent version. See Creating an Agent Version for more information. Parameters:
VokerClient_Agents
Access agents related endpoints. Method create Create an agent. See Creating an Agent for more information. Parameters:
VokerClient_Events
Access events related endpoints. Method create Create a new event. Parameters:
VokerClient_People
Access people related endpoints. Method create Create a person. See Creating a Person for more information. Parameters: Method update Update a person. Parameters:

ApiClient

The API Client provides a way to make requests to the Voker API directly. This is used under the hood by the Voker Client, but can also be used directly if you want more control over how requests are made. Fetching Agents, Agent Versions, and People is a common use case for using the API Client directly.

Properties

Sub Clients

ApiClient_AgentVersions
Access agent versions related endpoints. Method create Create an agent version. See Creating an Agent Version for more information. Parameters: Returns: Method get Get an agent version. Parameters: Returns:
ApiClient_Agents
Access agents related endpoints. Method create Create an agent. See Creating an Agent for more information. Parameters: Returns: Method get Get an agent. Parameters: Returns:
ApiClient_Events
Access events related endpoints. Method create Create a new event. Parameters:
ApiClient_Fingerprints
Access fingerprints related endpoints. Method create Create a fingerprint. See Fingerprints for more information. Returns:
ApiClient_People
Access people related endpoints. Method get Retrieve a person. Parameters: Returns: Method create Create a person. See Creating a Person for more information. Parameters: Returns: Method update Update a person. Parameters: Returns:

Types

Agent

Represents an agent. See Agents for more information.
Fields

AgentVersion

Represents an agent version. See Agent Versions for more information.
Fields

Fingerprint

Represents a fingerprint. See Fingerprints for more information.
Fields

Person

Represents a person. See People for more information.
Fields