Skip to main content
The discovery endpoints are public: no API key is needed. The JavaScript SDK wraps them as static methods on VoiceAgentClient, which call https://api.lokutor.com and throw LokutorError on failure.

Methods

Each method takes an optional base URL, for a local server: VoiceAgentClient.fetchVoices('http://localhost:8080').

cURL equivalents

The response fields are described in the REST API reference.