Public REST/JSON reference
Ad Spend Auto-Governor API
Monitor Meta and Google ad campaign ROAS, budget pacing, and spend variance; recommend or execute pauses, reactivations, caps, and reallocations before underperforming campaigns burn through budget. Part of the Logic Igniter E-commerce Operations bundle.
Access boundary
These examples describe public API calls only. Use the service output to review, score, summarize, analyze, or recommend; do not treat the API reference as permission for an assistant to write, send, publish, charge, schedule, notify, delete, or modify records.
Base URL
https://api.logicigniter.comAuth
Authorization: Bearer YOUR_API_KEYVersion
OpenAPI 3.0.3 · 1.0.0Operations rendered
14
Response models rendered
19
/api/v1/adgovernor/healthService liveness
Liveness probe for Ad Spend Auto-Governor API. Returns 200 when the public API route is reachable.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/health" \ -H "Accept: application/json"
Responses
200Service healthy
/api/v1/adgovernor/customersList customers
List customers record for the customer workspace used by Ad Spend Auto-Governor API.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/customers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
Responses
200CustomerListSuccessful response
400ErrorInvalid request payload or parameters
401ErrorMissing or invalid bearer token
403ErrorWorkspace does not have access to the ecommerce-operations bundle
404ErrorRequested resource was not found
/api/v1/adgovernor/customers/{id}Update customer
Update customer record for the customer workspace used by Ad Spend Auto-Governor API.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
idrequired | path | string | Id |
Request body (required)
Schema: CustomerInput
Sample JSON payload for evaluation.
{
"companyName": "Mira Home Goods",
"email": "[email protected]"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X PUT "https://api.logicigniter.com/api/v1/adgovernor/customers/:id" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"companyName":"Mira Home Goods","email":"[email protected]"}'/api/v1/adgovernor/budget/allocationGet budget allocation
Return current spend allocation, pacing, and remaining budget by channel.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/budget/allocation" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
/api/v1/adgovernor/budget/reallocateReallocate budget
Move budget from underperforming campaigns to higher-ROAS campaigns.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request body (required)
Schema: BudgetReallocateRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "BudgetReallocateRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/budget/reallocate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"BudgetReallocateRequest"}'/api/v1/adgovernor/budget/capsGet budget caps
Read active spend caps and enforcement thresholds.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/budget/caps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
Responses
200BudgetCapsSuccessful response
400ErrorInvalid request payload or parameters
401ErrorMissing or invalid bearer token
403ErrorWorkspace does not have access to the ecommerce-operations bundle
/api/v1/adgovernor/campaigns/syncSync campaigns
Import campaign, ad set, and spend data from connected ad platforms.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request body (required)
Schema: CampaignSyncRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "CampaignSyncRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/campaigns/sync" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"CampaignSyncRequest"}'/api/v1/adgovernor/campaignsList campaigns
List campaigns with budget, spend, ROAS, and governor status.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/campaigns" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
Responses
200CampaignListSuccessful response
400ErrorInvalid request payload or parameters
401ErrorMissing or invalid bearer token
403ErrorWorkspace does not have access to the ecommerce-operations bundle
/api/v1/adgovernor/campaigns/{campaign_id}/performanceGet campaign performance
Read hourly spend, ROAS, conversions, and variance for one campaign.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
campaign_idrequired | path | string | Campaign Id |
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/campaigns/:campaign_id/performance" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
/api/v1/adgovernor/governor/analyzeAnalyze performance
Evaluate campaign performance against ROAS and pacing rules.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request body (required)
Schema: GovernorAnalyzeRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "GovernorAnalyzeRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/governor/analyze" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"GovernorAnalyzeRequest"}'/api/v1/adgovernor/governor/executeExecute governance
Execute approved pause, cap, or reallocation actions.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request body (required)
Schema: GovernorExecuteRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "GovernorExecuteRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/governor/execute" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"GovernorExecuteRequest"}'/api/v1/adgovernor/campaigns/{campaign_id}/pausePause campaign
Pause a campaign that breached ROAS or pacing thresholds.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
campaign_idrequired | path | string | Campaign Id |
Request body (required)
Schema: PauseCampaignRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "PauseCampaignRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/campaigns/:campaign_id/pause" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"PauseCampaignRequest"}'/api/v1/adgovernor/campaigns/{campaign_id}/reactivateReactivate campaign
Reactivate a campaign after recovery criteria are met.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
campaign_idrequired | path | string | Campaign Id |
Request body (required)
Schema: ReactivateCampaignRequest
Sample JSON payload for evaluation.
{
"id": "obj_123",
"status": "READY",
"summary": "ReactivateCampaignRequest"
}Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X POST "https://api.logicigniter.com/api/v1/adgovernor/campaigns/:campaign_id/reactivate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"id":"obj_123","status":"READY","summary":"ReactivateCampaignRequest"}'/api/v1/adgovernor/governor/actionsList governor actions
List automatic and manual governance actions.
Public REST/JSON operation
This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.
Request example
Replace placeholders with your confirmed access key and your own business data.
curl -X GET "https://api.logicigniter.com/api/v1/adgovernor/governor/actions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"
Data models
Customer
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "cus_mira_home" |
companyNamerequired | string | Example: "Mira Home Goods" |
emailrequired | string (email) | Example: "[email protected]" |
bundlerequired | string | Example: "ecommerce-operations" |
createdAt | string (date-time) |
CustomerInput
| Field | Type | Notes |
|---|---|---|
companyNamerequired | string | Example: "Mira Home Goods" |
emailrequired | string (email) | Example: "[email protected]" |
bundle | string | Example: "ecommerce-operations" |
CustomerList
| Field | Type | Notes |
|---|---|---|
customers | array<Customer> |
Error
| Field | Type | Notes |
|---|---|---|
errorrequired | string | Example: "validation failed" |
message | string | Example: "sku is required" |
requestId | string | Example: "req_01HX9E2M7K8Q4J3V" |
BudgetAllocation
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "BudgetAllocation" |
BudgetCaps
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "BudgetCaps" |
BudgetCapsRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "BudgetCapsRequest" |
BudgetReallocateRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "BudgetReallocateRequest" |
CampaignList
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "CampaignList" |
CampaignPerformance
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "CampaignPerformance" |
CampaignSyncRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "CampaignSyncRequest" |
CampaignSyncResult
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "CampaignSyncResult" |
GovernorAction
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "GovernorAction" |
GovernorActionList
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "GovernorActionList" |
GovernorAnalyzeRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "GovernorAnalyzeRequest" |
GovernorDecisionList
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "GovernorDecisionList" |
GovernorExecuteRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "GovernorExecuteRequest" |
PauseCampaignRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "PauseCampaignRequest" |
ReactivateCampaignRequest
| Field | Type | Notes |
|---|---|---|
idrequired | string | Example: "obj_123" |
statusrequired | string | Example: "READY" |
summary | string | Example: "ReactivateCampaignRequest" |

