sayintel
Endpoint

Score draft style

GET/api/public/v1/campaigns/{campaign_id}/style-reference/scoreread

Score an M1 (or pasted first-message text) against the campaign's imported style_reference corpus. Returns Jaccard closeness 0..1, the soft floor, and whether it would soft-fail style_far_from_reference. Follow-ups (slot 2 or 3) are not scored. Read-only; no spend.

Request

curl "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/style-reference/score" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN"

Try it out

Try it outGET/api/public/v1/campaigns/{campaign_id}/style-reference/scoreread

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Path parameters

NameInTypeRequiredDescription
campaign_idpathstringyes—

Query parameters

NameInTypeRequiredDescription
textquerystringno—
message_idquerystringno—
workspacequerystringnoOptional. Read this call against another account you belong to: pass the workspace_id that list_workspaces returns. Omit to use your own account. Refused for accounts where you hold only a client or conference seat.
acting_accountquerystringnoWhich sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection.

Response

{
  "ok": true,
  "tool": "score_draft_style",
  "kind": "read",
  "data": { ... },
  "error": null
}

Notes