/v1/region-configs/{region_config_id} Update a region config
Partial update of a region config. Only the fields you send are written. Useful to toggle is_active or adjust the ai_platforms list between runs. A new country or location also rewrites its prompts that write the old place out, so they ask the new one.
Setting is_active: true on a paused region config returns 403 plan_limit_reached when its schedule already has the brand owner's plan cap of active region configs.
Path parameters
-
Region config UUID.
Query parameters
-
Preview the call without executing it. Runs auth, scope, eligibility and body validation, then returns
200with adry_runobject reporting the request-unit and credit cost plus a non-consuming quota snapshot. Nothing is debited, reserved, dispatched or mutated. An invalid body still returns422.default: false
Header parameters
-
Optional. A retry with the same key and body within 24 hours replays the first success; a 4xx or 5xx is not stored.
Request body
application/json required- ai_platforms array of enum (nullable) nullable
AI platforms to run against. Engines:
chatgpt_web,ai_overviews,perplexity_web,gemini_web,microsoft_copilot,meta_ai,grok_web,deepseek_web,chatgpt,claude,grok,perplexity,gemini,muse. 1 credit per prompt for every 3 engines you pick, rounded up (1 to 3 cost 1, 4 to 6 cost 2), 5 with all of them. Any other value, retired ones included (chatgpt_search,claude_search), answersai_platform_unsupported. - country string (nullable) nullable
- is_active boolean (nullable) nullable
- language string (nullable) nullable
- location string (nullable) nullable
- name string (nullable) nullable
Responses
-
Owning brand id (UUID).
-
Country the region targets.
-
ISO-8601 timestamp when the region config was created.
-
Stable region-config identifier (UUID).
-
Whether the config is used by scheduled runs.
-
Language label (e.g.
English,Spanish). -
Human-readable label (e.g.
United States, English). -
Schedule this config feeds. Required: every region config is tied to exactly one schedule (DB column is
NOT NULL). - ai_platforms array of string
AI platforms this region runs against, as it runs them today: a retired engine reads as the one that replaced it, so the list can be sent back as is. 1 credit per prompt for every 3 engines you pick, rounded up (1 to 3 cost 1, 4 to 6 cost 2), 5 with all of them.
- last_error_message string (nullable) nullable
Last error message surfaced by a scheduled run, if any.
- last_run_at string (nullable) nullable
ISO-8601 timestamp of the most recent scheduled run from this config.
- last_run_status enum (nullable) nullable
Status of the most recent run.
- location string (nullable) nullable
Free-form location string used for queries.
- object string
Always
region_config. - prompts_count integer
Active prompts this region config asks: its own and the ones every region config shares.
- source_report_id string (nullable) nullable
Always null: a region config is a market of its scheduled report and keeps no source report.
- updated_at string (nullable) nullable
ISO-8601 timestamp of the last update to the region config.
Example response
{
"ai_platforms": [
"chatgpt_web",
"ai_overviews",
"perplexity_web"
],
"brand_id": "3f9c7e8a-1b6a-4d8e-92cf-7d9c8b1e2a04",
"country": "United States",
"created_at": "2026-04-01T11:00:00+00:00",
"id": "018e7c2e-33ab-7df1-b1cd-2ac3a8f9112d",
"is_active": true,
"language": "English",
"last_run_at": "2026-04-19T03:00:00+00:00",
"last_run_status": "completed",
"location": "New York, NY",
"name": "United States, English",
"object": "region_config",
"prompts_count": 12,
"scheduled_report_id": "018e7c2d-33ab-7df1-b1cd-2ac3a8f9112d",
"updated_at": "2026-04-19T03:00:00+00:00"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "validation_error",
"message": "Request validation failed"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "unauthorized",
"message": "Missing or invalid credentials"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "forbidden",
"message": "You do not have permission to access this resource"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "not_found",
"message": "Resource not found"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "conflict",
"message": "Resource conflict"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "body_validation_error",
"message": "Request body did not match the expected schema"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "rate_limit_exceeded",
"message": "Per-minute rate limit exceeded"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "internal_error",
"message": "An unexpected error occurred"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}-
Show fields
-
Stable machine-readable error code from the catalog.
-
Human-readable description suitable for logging.
- details object
Optional, code-specific context (e.g.
errorsarray forvalidation_error,retry_afterforservice_unavailable). Shape depends onerror.code; treat as opaque otherwise.Show fields
Empty object (no properties).
-
- request_id string
Server-generated correlation id for the request. Mirrors the
X-Correlation-IDresponse header. Include this when contacting support.
Example response
{
"error": {
"code": "service_unavailable",
"message": "Service temporarily unavailable, please retry"
},
"request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}