PersonaInteractRequest
context_document_ids object
Workspace documents to ground the reply on, as in a chat session with attachments.
- string[]
- null
document_id object
A workspace document to react to; its content is added to the prompt and the type defaults to analysis.
- string
- null
Append suggested follow-up questions to the reply.
falseground_with_google_search object
Let the model search the web before answering.
- boolean
- null
What to put in front of the persona: a question, a draft, or pasted text.
We are moving to usage-based pricing next quarter. How does that land with you?interaction_name object
A label for this interaction, kept with the record.
- string
- null
communication (react to content), conversation (chat), analysis (reason over a document) or simulation.
communicationconversationmessage object
Legacy alias for input_content.
- string
- null
model object
Override the workspace's default model for this call.
- string
- null
The persona to ask. Also accepts the persona's exact name.
d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60persona_override object
An inline persona (name, description, tone, interests, concerns, communication_style) used instead of a stored one.
- object
- null
response_language object
BCP-47 tag for the reply language; defaults to the persona's, then the workspace market language.
- string
- null
voice_profile_id object
Answer in one of the persona's named voice profiles instead of the default.
- string
- null
{
"context_document_ids": [
"string"
],
"document_id": "string",
"enable_follow_up_questions": false,
"ground_with_google_search": true,
"input_content": "We are moving to usage-based pricing next quarter. How does that land with you?",
"interaction_name": "string",
"interaction_type": "conversation",
"message": "string",
"model": "string",
"persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60",
"persona_override": {},
"response_language": "string",
"voice_profile_id": "string"
}