curl --request POST \
--url https://api.example.com/api/v1/content/voice-config/auto-derive \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/content/voice-config/auto-derive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/content/voice-config/auto-derive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/content/voice-config/auto-derive",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/content/voice-config/auto-derive"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/content/voice-config/auto-derive")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/content/voice-config/auto-derive")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"linkedin_arm_status": "<string>",
"x_arm_status": "<string>",
"user_id": "",
"tone": "",
"style": "",
"positioning": "",
"topics": [
"<string>"
],
"do_guidelines": [
"<string>"
],
"dont_guidelines": [
"<string>"
],
"sample_snippets": [
"<string>"
],
"linkedin_arm_detail": "",
"x_arm_detail": ""
}Auto Derive Voice Config
Auto-derive an EDITABLE PERSONAL voice-config draft for the AUTHENTICATED user.
Derives the personal voice for the caller — user_id is taken from the
authenticated OrgContext (org_context.user_id), NEVER a client-supplied
param, so a caller can only ever derive their OWN voice (anti-cross-user). The
LinkedIn arm consumes the person’s persisted person_identities enrichment (no
scrape); the X arm reads the connected timeline; both feed an LLM voice analysis
(the repo’s standard Gemini path) whose contributions are merged into the personal voice (tone/style/topics/
do/don’t + the read posts as editable sample snippets), with positioning pre-filled
from the sender profile. The draft is NOT saved — the UI lets the user review/edit
and persist via PUT. linkedin_arm_status (ok / absent / error) and
x_arm_status (derived / no_connection / needs_reauth / empty_timeline /
unavailable) report each source independently.
curl --request POST \
--url https://api.example.com/api/v1/content/voice-config/auto-derive \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/content/voice-config/auto-derive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/content/voice-config/auto-derive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/content/voice-config/auto-derive",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/content/voice-config/auto-derive"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/content/voice-config/auto-derive")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/content/voice-config/auto-derive")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"linkedin_arm_status": "<string>",
"x_arm_status": "<string>",
"user_id": "",
"tone": "",
"style": "",
"positioning": "",
"topics": [
"<string>"
],
"do_guidelines": [
"<string>"
],
"dont_guidelines": [
"<string>"
],
"sample_snippets": [
"<string>"
],
"linkedin_arm_detail": "",
"x_arm_detail": ""
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
An auto-derived, EDITABLE PERSONAL voice-config PRE-FILL (V2.1a re-key). NOT saved -- the UI hands the (user-edited) fields to the existing PUT to persist.
The voice fields mirror VoiceConfigResponse so the UI can pre-fill the same
form. user_id is whose personal voice this draft is for (the authenticated
actor, echoed back; the client never supplies it). Per-arm status fields report
how each source resolved: linkedin_arm_status (ok / absent / error — the arm
now CONSUMES the person's persisted LinkedIn enrichment, no scrape) and
x_arm_status (derived / no_connection / needs_reauth / empty_timeline /
unavailable), each with an optional content-free *_detail.