Skip to main content

ReactionInsightsRequest

document objectrequired

What they react to.

content object

The text to react to when no id is given.

anyOf
string
document_type object
anyOf
string
executive object
anyOf
string
id object

A workspace document id. Give either id, or title plus content.

anyOf
string
source_url object
anyOf
string
title object
anyOf
string
property name*any

What they react to.

force_refreshForce Refresh

Regenerate even when a cached reaction exists.

Default value: false
generation_source object
anyOf
string
includestring[]

Extra sections to return on each reaction. why_it_matters: a grounded note on why this document matters to that persona, one web-grounded model call per persona, cached for 7 days. Needs the Why-this-matters feature on the workspace; when it is off the field comes back null.

Example: ["why_it_matters"]
model object
anyOf
string
personas object[]required

Who reacts. One entry per persona; batches are capped.

  • Array [
  • communication_style object
    anyOf
    string
    concerns object
    anyOf
    string
    description object
    anyOf
    string
    id object

    A stored persona id. Omit it and pass name/description/tone to react as an inline persona.

    anyOf
    string
    interests object
    anyOf
    string
    name object
    anyOf
    string
    tone object
    anyOf
    string
    property name*any
  • ]
  • project_id object

    Attach the run to a project.

    anyOf
    string
    run_id object

    Group these reactions under a run.

    anyOf
    string
    skip_saveSkip Save

    Do not persist the generated reactions.

    Default value: false
    property name*any
    ReactionInsightsRequest
    {
    "document": {
    "content": "string",
    "document_type": "press_release",
    "executive": "string",
    "id": "string",
    "source_url": "string",
    "title": "Q3 pricing announcement"
    },
    "force_refresh": false,
    "generation_source": "api",
    "include": [
    "why_it_matters"
    ],
    "model": "string",
    "personas": [
    {
    "id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60"
    }
    ],
    "project_id": "string",
    "run_id": "string",
    "skip_save": false
    }