Skip to content
Design preview: examples use a local mock server.
EndpointsVoices

List voices

GET
/v1/voices

Lists the stock voices, each with its personality and its resting position on the six tone scales.

Authorization

apiKey
headerAuthorizationBearer <API key>

Send your API key as a bearer token: Authorization: Bearer <key>. Test keys start with wsk_test_. The mock server accepts any key, but it rejects a request with no Authorization header.

Query parameters

limit?integer

The most items to return in one page.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 200

Response body

One page of voices.

application/json
  1. response
data*array<>
has_more*boolean

true if there is another page.

next_cursor*|

Pass this as cursor to get the next page. null on the last page.

Example request
curl -X GET 'http://127.0.0.1:4010/v1/voices'
Example response
{  "data": [    {      "id": "plainspoken",      "name": "Plainspoken",      "tagline": "Direct, clear, helpful.",      "default_for": [        "concept",        "task",        "tutorial",        "reference",        "interface guide",        "troubleshooting",        "migration guide",        "comparison"      ],      "personality": [        {          "trait": "Direct",          "not": "blunt"        },        {          "trait": "Clear",          "not": "simplistic"        },        {          "trait": "Helpful",          "not": "hovering"        }      ],      "scales": {        "register": {          "rest": 50,          "error": 50,          "position": "the center"        },        "levity": {          "rest": 32,          "error": 24,          "position": "toward sober"        },        "deference": {          "rest": 52,          "error": 60,          "position": "the center"        },        "energy": {          "rest": 40,          "error": 28,          "position": "toward calm"        },        "confidence": {          "rest": 56,          "error": 56,          "position": "toward assertive"        },        "detail": {          "rest": 50,          "error": 50,          "position": "the center"        }      }    },    {      "id": "authoritative",      "name": "Authoritative",      "tagline": "Precise, assured, formal.",      "default_for": [        "release notes",        "policy page",        "security advisory",        "technical whitepaper",        "backgrounder",        "benchmark report",        "press release",        "media kit",        "internal update or email"      ],      "personality": [        {          "trait": "Precise",          "not": "pedantic"        },        {          "trait": "Assured",          "not": "arrogant"        },        {          "trait": "Formal",          "not": "stiff"        }      ],      "scales": {        "register": {          "rest": 68,          "error": 68,          "position": "toward formal"        },        "levity": {          "rest": 26,          "error": 24,          "position": "well toward sober"        },        "deference": {          "rest": 58,          "error": 64,          "position": "toward deferential"        },        "energy": {          "rest": 32,          "error": 26,          "position": "toward calm"        },        "confidence": {          "rest": 62,          "error": 58,          "position": "toward assertive"        },        "detail": {          "rest": 56,          "error": 52,          "position": "toward thorough"        }      }    }  ],  "has_more": true,  "next_cursor": "dm9pY2U6YXV0aG9yaXRhdGl2ZQ"}