Skip to content

Recommend Campaign Personas

POST
/campaigns/recommend-personas

Recommend target personas and a strategy. SPENDS CREDIT.

An LLM pass over the company’s own data. Its path carries no marker, so the tier heuristic called it an ordinary write; it is corrected with an explicit rule.

organization_id in the body is IGNORED - the organisation is always the API key’s own. It is accepted because the app’s model carries it, and rejecting a field Studio itself sends would be a gratuitous 422.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Recommend target personas from the company’s own data. SPENDS CREDIT.

organization_id is IGNORED - the org always comes from the key. It is mirrored because the app’s model carries it, and dropping a field a caller sends would be a silent 422 on a body Studio itself produces.

object
organization_id
Any of:
string
website_url
required
string

Responses

200

Successful Response

object
data
required

One Studio object, open-shaped. See the module docstring.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string