Create a voice profile
create_profileCreate a new voice profile from writing samples and start the stylometric extraction (45 measured attributes). Samples MUST be the user's own human-written prose — real emails, posts, articles or messages they wrote, never AI-generated text, or the profile captures the wrong voice. You can use writing you already hold for the user (messages they typed to you, documents or emails they shared, posts of theirs you can read): their exact words, never your memory notes or summaries about them, and never text you or another AI wrote or rewrote. Tell the user which pieces you are sending before you call this; the result's samples_used lists each piece's first line and word count so you can show them. 1-20 samples, each under 5,000 words; a sample needs 50+ words to count; 3+ samples totalling 3,000+ words gives a confident profile. Uses one of the plan's monthly extraction slots (rate limit: 5 extractions per hour); if refused for slots, get_billing shows the plan's extraction usage and remaining allowance. Extraction runs asynchronously, usually for under a minute (the longest take about two): poll get_profile until status is 'complete'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Profile name, e.g. "Jack's newsletter voice". Defaults to 'API profile'. | |
| shared | No | true places the profile in the organisation's shared team workspace; default is the key owner's personal workspace. | |
| samples | Yes | The user's own writing samples, one string per piece. | |
| english_variant | No | British (uk) or American (us) spelling for the profile's narrative and drafts. Defaults to the owner's market. |