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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| campaign_id | path | string | yes | — |
Query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| text | query | string | no | — |
| message_id | query | string | no | — |
| workspace | query | string | no | Optional. 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_account | query | string | no | Which 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
- Scope required: read. How scopes work.
- Same capability over MCP as the tool score_draft_style. MCP setup.