---
title: API Gateway
---

[Skip to content](#_top)

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

Copy Markdown

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

---

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

# API Gateway

#### API GatewayConfigurations

#### resource cloudflare\_api\_shield

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

<details>

<summary>

auth\_id\_characteristics: List\[Attributes]

</summary>

name: String

The name of the characteristic field, i.e., the header or cookie name.

<a href="#(resource)%20api_gateway.configurations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20auth_id_characteristics%20%3E%20(attribute)%20name">Link to this property</a>

type: String

The type of characteristic.

<a href="#(resource)%20api_gateway.configurations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20auth_id_characteristics%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20auth_id_characteristics>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_api\_shield

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_api_shield" "example_api_shield" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  auth_id_characteristics = [{
    name = "authorization"
    type = "header"
  }]
}
```

#### data cloudflare\_api\_shield

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

normalize?: Bool

Ensures that the configuration is written or retrieved in normalized fashion

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20normalize>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

<details>

<summary>

auth\_id\_characteristics: List\[Attributes]

</summary>

name: String

The name of the characteristic field, i.e., the header or cookie name.

<a href="#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20auth_id_characteristics%20%3E%20(attribute)%20name">Link to this property</a>

type: String

The type of characteristic.

<a href="#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20auth_id_characteristics%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.configurations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20auth_id_characteristics>)

### cloudflare\_api\_shield

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield" "example_api_shield" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  normalize = true
}
```

#### API GatewayDiscoveryOperations

#### data cloudflare\_api\_shield\_discovery\_operations

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

diff?: Bool

When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20diff>)

direction?: String

Direction to order results.

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20direction>)

endpoint?: String

Filter results to only include endpoints containing this pattern.

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20endpoint>)

order?: String

Field to order by

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20order>)

origin?: String

Filter results to only include discovery results sourced from a particular discovery engine

- `ML` - Discovered operations that were sourced using ML API Discovery
- `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20origin>)

state?: String

Filter results to only include discovery results in a particular state. States are as follows

- `review` - Discovered operations that are not saved into API Shield Endpoint Management
- `saved` - Discovered operations that are already saved into API Shield Endpoint Management
- `ignored` - Discovered operations that have been marked as ignored

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20state>)

host?: List\[String]

Filter results to only include the specified hosts.

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20host>)

method?: List\[String]

Filter results to only include the specified HTTP methods.

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20method>)

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

UUID.

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

endpoint: String

The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: <a href="https://developers.cloudflare.com/rules/normalization/how-it-works/">https://developers.cloudflare.com/rules/normalization/how-it-works/</a>.

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20endpoint">Link to this property</a>

host: String

RFC3986-compliant host.

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20host">Link to this property</a>

last\_updated: Time

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20last_updated">Link to this property</a>

method: String

The HTTP method used to access the endpoint.

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20method">Link to this property</a>

origin: List\[String]

API discovery engine(s) that discovered this operation

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20origin">Link to this property</a>

state: String

State of operation in API Discovery

- <code>review</code> - Operation is not saved into API Shield Endpoint Management
- <code>saved</code> - Operation is saved into API Shield Endpoint Management
- <code>ignored</code> - Operation is marked as ignored

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20state">Link to this property</a>

<details>

<summary>

features: Attributes

</summary>

<details>

<summary>

traffic\_stats: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20traffic_stats%20%3E%20(attribute)%20last_updated">Link to this property</a>

period\_seconds: Int64

The period in seconds these statistics were computed over

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20traffic_stats%20%3E%20(attribute)%20period_seconds">Link to this property</a>

requests: Float64

The average number of requests seen during this period

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20traffic_stats%20%3E%20(attribute)%20requests">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20traffic_stats">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.discovery.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_api\_shield\_discovery\_operations

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_discovery_operations" "example_api_shield_discovery_operations" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  diff = true
  direction = "desc"
  endpoint = "/api/v1"
  host = ["api.cloudflare.com"]
  method = ["GET"]
  order = "method"
  origin = "ML"
  state = "review"
}
```

#### API GatewayOperations

#### resource cloudflare\_api\_shield\_operation

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

endpoint: String

The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20endpoint>)

host: String

RFC3986-compliant host.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20host>)

method: String

The HTTP method used to access the endpoint.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20method>)

##### computed Expand Collapse

id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

operation\_id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20operation_id>)

last\_updated: Time

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20last_updated>)

<details>

<summary>

features: Attributes

</summary>

<details>

<summary>

thresholds: Attributes

</summary>

auth\_id\_tokens: Int64

The total number of auth-ids seen across this calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20auth_id_tokens">Link to this property</a>

data\_points: Int64

The number of data points used for the threshold suggestion calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20data_points">Link to this property</a>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20last_updated">Link to this property</a>

p50: Int64

The p50 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p50">Link to this property</a>

p90: Int64

The p90 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p90">Link to this property</a>

p99: Int64

The p99 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p99">Link to this property</a>

period\_seconds: Int64

The period over which this threshold is suggested.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20period_seconds">Link to this property</a>

requests: Int64

The estimated number of requests covered by these calculations.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20requests">Link to this property</a>

suggested\_threshold: Int64

The suggested threshold in requests done by the same auth\_id or period\_seconds.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

An operation schema object containing a response.

</summary>

parameters: List\[JSON]

An array containing the learned parameter schemas.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameters">Link to this property</a>

responses: JSON

An empty response object. This field is required to yield a valid operation schema.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20responses">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

<details>

<summary>

api\_routing: Attributes

API Routing settings on endpoint.

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20last_updated">Link to this property</a>

route: String

Target route.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20route">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing">Link to this property</a>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

suggested\_threshold: Attributes

</summary>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

<details>

<summary>

p90: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90">Link to this property</a>

<details>

<summary>

p95: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95">Link to this property</a>

<details>

<summary>

p99: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

mean: Float64

Suggested threshold.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20mean">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

<details>

<summary>

schema\_info: Attributes

</summary>

<details>

<summary>

active\_schema: Attributes

Schema active on endpoint.

</summary>

id: String

UUID.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20id">Link to this property</a>

created\_at: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20created_at">Link to this property</a>

name: String

Schema file name.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema">Link to this property</a>

mitigation\_action: String

Action taken on requests failing validation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20mitigation_action">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20features>)

<details>

<summary>

schemas: Attributes

OpenAPI JSON schemas for an operation, including both user-uploaded and Cloudflare-learned schemas.

</summary>

<details>

<summary>

learned: Attributes

An OpenAPI operation object fragment containing schema information for an operation. May include parameter definitions, request body specifications, and a component schema extension.

</summary>

parameters: List\[Map\[JSON]]

OpenAPI parameter objects describing path, query, header, or cookie parameters.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned%20%3E%20(attribute)%20parameters">Link to this property</a>

request\_body: Map\[JSON]

OpenAPI request body object describing the expected request payload.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned%20%3E%20(attribute)%20request_body">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned">Link to this property</a>

<details>

<summary>

uploaded: Attributes

An OpenAPI operation object fragment containing schema information for an operation. May include parameter definitions, request body specifications, and a component schema extension.

</summary>

parameters: List\[Map\[JSON]]

OpenAPI parameter objects describing path, query, header, or cookie parameters.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded%20%3E%20(attribute)%20parameters">Link to this property</a>

request\_body: Map\[JSON]

OpenAPI request body object describing the expected request payload.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded%20%3E%20(attribute)%20request_body">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schemas>)

### cloudflare\_api\_shield\_operation

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_api_shield_operation" "example_api_shield_operation" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  endpoint = "/api/v1/users/{var1}"
  host = "www.example.com"
  method = "GET"
}
```

#### data cloudflare\_api\_shield\_operation

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

operation\_id?: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20operation_id>)

feature?: List\[String]

Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20feature>)

with\_schemas?: Bool

When true, includes OpenAPI schemas (both uploaded and learned) for the operation in the response. Due to the conversion overhead, this parameter is only supported on single-operation retrieval.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20with_schemas>)

<details>

<summary>

filter?: Attributes

</summary>

direction?: String

Direction to order results.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20direction">Link to this property</a>

endpoint?: String

Filter results to only include endpoints containing this pattern.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20endpoint">Link to this property</a>

feature?: List\[String]

Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20feature">Link to this property</a>

host?: List\[String]

Filter results to only include the specified hosts.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20host">Link to this property</a>

method?: List\[String]

Filter results to only include the specified HTTP methods.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20method">Link to this property</a>

order?: String

Field to order by. When requesting a feature, the feature keys are available for ordering as well, e.g., <code>thresholds.suggested_threshold</code>.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20order">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter>)

##### computed Expand Collapse

id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

endpoint: String

The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20endpoint>)

host: String

RFC3986-compliant host.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20host>)

last\_updated: Time

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20last_updated>)

method: String

The HTTP method used to access the endpoint.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20method>)

<details>

<summary>

features: Attributes

</summary>

<details>

<summary>

thresholds: Attributes

</summary>

auth\_id\_tokens: Int64

The total number of auth-ids seen across this calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20auth_id_tokens">Link to this property</a>

data\_points: Int64

The number of data points used for the threshold suggestion calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20data_points">Link to this property</a>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20last_updated">Link to this property</a>

p50: Int64

The p50 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p50">Link to this property</a>

p90: Int64

The p90 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p90">Link to this property</a>

p99: Int64

The p99 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p99">Link to this property</a>

period\_seconds: Int64

The period over which this threshold is suggested.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20period_seconds">Link to this property</a>

requests: Int64

The estimated number of requests covered by these calculations.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20requests">Link to this property</a>

suggested\_threshold: Int64

The suggested threshold in requests done by the same auth\_id or period\_seconds.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

An operation schema object containing a response.

</summary>

parameters: List\[JSON]

An array containing the learned parameter schemas.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameters">Link to this property</a>

responses: JSON

An empty response object. This field is required to yield a valid operation schema.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20responses">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

<details>

<summary>

api\_routing: Attributes

API Routing settings on endpoint.

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20last_updated">Link to this property</a>

route: String

Target route.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20route">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing">Link to this property</a>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

suggested\_threshold: Attributes

</summary>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

<details>

<summary>

p90: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90">Link to this property</a>

<details>

<summary>

p95: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95">Link to this property</a>

<details>

<summary>

p99: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

mean: Float64

Suggested threshold.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20mean">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

<details>

<summary>

schema\_info: Attributes

</summary>

<details>

<summary>

active\_schema: Attributes

Schema active on endpoint.

</summary>

id: String

UUID.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20id">Link to this property</a>

created\_at: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20created_at">Link to this property</a>

name: String

Schema file name.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema">Link to this property</a>

mitigation\_action: String

Action taken on requests failing validation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20mitigation_action">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20features>)

<details>

<summary>

schemas: Attributes

OpenAPI JSON schemas for an operation, including both user-uploaded and Cloudflare-learned schemas.

</summary>

<details>

<summary>

learned: Attributes

An OpenAPI operation object fragment containing schema information for an operation. May include parameter definitions, request body specifications, and a component schema extension.

</summary>

parameters: List\[Map\[JSON]]

OpenAPI parameter objects describing path, query, header, or cookie parameters.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned%20%3E%20(attribute)%20parameters">Link to this property</a>

request\_body: Map\[JSON]

OpenAPI request body object describing the expected request payload.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned%20%3E%20(attribute)%20request_body">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20learned">Link to this property</a>

<details>

<summary>

uploaded: Attributes

An OpenAPI operation object fragment containing schema information for an operation. May include parameter definitions, request body specifications, and a component schema extension.

</summary>

parameters: List\[Map\[JSON]]

OpenAPI parameter objects describing path, query, header, or cookie parameters.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded%20%3E%20(attribute)%20parameters">Link to this property</a>

request\_body: Map\[JSON]

OpenAPI request body object describing the expected request payload.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded%20%3E%20(attribute)%20request_body">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas%20%3E%20(attribute)%20uploaded">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schemas>)

### cloudflare\_api\_shield\_operation

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_operation" "example_api_shield_operation" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  operation_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
  feature = ["thresholds"]
  with_schemas = true
}
```

#### data cloudflare\_api\_shield\_operations

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

direction?: String

Direction to order results.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20direction>)

endpoint?: String

Filter results to only include endpoints containing this pattern.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20endpoint>)

order?: String

Field to order by. When requesting a feature, the feature keys are available for ordering as well, e.g., `thresholds.suggested_threshold`.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20order>)

feature?: List\[String]

Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20feature>)

host?: List\[String]

Filter results to only include the specified hosts.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20host>)

method?: List\[String]

Filter results to only include the specified HTTP methods.

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20method>)

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

UUID.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

endpoint: String

The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: <a href="https://developers.cloudflare.com/rules/normalization/how-it-works/">https://developers.cloudflare.com/rules/normalization/how-it-works/</a>.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20endpoint">Link to this property</a>

host: String

RFC3986-compliant host.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20host">Link to this property</a>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20last_updated">Link to this property</a>

method: String

The HTTP method used to access the endpoint.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20method">Link to this property</a>

operation\_id: String

UUID.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20operation_id">Link to this property</a>

<details>

<summary>

features: Attributes

</summary>

<details>

<summary>

thresholds: Attributes

</summary>

auth\_id\_tokens: Int64

The total number of auth-ids seen across this calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20auth_id_tokens">Link to this property</a>

data\_points: Int64

The number of data points used for the threshold suggestion calculation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20data_points">Link to this property</a>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20last_updated">Link to this property</a>

p50: Int64

The p50 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p50">Link to this property</a>

p90: Int64

The p90 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p90">Link to this property</a>

p99: Int64

The p99 quantile of requests (in period\_seconds).

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20p99">Link to this property</a>

period\_seconds: Int64

The period over which this threshold is suggested.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20period_seconds">Link to this property</a>

requests: Int64

The estimated number of requests covered by these calculations.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20requests">Link to this property</a>

suggested\_threshold: Int64

The suggested threshold in requests done by the same auth\_id or period\_seconds.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20thresholds">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

parameter\_schemas: Attributes

An operation schema object containing a response.

</summary>

parameters: List\[JSON]

An array containing the learned parameter schemas.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameters">Link to this property</a>

responses: JSON

An empty response object. This field is required to yield a valid operation schema.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20responses">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20parameter_schemas">Link to this property</a>

<details>

<summary>

api\_routing: Attributes

API Routing settings on endpoint.

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20last_updated">Link to this property</a>

route: String

Target route.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing%20%3E%20(attribute)%20route">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20api_routing">Link to this property</a>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

last\_updated: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20last_updated">Link to this property</a>

<details>

<summary>

suggested\_threshold: Attributes

</summary>

<details>

<summary>

confidence\_intervals: Attributes

</summary>

<details>

<summary>

p90: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p90">Link to this property</a>

<details>

<summary>

p95: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p95">Link to this property</a>

<details>

<summary>

p99: Attributes

Upper and lower bound for percentile estimate

</summary>

lower: Float64

Lower bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20lower">Link to this property</a>

upper: Float64

Upper bound for percentile estimate

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99%20%3E%20(attribute)%20upper">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20p99">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

mean: Float64

Suggested threshold.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold%20%3E%20(attribute)%20mean">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals%20%3E%20(attribute)%20suggested_threshold">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20confidence_intervals">Link to this property</a>

<details>

<summary>

schema\_info: Attributes

</summary>

<details>

<summary>

active\_schema: Attributes

Schema active on endpoint.

</summary>

id: String

UUID.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20id">Link to this property</a>

created\_at: Time

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20created_at">Link to this property</a>

name: String

Schema file name.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20active_schema">Link to this property</a>

mitigation\_action: String

Action taken on requests failing validation.

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info%20%3E%20(attribute)%20mitigation_action">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features%20%3E%20(attribute)%20schema_info">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20features">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.operations%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_api\_shield\_operations

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_operations" "example_api_shield_operations" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  direction = "desc"
  endpoint = "/api/v1"
  feature = ["thresholds"]
  host = ["api.cloudflare.com"]
  method = ["GET"]
  order = "method"
}
```

#### API GatewayOperationsSchema Validation

#### resource cloudflare\_api\_shield\_operation\_schema\_validation\_settings

##### required Expand Collapse

operation\_id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20operation_id>)

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

mitigation\_action?: String

When set, this applies a mitigation action to this operation

- `log` log request when request does not conform to schema for this operation
- `block` deny access to the site when request does not conform to schema for this operation
- `none` will skip mitigation for this operation
- `null` indicates that no operation level mitigation is in place, see Zone Level Schema Validation Settings for mitigation action that will be applied

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20mitigation_action>)

##### computed Expand Collapse

id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_api\_shield\_operation\_schema\_validation\_settings

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_api_shield_operation_schema_validation_settings" "example_api_shield_operation_schema_validation_settings" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  operation_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
  mitigation_action = "block"
}
```

#### data cloudflare\_api\_shield\_operation\_schema\_validation\_settings

##### required Expand Collapse

operation\_id: String

UUID.

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20operation_id>)

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

mitigation\_action: String

When set, this applies a mitigation action to this operation

- `log` log request when request does not conform to schema for this operation
- `block` deny access to the site when request does not conform to schema for this operation
- `none` will skip mitigation for this operation
- `null` indicates that no operation level mitigation is in place, see Zone Level Schema Validation Settings for mitigation action that will be applied

[Link to this property](<#(resource)%20api_gateway.operations.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20mitigation_action>)

### cloudflare\_api\_shield\_operation\_schema\_validation\_settings

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_operation_schema_validation_settings" "example_api_shield_operation_schema_validation_settings" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  operation_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
}
```

#### API GatewaySettingsSchema Validation

#### resource cloudflare\_api\_shield\_schema\_validation\_settings

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

validation\_default\_mitigation\_action: String

The default mitigation action used when there is no mitigation action defined on the operation

Mitigation actions are as follows:

- `log` - log request when request does not conform to schema
- `block` - deny access to the site when request does not conform to schema

A special value of of `none` will skip running schema validation entirely for the request when there is no mitigation action defined on the operation

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20validation_default_mitigation_action>)

##### optional Expand Collapse

validation\_override\_mitigation\_action?: String

When set, this overrides both zone level and operation level mitigation actions.

- `none` will skip running schema validation entirely for the request
- `null` indicates that no override is in place

To clear any override, use the special value `disable_override` or `null`

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20validation_override_mitigation_action>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_api\_shield\_schema\_validation\_settings

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_api_shield_schema_validation_settings" "example_api_shield_schema_validation_settings" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  validation_default_mitigation_action = "block"
  validation_override_mitigation_action = "none"
}
```

#### data cloudflare\_api\_shield\_schema\_validation\_settings

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

validation\_default\_mitigation\_action: String

The default mitigation action used when there is no mitigation action defined on the operation

Mitigation actions are as follows:

- `log` - log request when request does not conform to schema
- `block` - deny access to the site when request does not conform to schema

A special value of of `none` will skip running schema validation entirely for the request when there is no mitigation action defined on the operation

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20validation_default_mitigation_action>)

validation\_override\_mitigation\_action: String

When set, this overrides both zone level and operation level mitigation actions.

- `none` will skip running schema validation entirely for the request
- `null` indicates that no override is in place

[Link to this property](<#(resource)%20api_gateway.settings.schema_validation%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20validation_override_mitigation_action>)

### cloudflare\_api\_shield\_schema\_validation\_settings

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_schema_validation_settings" "example_api_shield_schema_validation_settings" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### API GatewayUser Schemas

#### resource cloudflare\_api\_shield\_schema

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

file: String

Schema file bytes

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20file>)

kind: String

Kind of schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20kind>)

##### optional Expand Collapse

schema\_id?: String

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema_id>)

name?: String

Name of the schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20name>)

validation\_enabled?: String

Flag whether schema is enabled for validation.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20validation_enabled>)

##### computed Expand Collapse

created\_at: Time

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20created_at>)

source: String

Source of the schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20source>)

<details>

<summary>

schema: Attributes

</summary>

created\_at: Time

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20created_at">Link to this property</a>

kind: String

Kind of schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20kind">Link to this property</a>

name: String

Name of the schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20name">Link to this property</a>

schema\_id: String

UUID.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20schema_id">Link to this property</a>

source: String

Source of the schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20source">Link to this property</a>

validation\_enabled: Bool

Flag whether schema is enabled for validation.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema%20%3E%20(attribute)%20validation_enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20schema>)

<details>

<summary>

upload\_details: Attributes

</summary>

<details>

<summary>

warnings: List\[Attributes]

Diagnostic warning events that occurred during processing. These events are non-critical errors found within the schema.

</summary>

code: Int64

Code that identifies the event that occurred.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20upload_details%20%3E%20(attribute)%20warnings%20%3E%20(attribute)%20code">Link to this property</a>

locations: List\[String]

JSONPath location(s) in the schema where these events were encountered. See <a href="https://goessner.net/articles/JsonPath/">https://goessner.net/articles/JsonPath/</a> for JSONPath specification.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20upload_details%20%3E%20(attribute)%20warnings%20%3E%20(attribute)%20locations">Link to this property</a>

message: String

Diagnostic message that describes the event.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20upload_details%20%3E%20(attribute)%20warnings%20%3E%20(attribute)%20message">Link to this property</a>

</details>

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20upload_details%20%3E%20(attribute)%20warnings">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20upload_details>)

### cloudflare\_api\_shield\_schema

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_api_shield_schema" "example_api_shield_schema" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  file = "Example data"
  kind = "openapi_v3"
  name = "petstore schema"
  validation_enabled = "true"
}
```

#### data cloudflare\_api\_shield\_schema

##### required Expand Collapse

schema\_id: String

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20schema_id>)

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

omit\_source?: Bool

Omit the source-files of schemas and only retrieve their meta-data.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20omit_source>)

##### computed Expand Collapse

created\_at: Time

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20created_at>)

kind: String

Kind of schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20kind>)

name: String

Name of the schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20name>)

source: String

Source of the schema

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20source>)

validation\_enabled: Bool

Flag whether schema is enabled for validation.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20validation_enabled>)

### cloudflare\_api\_shield\_schema

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_schema" "example_api_shield_schema" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  schema_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
  omit_source = true
}
```

#### data cloudflare\_api\_shield\_schemas

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

validation\_enabled?: Bool

Flag whether schema is enabled for validation.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20validation_enabled>)

omit\_source?: Bool

Omit the source-files of schemas and only retrieve their meta-data.

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20omit_source>)

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

created\_at: Time

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20created_at">Link to this property</a>

kind: String

Kind of schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20kind">Link to this property</a>

name: String

Name of the schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20name">Link to this property</a>

schema\_id: String

UUID.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20schema_id">Link to this property</a>

source: String

Source of the schema

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20source">Link to this property</a>

validation\_enabled: Bool

Flag whether schema is enabled for validation.

<a href="#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20validation_enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20api_gateway.user_schemas%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_api\_shield\_schemas

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_api_shield_schemas" "example_api_shield_schemas" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  validation_enabled = true
}
```