EndpointsVoices
List voices
GET
Lists the stock voices, each with its personality and its resting position on the six tone scales.
apiKeyheader
AuthorizationBearer <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.
limit?integerThe most items to return in one page.
Range
1 <= value <= 100Default
25cursor?stringThe next_cursor from the previous page. Leave it out for the first page.
Length
length <= 200One page of voices.
application/json- response
data*array<>has_more*booleantrue if there is another page.
next_cursor*|Pass this as cursor to get the next page. null on the last page.
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"}
