Skip to content

API reference

API: Guardrails

Markdown version

MethodPathWhat it doesScope
GET/v1/mkt/governance/audit-exportExport who approved what (bound to which change), what agents changed and the spend decisions, for a date range (JSON or CSV)audit:read
GET/v1/mkt/governance/campaign-ceilingsDaily media ceilings set per campaign, with each campaign's live daily budgetsmarketing:read
PUT/v1/mkt/governance/campaign-ceilings/:campaign_idSet a campaign's daily media ceiling (an owner; lowering an existing one is anyone's who may change settings), or remove it with null (an owner)settings:write
POST/v1/mkt/governance/checkCheck copy against the brand guardrails and QA rules before it goes outmarketing:write
GET/v1/mkt/governance/claimsList marketing claims with their evidence and whether a person approved themmarketing:read
POST/v1/mkt/governance/claimsAdd a claim with its evidence; another person approves it before copy may use it (the only member of an organization approves their own)marketing:write
POST/v1/mkt/governance/claims/:id/approveApprove a claim's evidence (a person other than the one who added it; an organization's only member may approve their own, marked as approved alone) (web app only)marketing:write
POST/v1/mkt/governance/claims/:id/retireRetire a claim (copy can't use it any more)marketing:write
GET/v1/mkt/governance/connector-scopesWhat each connector asks your accounts for, why, whether it reads or writes, and when it's askedmarketing:read
GET/v1/mkt/governance/data-handlingWhat each model receives from your organization and on whose terms, and the commitment that your data never trains a modelmarketing:read
GET/v1/mkt/governance/decisionsList guardrail checks, policy decisions on marketing changes and claim approvals (one by an organization's only member marked as approved alone), newest firstmarketing:read
GET/v1/mkt/governance/decisions/exportExport the decision log for a date range (JSON or CSV, up to 5,000 rows)audit:read
POST/v1/mkt/governance/erasure/possible-consentsLikeness and voice consents recorded under a name only that are possibly this person's (the same name as one of their profiles), each with whether you ticked it. An owner, in the web app (web app only)settings:write
PUT/v1/mkt/governance/erasure/possible-consentsTick which of those consents are this person's (the list replaces earlier ticks, for a day); only ticked ones are anonymised and revoked when the person is erased (web app only)settings:write
GET/v1/mkt/governance/lift-ledgerThe claims ledger: lift figures measured with your own holdouts, the only ones the product statesmarketing:read
POST/v1/mkt/governance/lift-ledger/recordRecord the lift your own holdouts measured over a period (only readouts with enough people and a clear result are kept) (web app only)marketing:write
GET/v1/mkt/governance/likeness-consentsList recorded likeness and voice consentsmarketing:read
POST/v1/mkt/governance/likeness-consentsRecord a person's consent to use their likeness or voice (web app only)marketing:write
POST/v1/mkt/governance/likeness-consents/:id/revokeWithdraw a likeness or voice consent (new uses stop at once) (web app only)marketing:write
GET/v1/mkt/governance/mcp-gatewayOutside MCP servers your agents call: whether calls and removals go out, the ad account a vendor's server acts on, and each tool's classsettings:read
GET/v1/mkt/governance/mcp-gateway/callsThe call log for outside MCP servers: each call's server, tool, class and outcome (never its arguments or answer)audit:read
PUT/v1/mkt/governance/mcp-gateway/servers/:idTurn a server's calls or removals on or off, or mark it as an ads vendor's server for one of your ad accounts (paid media's stop switch and ceilings then apply). Turning something on, or unbinding, is the web app'ssettings:write
PUT/v1/mkt/governance/mcp-gateway/servers/:id/tools/:toolClassify a server's tool as it is now: read, write or destructive. A tool nobody classified, or one that changed since, isn't called (web app only)settings:write
PUT/v1/mkt/governance/outside-budgetTurn on or off budget and spend increases by outside assistants (keys and connected apps). On, they can only propose them for a person; turning it off is the web app'ssettings:write
GET/v1/mkt/governance/overviewThe central admin view: every agent (state, pause, autonomy, last run), recent actions, approvals waiting, pauses, spend and connected accountsaudit:read
POST/v1/mkt/governance/preflightBefore spending credits on a draft, image or video: go, review or stop (pauses, credits left, the guardrails on the brief)marketing:write
POST/v1/mkt/governance/provenance/embeddedRead the AI marking embedded in an image, video or audio file and check it was signed heremarketing:read
POST/v1/mkt/governance/provenance/verifyCheck a provenance label was signed here and hasn't been changedmarketing:read
GET/v1/mkt/governance/rule-setsList guardrail and QA rule setsmarketing:read
POST/v1/mkt/governance/rule-setsAdd a rule set written in plain language (one rule per line)marketing:write
PATCH/v1/mkt/governance/rule-sets/:idChange a rule set or turn it on or offsettings:write
POST/v1/mkt/governance/rule-sets/compilePreview the checks plain-language rules compile to (saves nothing)marketing:read
GET/v1/mkt/governance/settingsGet quiet hours, frequency caps and the monthly media ceilingmarketing:read
PUT/v1/mkt/governance/settingsSet quiet hours, frequency caps and the monthly media ceilingsettings:write
GET/v1/mkt/governance/spend-accountsThis month's media spend per connected account against its ceilings, who connected each account, and connections by provideraudit:read

Examples

GET /v1/mkt/governance/audit-export

Export who approved what (bound to which change), what agents changed and the spend decisions, for a date range (JSON or CSV)

curl -s "https://api.scheeleworks.com/v1/mkt/governance/audit-export" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/audit-export`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/campaign-ceilings

Daily media ceilings set per campaign, with each campaign's live daily budgets

curl -s "https://api.scheeleworks.com/v1/mkt/governance/campaign-ceilings" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/campaign-ceilings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/governance/campaign-ceilings/$CAMPAIGN_ID

Set a campaign's daily media ceiling (an owner; lowering an existing one is anyone's who may change settings), or remove it with null (an owner)

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/governance/campaign-ceilings/$CAMPAIGN_ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/campaign-ceilings/${campaign_id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/governance/check

Check copy against the brand guardrails and QA rules before it goes out

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/check" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/claims

List marketing claims with their evidence and whether a person approved them

curl -s "https://api.scheeleworks.com/v1/mkt/governance/claims" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/claims`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/governance/claims

Add a claim with its evidence; another person approves it before copy may use it (the only member of an organization approves their own)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/claims" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/claims`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/governance/claims/$ID/retire

Retire a claim (copy can't use it any more)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/claims/$ID/retire" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/claims/${id}/retire`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/connector-scopes

What each connector asks your accounts for, why, whether it reads or writes, and when it's asked

curl -s "https://api.scheeleworks.com/v1/mkt/governance/connector-scopes" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/connector-scopes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/data-handling

What each model receives from your organization and on whose terms, and the commitment that your data never trains a model

curl -s "https://api.scheeleworks.com/v1/mkt/governance/data-handling" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/data-handling`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/decisions

List guardrail checks, policy decisions on marketing changes and claim approvals (one by an organization's only member marked as approved alone), newest first

curl -s "https://api.scheeleworks.com/v1/mkt/governance/decisions" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/decisions`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/decisions/export

Export the decision log for a date range (JSON or CSV, up to 5,000 rows)

curl -s "https://api.scheeleworks.com/v1/mkt/governance/decisions/export" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/decisions/export`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/lift-ledger

The claims ledger: lift figures measured with your own holdouts, the only ones the product states

curl -s "https://api.scheeleworks.com/v1/mkt/governance/lift-ledger" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/lift-ledger`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/likeness-consents

List recorded likeness and voice consents

curl -s "https://api.scheeleworks.com/v1/mkt/governance/likeness-consents" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/likeness-consents`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/mcp-gateway

Outside MCP servers your agents call: whether calls and removals go out, the ad account a vendor's server acts on, and each tool's class

curl -s "https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/governance/mcp-gateway/calls

The call log for outside MCP servers: each call's server, tool, class and outcome (never its arguments or answer)

curl -s "https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway/calls" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway/calls`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/governance/mcp-gateway/servers/$ID

Turn a server's calls or removals on or off, or mark it as an ads vendor's server for one of your ad accounts (paid media's stop switch and ceilings then apply). Turning something on, or unbinding, is the web app's

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway/servers/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/mcp-gateway/servers/${id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/governance/outside-budget

Turn on or off budget and spend increases by outside assistants (keys and connected apps). On, they can only propose them for a person; turning it off is the web app's

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/governance/outside-budget" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/outside-budget`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/overview

The central admin view: every agent (state, pause, autonomy, last run), recent actions, approvals waiting, pauses, spend and connected accounts

curl -s "https://api.scheeleworks.com/v1/mkt/governance/overview" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/overview`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/governance/preflight

Before spending credits on a draft, image or video: go, review or stop (pauses, credits left, the guardrails on the brief)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/preflight" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/preflight`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/governance/provenance/embedded

Read the AI marking embedded in an image, video or audio file and check it was signed here

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/provenance/embedded" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/provenance/embedded`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/governance/provenance/verify

Check a provenance label was signed here and hasn't been changed

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/provenance/verify" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/provenance/verify`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/rule-sets

List guardrail and QA rule sets

curl -s "https://api.scheeleworks.com/v1/mkt/governance/rule-sets" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/rule-sets`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/governance/rule-sets

Add a rule set written in plain language (one rule per line)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/rule-sets" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/rule-sets`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PATCH /v1/mkt/governance/rule-sets/$ID

Change a rule set or turn it on or off

curl -s -X PATCH "https://api.scheeleworks.com/v1/mkt/governance/rule-sets/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/rule-sets/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/governance/rule-sets/compile

Preview the checks plain-language rules compile to (saves nothing)

curl -s -X POST "https://api.scheeleworks.com/v1/mkt/governance/rule-sets/compile" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/rule-sets/compile`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/settings

Get quiet hours, frequency caps and the monthly media ceiling

curl -s "https://api.scheeleworks.com/v1/mkt/governance/settings" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/governance/settings

Set quiet hours, frequency caps and the monthly media ceiling

curl -s -X PUT "https://api.scheeleworks.com/v1/mkt/governance/settings" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/settings`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/governance/spend-accounts

This month's media spend per connected account against its ceilings, who connected each account, and connections by provider

curl -s "https://api.scheeleworks.com/v1/mkt/governance/spend-accounts" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/governance/spend-accounts`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

Request and response schemas: https://www.scheeleworks.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.