Get text generation styles

get /text/generate/styles
This method retrieves a list of styles available for text generation. Each style includes attributes such as its ID, name, and whether it is set as the default style.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token

Response

200
304
401
500
//This status is returned when the list of available styles is successfully retrieved.
//This status is returned if the styles list has not changed and can be retrieved from a cache.
//This status is returned if the API key is missing or invalid.
//The server encountered an error when processing the request.
Parameter Name Type Description
id string A unique identifier for the tone.
name string The name of the style (e.g., "Classical", "Corporate", "Modern", "Internet-speak").
default boolean Indicates whether this is the default style.