Skip to content
Start here

List gateways

client.AIGateway.List(ctx, params) (*V4PagePaginationArray[AIGatewayListResponse], error)
GET/accounts/{account_id}/ai-gateway/gateways

Lists the AI Gateways in the account. Use search to filter by gateway ID.

Security
API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example:X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example:X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Accepted Permissions (at least one required)
AI Gateway WriteAI Gateway Read
ParametersExpand Collapse
params AIGatewayListParams
AccountID param.Field[string]

Path param

Page param.Field[int64]Optional

Query param

maximum9007199254740991
minimum1
PerPage param.Field[int64]Optional

Query param

maximum100
minimum1
ReturnsExpand Collapse
type AIGatewayListResponse struct{…}
ID string

Unique identifier of the AI Gateway within the account.

maxLength64
minLength1
CacheInvalidateOnUpdate bool
CacheTTL int64
minimum0
CollectLogs bool
CreatedAt Time
formatdate-time
ModifiedAt Time
formatdate-time
RateLimitingInterval int64
minimum0
RateLimitingLimit int64
minimum0
Authentication boolOptional

Require authentication for gateway access. New gateways must have authentication enabled. Once enabled, authentication cannot be disabled.

ByokOnly boolOptional

Requires customer-provided provider credentials and prevents fallback to Unified Billing.

DLP AIGatewayListResponseDLPOptional
One of the following:
type AIGatewayListResponseDLPObject struct{…}
Action AIGatewayListResponseDLPObjectAction
One of the following:
const AIGatewayListResponseDLPObjectActionBlock AIGatewayListResponseDLPObjectAction = "BLOCK"
const AIGatewayListResponseDLPObjectActionFlag AIGatewayListResponseDLPObjectAction = "FLAG"
Enabled bool
Profiles []string
type AIGatewayListResponseDLPObject struct{…}
Enabled bool
Policies []AIGatewayListResponseDLPObjectPolicy
ID string
Action AIGatewayListResponseDLPObjectPoliciesAction
One of the following:
const AIGatewayListResponseDLPObjectPoliciesActionFlag AIGatewayListResponseDLPObjectPoliciesAction = "FLAG"
const AIGatewayListResponseDLPObjectPoliciesActionBlock AIGatewayListResponseDLPObjectPoliciesAction = "BLOCK"
Check []AIGatewayListResponseDLPObjectPoliciesCheck
One of the following:
const AIGatewayListResponseDLPObjectPoliciesCheckRequest AIGatewayListResponseDLPObjectPoliciesCheck = "REQUEST"
const AIGatewayListResponseDLPObjectPoliciesCheckResponse AIGatewayListResponseDLPObjectPoliciesCheck = "RESPONSE"
Enabled bool
Profiles []string
FedrampLevel AIGatewayListResponseFedrampLevelOptional

FedRAMP compliance level: fedramp-medium or fedramp-high.

One of the following:
const AIGatewayListResponseFedrampLevelFedrampMedium AIGatewayListResponseFedrampLevel = "fedramp-medium"
const AIGatewayListResponseFedrampLevelFedrampHigh AIGatewayListResponseFedrampLevel = "fedramp-high"
FedrampMode AIGatewayListResponseFedrampModeOptional

FedRAMP enforcement mode. “prefer” prioritizes compliant connectors but allows fallback. “require” strictly filters.

One of the following:
const AIGatewayListResponseFedrampModePrefer AIGatewayListResponseFedrampMode = "prefer"
const AIGatewayListResponseFedrampModeRequire AIGatewayListResponseFedrampMode = "require"
Guardrails AIGatewayListResponseGuardrailsOptional
Prompt AIGatewayListResponseGuardrailsPrompt
P1 AIGatewayListResponseGuardrailsPromptP1Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptP1Flag AIGatewayListResponseGuardrailsPromptP1 = "FLAG"
const AIGatewayListResponseGuardrailsPromptP1Block AIGatewayListResponseGuardrailsPromptP1 = "BLOCK"
S1 AIGatewayListResponseGuardrailsPromptS1Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS1Flag AIGatewayListResponseGuardrailsPromptS1 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS1Block AIGatewayListResponseGuardrailsPromptS1 = "BLOCK"
S10 AIGatewayListResponseGuardrailsPromptS10Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS10Flag AIGatewayListResponseGuardrailsPromptS10 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS10Block AIGatewayListResponseGuardrailsPromptS10 = "BLOCK"
S11 AIGatewayListResponseGuardrailsPromptS11Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS11Flag AIGatewayListResponseGuardrailsPromptS11 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS11Block AIGatewayListResponseGuardrailsPromptS11 = "BLOCK"
S12 AIGatewayListResponseGuardrailsPromptS12Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS12Flag AIGatewayListResponseGuardrailsPromptS12 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS12Block AIGatewayListResponseGuardrailsPromptS12 = "BLOCK"
S13 AIGatewayListResponseGuardrailsPromptS13Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS13Flag AIGatewayListResponseGuardrailsPromptS13 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS13Block AIGatewayListResponseGuardrailsPromptS13 = "BLOCK"
S14 AIGatewayListResponseGuardrailsPromptS14Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS14Flag AIGatewayListResponseGuardrailsPromptS14 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS14Block AIGatewayListResponseGuardrailsPromptS14 = "BLOCK"
S2 AIGatewayListResponseGuardrailsPromptS2Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS2Flag AIGatewayListResponseGuardrailsPromptS2 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS2Block AIGatewayListResponseGuardrailsPromptS2 = "BLOCK"
S3 AIGatewayListResponseGuardrailsPromptS3Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS3Flag AIGatewayListResponseGuardrailsPromptS3 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS3Block AIGatewayListResponseGuardrailsPromptS3 = "BLOCK"
S4 AIGatewayListResponseGuardrailsPromptS4Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS4Flag AIGatewayListResponseGuardrailsPromptS4 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS4Block AIGatewayListResponseGuardrailsPromptS4 = "BLOCK"
S5 AIGatewayListResponseGuardrailsPromptS5Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS5Flag AIGatewayListResponseGuardrailsPromptS5 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS5Block AIGatewayListResponseGuardrailsPromptS5 = "BLOCK"
S6 AIGatewayListResponseGuardrailsPromptS6Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS6Flag AIGatewayListResponseGuardrailsPromptS6 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS6Block AIGatewayListResponseGuardrailsPromptS6 = "BLOCK"
S7 AIGatewayListResponseGuardrailsPromptS7Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS7Flag AIGatewayListResponseGuardrailsPromptS7 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS7Block AIGatewayListResponseGuardrailsPromptS7 = "BLOCK"
S8 AIGatewayListResponseGuardrailsPromptS8Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS8Flag AIGatewayListResponseGuardrailsPromptS8 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS8Block AIGatewayListResponseGuardrailsPromptS8 = "BLOCK"
S9 AIGatewayListResponseGuardrailsPromptS9Optional
One of the following:
const AIGatewayListResponseGuardrailsPromptS9Flag AIGatewayListResponseGuardrailsPromptS9 = "FLAG"
const AIGatewayListResponseGuardrailsPromptS9Block AIGatewayListResponseGuardrailsPromptS9 = "BLOCK"
Response AIGatewayListResponseGuardrailsResponse
P1 AIGatewayListResponseGuardrailsResponseP1Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseP1Flag AIGatewayListResponseGuardrailsResponseP1 = "FLAG"
const AIGatewayListResponseGuardrailsResponseP1Block AIGatewayListResponseGuardrailsResponseP1 = "BLOCK"
S1 AIGatewayListResponseGuardrailsResponseS1Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS1Flag AIGatewayListResponseGuardrailsResponseS1 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS1Block AIGatewayListResponseGuardrailsResponseS1 = "BLOCK"
S10 AIGatewayListResponseGuardrailsResponseS10Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS10Flag AIGatewayListResponseGuardrailsResponseS10 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS10Block AIGatewayListResponseGuardrailsResponseS10 = "BLOCK"
S11 AIGatewayListResponseGuardrailsResponseS11Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS11Flag AIGatewayListResponseGuardrailsResponseS11 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS11Block AIGatewayListResponseGuardrailsResponseS11 = "BLOCK"
S12 AIGatewayListResponseGuardrailsResponseS12Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS12Flag AIGatewayListResponseGuardrailsResponseS12 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS12Block AIGatewayListResponseGuardrailsResponseS12 = "BLOCK"
S13 AIGatewayListResponseGuardrailsResponseS13Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS13Flag AIGatewayListResponseGuardrailsResponseS13 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS13Block AIGatewayListResponseGuardrailsResponseS13 = "BLOCK"
S14 AIGatewayListResponseGuardrailsResponseS14Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS14Flag AIGatewayListResponseGuardrailsResponseS14 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS14Block AIGatewayListResponseGuardrailsResponseS14 = "BLOCK"
S2 AIGatewayListResponseGuardrailsResponseS2Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS2Flag AIGatewayListResponseGuardrailsResponseS2 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS2Block AIGatewayListResponseGuardrailsResponseS2 = "BLOCK"
S3 AIGatewayListResponseGuardrailsResponseS3Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS3Flag AIGatewayListResponseGuardrailsResponseS3 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS3Block AIGatewayListResponseGuardrailsResponseS3 = "BLOCK"
S4 AIGatewayListResponseGuardrailsResponseS4Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS4Flag AIGatewayListResponseGuardrailsResponseS4 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS4Block AIGatewayListResponseGuardrailsResponseS4 = "BLOCK"
S5 AIGatewayListResponseGuardrailsResponseS5Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS5Flag AIGatewayListResponseGuardrailsResponseS5 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS5Block AIGatewayListResponseGuardrailsResponseS5 = "BLOCK"
S6 AIGatewayListResponseGuardrailsResponseS6Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS6Flag AIGatewayListResponseGuardrailsResponseS6 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS6Block AIGatewayListResponseGuardrailsResponseS6 = "BLOCK"
S7 AIGatewayListResponseGuardrailsResponseS7Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS7Flag AIGatewayListResponseGuardrailsResponseS7 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS7Block AIGatewayListResponseGuardrailsResponseS7 = "BLOCK"
S8 AIGatewayListResponseGuardrailsResponseS8Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS8Flag AIGatewayListResponseGuardrailsResponseS8 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS8Block AIGatewayListResponseGuardrailsResponseS8 = "BLOCK"
S9 AIGatewayListResponseGuardrailsResponseS9Optional
One of the following:
const AIGatewayListResponseGuardrailsResponseS9Flag AIGatewayListResponseGuardrailsResponseS9 = "FLAG"
const AIGatewayListResponseGuardrailsResponseS9Block AIGatewayListResponseGuardrailsResponseS9 = "BLOCK"
IsDefault boolOptional
LogClassification boolOptional
LogManagement int64Optional
maximum10000000
minimum10000
LogManagementStrategy AIGatewayListResponseLogManagementStrategyOptional
One of the following:
const AIGatewayListResponseLogManagementStrategyStopInserting AIGatewayListResponseLogManagementStrategy = "STOP_INSERTING"
const AIGatewayListResponseLogManagementStrategyDeleteOldest AIGatewayListResponseLogManagementStrategy = "DELETE_OLDEST"
Logpush boolOptional
LogpushPublicKey stringOptional
maxLength1024
minLength16
Otel []AIGatewayListResponseOtelOptional
Headers map[string, string]
URL string
formaturi
maxLength2048
Authorization stringOptional
maxLength256
ContentType AIGatewayListResponseOtelContentTypeOptional
One of the following:
const AIGatewayListResponseOtelContentTypeJson AIGatewayListResponseOtelContentType = "json"
const AIGatewayListResponseOtelContentTypeProtobuf AIGatewayListResponseOtelContentType = "protobuf"
RateLimitingTechnique AIGatewayListResponseRateLimitingTechniqueOptional
One of the following:
const AIGatewayListResponseRateLimitingTechniqueFixed AIGatewayListResponseRateLimitingTechnique = "fixed"
const AIGatewayListResponseRateLimitingTechniqueSliding AIGatewayListResponseRateLimitingTechnique = "sliding"
RetryBackoff AIGatewayListResponseRetryBackoffOptional

Backoff strategy for retry delays

One of the following:
const AIGatewayListResponseRetryBackoffConstant AIGatewayListResponseRetryBackoff = "constant"
const AIGatewayListResponseRetryBackoffLinear AIGatewayListResponseRetryBackoff = "linear"
const AIGatewayListResponseRetryBackoffExponential AIGatewayListResponseRetryBackoff = "exponential"
RetryDelay int64Optional

Delay between retry attempts in milliseconds (0-60000)

maximum60000
minimum0
RetryMaxAttempts int64Optional

Maximum number of retry attempts for failed requests (1-5)

maximum5
minimum1
SpendLimits AIGatewayListResponseSpendLimitsOptional
Enabled boolOptional
Rules []AIGatewayListResponseSpendLimitsRuleOptional
Limit float64
exclusiveMinimum
minimum0
LimitType AIGatewayListResponseSpendLimitsRulesLimitType
Window int64
exclusiveMinimum
minimum0
ID stringOptional
minLength1
Enabled boolOptional
Metadata map[string, AIGatewayListResponseSpendLimitsRulesMetadata]Optional
One of the following:
type AIGatewayListResponseSpendLimitsRulesMetadataMode struct{…}
Mode AIGatewayListResponseSpendLimitsRulesMetadataModeMode
type AIGatewayListResponseSpendLimitsRulesMetadataObject struct{…}
Mode AIGatewayListResponseSpendLimitsRulesMetadataObjectMode
Values []string
Model AIGatewayListResponseSpendLimitsRulesModelOptional
Mode AIGatewayListResponseSpendLimitsRulesModelMode
Values []string
Provider AIGatewayListResponseSpendLimitsRulesProviderOptional
Mode AIGatewayListResponseSpendLimitsRulesProviderMode
Values []string
Technique AIGatewayListResponseSpendLimitsRulesTechniqueOptional
One of the following:
const AIGatewayListResponseSpendLimitsRulesTechniqueFixed AIGatewayListResponseSpendLimitsRulesTechnique = "fixed"
const AIGatewayListResponseSpendLimitsRulesTechniqueSliding AIGatewayListResponseSpendLimitsRulesTechnique = "sliding"
StoreID stringOptional

Secrets Store used by this gateway. Omit on update to keep the current store. Cannot be cleared while stored keys or secret references depend on it.

Stripe AIGatewayListResponseStripeOptional
Authorization string
UsageEvents []AIGatewayListResponseStripeUsageEvent
Payload string
WorkersAIBillingMode AIGatewayListResponseWorkersAIBillingModeOptional

Controls how Workers AI inference calls routed through this gateway are billed. ‘postpaid’ bills the account directly through Workers AI; ‘unified’ deducts credits via AI Gateway using neuron-based pricing and delegates billing to AI Gateway.

One of the following:
const AIGatewayListResponseWorkersAIBillingModePostpaid AIGatewayListResponseWorkersAIBillingMode = "postpaid"
const AIGatewayListResponseWorkersAIBillingModeUnified AIGatewayListResponseWorkersAIBillingMode = "unified"
Zdr boolOptional

List gateways

package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/ai_gateway"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  page, err := client.AIGateway.List(context.TODO(), ai_gateway.AIGatewayListParams{
    AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", page)
}
{
  "result": [
    {
      "id": "my-gateway",
      "cache_invalidate_on_update": true,
      "cache_ttl": 0,
      "collect_logs": true,
      "created_at": "2019-12-27T18:11:19.117Z",
      "modified_at": "2019-12-27T18:11:19.117Z",
      "rate_limiting_interval": 0,
      "rate_limiting_limit": 0,
      "authentication": true,
      "byok_only": true,
      "dlp": {
        "action": "BLOCK",
        "enabled": true,
        "profiles": [
          "string"
        ]
      },
      "fedramp_level": "fedramp-medium",
      "fedramp_mode": "prefer",
      "guardrails": {
        "prompt": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "FLAG",
          "S14": "FLAG",
          "S2": "FLAG",
          "S3": "FLAG",
          "S4": "FLAG",
          "S5": "FLAG",
          "S6": "FLAG",
          "S7": "FLAG",
          "S8": "FLAG",
          "S9": "FLAG"
        },
        "response": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "FLAG",
          "S14": "FLAG",
          "S2": "FLAG",
          "S3": "FLAG",
          "S4": "FLAG",
          "S5": "FLAG",
          "S6": "FLAG",
          "S7": "FLAG",
          "S8": "FLAG",
          "S9": "FLAG"
        }
      },
      "is_default": true,
      "log_classification": true,
      "log_management": 10000,
      "log_management_strategy": "STOP_INSERTING",
      "logpush": true,
      "logpush_public_key": "xxxxxxxxxxxxxxxx",
      "otel": [
        {
          "headers": {
            "foo": "string"
          },
          "url": "https://example.com",
          "authorization": "authorization",
          "content_type": "json"
        }
      ],
      "rate_limiting_technique": "fixed",
      "retry_backoff": "constant",
      "retry_delay": 0,
      "retry_max_attempts": 1,
      "spend_limits": {
        "enabled": true,
        "rules": [
          {
            "limit": 1,
            "limitType": "cost",
            "window": 1,
            "id": "x",
            "enabled": true,
            "metadata": {
              "foo": {
                "mode": "partition"
              }
            },
            "model": {
              "mode": "filter",
              "values": [
                "string"
              ]
            },
            "provider": {
              "mode": "filter",
              "values": [
                "string"
              ]
            },
            "technique": "fixed"
          }
        ]
      },
      "store_id": "store_id",
      "stripe": {
        "authorization": "authorization",
        "usage_events": [
          {
            "payload": "payload"
          }
        ]
      },
      "workers_ai_billing_mode": "postpaid",
      "zdr": true
    }
  ],
  "success": true
}
Returns Examples
{
  "result": [
    {
      "id": "my-gateway",
      "cache_invalidate_on_update": true,
      "cache_ttl": 0,
      "collect_logs": true,
      "created_at": "2019-12-27T18:11:19.117Z",
      "modified_at": "2019-12-27T18:11:19.117Z",
      "rate_limiting_interval": 0,
      "rate_limiting_limit": 0,
      "authentication": true,
      "byok_only": true,
      "dlp": {
        "action": "BLOCK",
        "enabled": true,
        "profiles": [
          "string"
        ]
      },
      "fedramp_level": "fedramp-medium",
      "fedramp_mode": "prefer",
      "guardrails": {
        "prompt": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "FLAG",
          "S14": "FLAG",
          "S2": "FLAG",
          "S3": "FLAG",
          "S4": "FLAG",
          "S5": "FLAG",
          "S6": "FLAG",
          "S7": "FLAG",
          "S8": "FLAG",
          "S9": "FLAG"
        },
        "response": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "FLAG",
          "S14": "FLAG",
          "S2": "FLAG",
          "S3": "FLAG",
          "S4": "FLAG",
          "S5": "FLAG",
          "S6": "FLAG",
          "S7": "FLAG",
          "S8": "FLAG",
          "S9": "FLAG"
        }
      },
      "is_default": true,
      "log_classification": true,
      "log_management": 10000,
      "log_management_strategy": "STOP_INSERTING",
      "logpush": true,
      "logpush_public_key": "xxxxxxxxxxxxxxxx",
      "otel": [
        {
          "headers": {
            "foo": "string"
          },
          "url": "https://example.com",
          "authorization": "authorization",
          "content_type": "json"
        }
      ],
      "rate_limiting_technique": "fixed",
      "retry_backoff": "constant",
      "retry_delay": 0,
      "retry_max_attempts": 1,
      "spend_limits": {
        "enabled": true,
        "rules": [
          {
            "limit": 1,
            "limitType": "cost",
            "window": 1,
            "id": "x",
            "enabled": true,
            "metadata": {
              "foo": {
                "mode": "partition"
              }
            },
            "model": {
              "mode": "filter",
              "values": [
                "string"
              ]
            },
            "provider": {
              "mode": "filter",
              "values": [
                "string"
              ]
            },
            "technique": "fixed"
          }
        ]
      },
      "store_id": "store_id",
      "stripe": {
        "authorization": "authorization",
        "usage_events": [
          {
            "payload": "payload"
          }
        ]
      },
      "workers_ai_billing_mode": "postpaid",
      "zdr": true
    }
  ],
  "success": true
}