---
title: List gateways
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[AI Gateway](https://developers.cloudflare.com/api/go/resources/ai_gateway)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# List gateways

client.AIGateway.List(ctx, params) (\*V4PagePaginationArray\[[AIGatewayListResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/ai-gateway/gateways

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

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



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

**Example:**<code>X-Auth-Email: user@example.com</code>

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

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`AI Gateway Write``AI Gateway Read`

##### ParametersExpand Collapse

<details>

<summary>

params AIGatewayListParams

</summary>

AccountID param.Field\[string]

Path param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

Page param.Field\[int64]Optional

Query param

minimum1

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20page">Link to this property</a>

PerPage param.Field\[int64]Optional

Query param

maximum100

minimum1

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20per_page">Link to this property</a>

Search param.Field\[string]Optional

Query param: Search by id

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20search">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ai_gateway%20%3E%20(method)%20list%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type AIGatewayListResponse struct{…}

</summary>

ID string

Unique identifier of the AI Gateway within the account.

maxLength64

minLength1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

CacheInvalidateOnUpdate bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20cache_invalidate_on_update">Link to this property</a>

CacheTTL int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20cache_ttl">Link to this property</a>

CollectLogs bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20collect_logs">Link to this property</a>

CreatedAt Time

formatdate-time

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

ModifiedAt Time

formatdate-time

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

RateLimitingInterval int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_interval">Link to this property</a>

RateLimitingLimit int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_limit">Link to this property</a>

Authentication boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20authentication">Link to this property</a>

ByokOnly boolOptional

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

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20byok_only">Link to this property</a>

<details>

<summary>

DLP AIGatewayListResponseDLPOptional

</summary>

One of the following:

<details>

<summary>

type AIGatewayListResponseDLPObject struct{…}

</summary>

<details>

<summary>

Action AIGatewayListResponseDLPObjectAction

</summary>

One of the following:

const AIGatewayListResponseDLPObjectActionBlock AIGatewayListResponseDLPObjectAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseDLPObjectActionFlag AIGatewayListResponseDLPObjectAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayListResponseDLPObject struct{…}

</summary>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Policies \[]AIGatewayListResponseDLPObjectPolicy

</summary>

ID string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Action AIGatewayListResponseDLPObjectPoliciesAction

</summary>

One of the following:

const AIGatewayListResponseDLPObjectPoliciesActionFlag AIGatewayListResponseDLPObjectPoliciesAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseDLPObjectPoliciesActionBlock AIGatewayListResponseDLPObjectPoliciesAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action">Link to this property</a>

<details>

<summary>

Check \[]AIGatewayListResponseDLPObjectPoliciesCheck

</summary>

One of the following:

const AIGatewayListResponseDLPObjectPoliciesCheckRequest AIGatewayListResponseDLPObjectPoliciesCheck = "REQUEST"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseDLPObjectPoliciesCheckResponse AIGatewayListResponseDLPObjectPoliciesCheck = "RESPONSE"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20dlp">Link to this property</a>

<details>

<summary>

Guardrails AIGatewayListResponseGuardrailsOptional

</summary>

<details>

<summary>

Prompt AIGatewayListResponseGuardrailsPrompt

</summary>

<details>

<summary>

P1 AIGatewayListResponseGuardrailsPromptP1Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptP1Flag AIGatewayListResponseGuardrailsPromptP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptP1Block AIGatewayListResponseGuardrailsPromptP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayListResponseGuardrailsPromptS1Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS1Flag AIGatewayListResponseGuardrailsPromptS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS1Block AIGatewayListResponseGuardrailsPromptS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayListResponseGuardrailsPromptS10Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS10Flag AIGatewayListResponseGuardrailsPromptS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS10Block AIGatewayListResponseGuardrailsPromptS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayListResponseGuardrailsPromptS11Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS11Flag AIGatewayListResponseGuardrailsPromptS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS11Block AIGatewayListResponseGuardrailsPromptS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayListResponseGuardrailsPromptS12Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS12Flag AIGatewayListResponseGuardrailsPromptS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS12Block AIGatewayListResponseGuardrailsPromptS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayListResponseGuardrailsPromptS13Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS13Flag AIGatewayListResponseGuardrailsPromptS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS13Block AIGatewayListResponseGuardrailsPromptS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayListResponseGuardrailsPromptS2Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS2Flag AIGatewayListResponseGuardrailsPromptS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS2Block AIGatewayListResponseGuardrailsPromptS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayListResponseGuardrailsPromptS3Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS3Flag AIGatewayListResponseGuardrailsPromptS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS3Block AIGatewayListResponseGuardrailsPromptS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayListResponseGuardrailsPromptS4Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS4Flag AIGatewayListResponseGuardrailsPromptS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS4Block AIGatewayListResponseGuardrailsPromptS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayListResponseGuardrailsPromptS5Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS5Flag AIGatewayListResponseGuardrailsPromptS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS5Block AIGatewayListResponseGuardrailsPromptS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayListResponseGuardrailsPromptS6Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS6Flag AIGatewayListResponseGuardrailsPromptS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS6Block AIGatewayListResponseGuardrailsPromptS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayListResponseGuardrailsPromptS7Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS7Flag AIGatewayListResponseGuardrailsPromptS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS7Block AIGatewayListResponseGuardrailsPromptS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayListResponseGuardrailsPromptS8Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS8Flag AIGatewayListResponseGuardrailsPromptS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS8Block AIGatewayListResponseGuardrailsPromptS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayListResponseGuardrailsPromptS9Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsPromptS9Flag AIGatewayListResponseGuardrailsPromptS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsPromptS9Block AIGatewayListResponseGuardrailsPromptS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt">Link to this property</a>

<details>

<summary>

Response AIGatewayListResponseGuardrailsResponse

</summary>

<details>

<summary>

P1 AIGatewayListResponseGuardrailsResponseP1Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseP1Flag AIGatewayListResponseGuardrailsResponseP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseP1Block AIGatewayListResponseGuardrailsResponseP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayListResponseGuardrailsResponseS1Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS1Flag AIGatewayListResponseGuardrailsResponseS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS1Block AIGatewayListResponseGuardrailsResponseS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayListResponseGuardrailsResponseS10Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS10Flag AIGatewayListResponseGuardrailsResponseS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS10Block AIGatewayListResponseGuardrailsResponseS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayListResponseGuardrailsResponseS11Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS11Flag AIGatewayListResponseGuardrailsResponseS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS11Block AIGatewayListResponseGuardrailsResponseS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayListResponseGuardrailsResponseS12Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS12Flag AIGatewayListResponseGuardrailsResponseS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS12Block AIGatewayListResponseGuardrailsResponseS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayListResponseGuardrailsResponseS13Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS13Flag AIGatewayListResponseGuardrailsResponseS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS13Block AIGatewayListResponseGuardrailsResponseS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayListResponseGuardrailsResponseS2Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS2Flag AIGatewayListResponseGuardrailsResponseS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS2Block AIGatewayListResponseGuardrailsResponseS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayListResponseGuardrailsResponseS3Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS3Flag AIGatewayListResponseGuardrailsResponseS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS3Block AIGatewayListResponseGuardrailsResponseS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayListResponseGuardrailsResponseS4Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS4Flag AIGatewayListResponseGuardrailsResponseS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS4Block AIGatewayListResponseGuardrailsResponseS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayListResponseGuardrailsResponseS5Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS5Flag AIGatewayListResponseGuardrailsResponseS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS5Block AIGatewayListResponseGuardrailsResponseS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayListResponseGuardrailsResponseS6Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS6Flag AIGatewayListResponseGuardrailsResponseS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS6Block AIGatewayListResponseGuardrailsResponseS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayListResponseGuardrailsResponseS7Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS7Flag AIGatewayListResponseGuardrailsResponseS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS7Block AIGatewayListResponseGuardrailsResponseS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayListResponseGuardrailsResponseS8Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS8Flag AIGatewayListResponseGuardrailsResponseS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS8Block AIGatewayListResponseGuardrailsResponseS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayListResponseGuardrailsResponseS9Optional

</summary>

One of the following:

const AIGatewayListResponseGuardrailsResponseS9Flag AIGatewayListResponseGuardrailsResponseS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseGuardrailsResponseS9Block AIGatewayListResponseGuardrailsResponseS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails">Link to this property</a>

IsDefault boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20is_default">Link to this property</a>

LogClassification boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20log_classification">Link to this property</a>

LogManagement int64Optional

maximum10000000

minimum10000

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20log_management">Link to this property</a>

<details>

<summary>

LogManagementStrategy AIGatewayListResponseLogManagementStrategyOptional

</summary>

One of the following:

const AIGatewayListResponseLogManagementStrategyStopInserting AIGatewayListResponseLogManagementStrategy = "STOP\_INSERTING"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseLogManagementStrategyDeleteOldest AIGatewayListResponseLogManagementStrategy = "DELETE\_OLDEST"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy">Link to this property</a>

Logpush boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20logpush">Link to this property</a>

LogpushPublicKey stringOptional

maxLength1024

minLength16

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20logpush_public_key">Link to this property</a>

<details>

<summary>

Otel \[]AIGatewayListResponseOtelOptional

</summary>

Headers map\[string, string]

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20headers">Link to this property</a>

URL string

formaturi

maxLength2048

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

Authorization stringOptional

maxLength256

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

ContentType AIGatewayListResponseOtelContentTypeOptional

</summary>

One of the following:

const AIGatewayListResponseOtelContentTypeJson AIGatewayListResponseOtelContentType = "json"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseOtelContentTypeProtobuf AIGatewayListResponseOtelContentType = "protobuf"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20otel">Link to this property</a>

<details>

<summary>

RateLimitingTechnique AIGatewayListResponseRateLimitingTechniqueOptional

</summary>

One of the following:

const AIGatewayListResponseRateLimitingTechniqueFixed AIGatewayListResponseRateLimitingTechnique = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseRateLimitingTechniqueSliding AIGatewayListResponseRateLimitingTechnique = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique">Link to this property</a>

<details>

<summary>

RetryBackoff AIGatewayListResponseRetryBackoffOptional

Backoff strategy for retry delays

</summary>

One of the following:

const AIGatewayListResponseRetryBackoffConstant AIGatewayListResponseRetryBackoff = "constant"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseRetryBackoffLinear AIGatewayListResponseRetryBackoff = "linear"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%201">Link to this property</a>

const AIGatewayListResponseRetryBackoffExponential AIGatewayListResponseRetryBackoff = "exponential"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff">Link to this property</a>

RetryDelay int64Optional

Delay between retry attempts in milliseconds (0-60000)

maximum60000

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_delay">Link to this property</a>

RetryMaxAttempts int64Optional

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

maximum5

minimum1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20retry_max_attempts">Link to this property</a>

<details>

<summary>

SpendLimits AIGatewayListResponseSpendLimitsOptional

</summary>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Rules \[]AIGatewayListResponseSpendLimitsRuleOptional

</summary>

Limit float64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limit">Link to this property</a>

LimitType AIGatewayListResponseSpendLimitsRulesLimitType

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limitType">Link to this property</a>

Window int64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20window">Link to this property</a>

ID stringOptional

minLength1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Metadata map\[string, AIGatewayListResponseSpendLimitsRulesMetadata]Optional

</summary>

One of the following:

<details>

<summary>

type AIGatewayListResponseSpendLimitsRulesMetadataMode struct{…}

</summary>

Mode AIGatewayListResponseSpendLimitsRulesMetadataModeMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayListResponseSpendLimitsRulesMetadataObject struct{…}

</summary>

Mode AIGatewayListResponseSpendLimitsRulesMetadataObjectMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata">Link to this property</a>

<details>

<summary>

Model AIGatewayListResponseSpendLimitsRulesModelOptional

</summary>

Mode AIGatewayListResponseSpendLimitsRulesModelMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model">Link to this property</a>

<details>

<summary>

Provider AIGatewayListResponseSpendLimitsRulesProviderOptional

</summary>

Mode AIGatewayListResponseSpendLimitsRulesProviderMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider">Link to this property</a>

<details>

<summary>

Technique AIGatewayListResponseSpendLimitsRulesTechniqueOptional

</summary>

One of the following:

const AIGatewayListResponseSpendLimitsRulesTechniqueFixed AIGatewayListResponseSpendLimitsRulesTechnique = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseSpendLimitsRulesTechniqueSliding AIGatewayListResponseSpendLimitsRulesTechnique = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits">Link to this property</a>

StoreID stringOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20store_id">Link to this property</a>

<details>

<summary>

Stripe AIGatewayListResponseStripeOptional

</summary>

Authorization string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

UsageEvents \[]AIGatewayListResponseStripeUsageEvent

</summary>

Payload string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20usage_events%20%3E%20(items)%20%3E%20(property)%20payload">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20usage_events">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20stripe">Link to this property</a>

<details>

<summary>

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.

</summary>

One of the following:

const AIGatewayListResponseWorkersAIBillingModePostpaid AIGatewayListResponseWorkersAIBillingMode = "postpaid"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode%20%3E%20(member)%200">Link to this property</a>

const AIGatewayListResponseWorkersAIBillingModeUnified AIGatewayListResponseWorkersAIBillingMode = "unified"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode">Link to this property</a>

Zdr boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)%20%3E%20(property)%20zdr">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayListResponse%20%3E%20(schema)>)

### List gateways

Go

HTTPTypeScriptPythonGoTerraform

```
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)
}
```

200 example

```
{
  "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"
        ]
      },
      "guardrails": {
        "prompt": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "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",
          "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

200 example

```
{
  "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"
        ]
      },
      "guardrails": {
        "prompt": {
          "P1": "FLAG",
          "S1": "FLAG",
          "S10": "FLAG",
          "S11": "FLAG",
          "S12": "FLAG",
          "S13": "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",
          "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
}
```