Skip to main content
DELETE
Go back to the default voice and speech rate

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Query Parameters

language
string

Language of the session (ISO 639-1 or a language tag) that active, default and voices are given for; every language when absent.

Maximum string length: 16
Example:

"fr"

Response

200 - application/json

Reset; the same answer as GET, voice and rate null.

voice
string | null
required

The voice the member chose, <model_id>/<voice_id>; null for the default.

rate
number | null
required

The speech rate the member chose, a multiplier of the voice's own (0.5 to 2); null for the voice's own. A voice session reads it when the client sends no rate.

Example:

1.25

active
boolean
required

Whether a session in language reads the member's choice (the organization still offers it and it speaks the language); false without a choice.

default
object
required

The voice a session reads without the member's choice. A session also skips a catalog voice whose provider is not configured, which this answer does not check.

voices
object[]
required

The voices the organization offers in language, as agent-factory GET /v1/voice/availability?voices=true lists them.