Choose where speech is processed

PUT
/v1/speech/region

Sets the workspace's speech region (workspace Admins). A call whose providers cannot all process speech there is refused by name before it starts. It is not data residency.

Requires an API key with the workspace:write scope.

Authorization

apiKey
headerAuthorizationBearer <token>

A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.

Request Body

application/json
  1. body
region*string

One of anywhere, in, eu, us.

Value in"anywhere""in""eu""us"

Response Body

The region after the change

application/json
  1. response
region*string

Where speech providers may process speech

Value in"anywhere""in""eu""us"
Example Request
curl -X PUT https://api.vlayers.ai/v1/speech/region \  -H "Authorization: Bearer $VOICELAYER_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "region": "in"  }'
Example Response
{  "region": "in"}