Skip to main content
POST
Content Agent

Authorizations

api_key
string
header
required

Body

application/json

Generate content input

email
string | null

Email of the person to generate content for

Example:

"john.doe@example.com"

firstName
string | null

First name of the person to generate content for

lastName
string | null
jobTitle
string | null

Job title of the person to generate content for

companyDomain
string | null

Company domain to generate content for

Example:

"example.com"

companyName
string | null

Company name to generate content for

linkedInProfile
string | null

LinkedIn profile of the person to generate content for

crmContactId
string | null
crmLeadId
string | null
crmAccountId
string | null
runtimeContext
any | null

Runtime context

url
string | null

URL to generate content for

customContext
object | null

Pins specific library entities for this run, overriding the agent's configured selection. Each field takes the oId of an entity in your workspace, and that exact entity is used with no re-matching. On motion agents, playbook.oId must be an active motion playbook; if the agent is configured with a specific motion, the playbook must belong to that motion or the request fails with a 400. product/service pin the offering unless the resolved motion playbook supplies its own (reported as a run warning).

Example:
outputFormat
enum<string> | null
Available options:
JSON,
TEXT,
HTML,
MARKDOWN,
null
agentOId
string

AgentOId is required when creating an agent in the application. You can find it in the Agents section of your dashboard.

Example:

"agent_123"

experimentOId
string

ExperimentOId is required when running an experiment

Example:

"experiment_123"

includeFullAnnotation
boolean

If true, returns full annotation data including metadata. If false or omitted (default), returns minimal annotations to reduce response size.

Response

Generate content successful

_metadata
object
required
found
boolean
required

Whether the operation was successful

Example:

true

message
string | null

Message

Example:

"Additional information"

data
object | null