Skip to main content

Brand Voice Summaries

Render a brand voice to its prompt-text summary

POST/api/v1/workspaces/{workspaceId}/brand-voice-summaries

Render the brand voice identified by brandVoiceId into the plain-text fragment used to steer downstream LLM generation. Synchronous; the response is the rendered string.

Resource. A BrandVoiceSummary is the rendered textual form of a brand voice — the deterministic output of the renderer for a given brand voice id. Calling this endpoint creates one. The output is consistent across calls for the same brand voice and is suitable to inline into the system prompt of a downstream LLM call.

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesThe workspace the request operates on. Must match the workspace claim in the gateway token.

Request Body

FieldTypeRequiredDescription
brandVoiceIdstringYesIdentifier of the brand voice to summarise. Returns 404 brandVoiceNotFound when the id does not match a brand voice in this workspace, or 403 when the caller is not a member of the workspace.

Response

FieldTypeDescription
textstringRendered plaintext brand-voice summary, ready to inline into the system prompt of a downstream LLM call. The format is fixed by the service-side template (loaded from shared_{env}.prompts_v1 for every call) and is consistent across calls for the same brand voice.

Example

curl -X POST "https://app.neuroflash.com/api/v1/workspaces/{workspace_id}/brand-voice-summaries" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"brandVoiceId": "string"
}'

Response:

{
"text": "## **Brand Voice Dokumentation**\n..."
}