---
updatedAt: 2026-11-02T19:08:15.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# request_​type

<table><thead><th class="page-label-version">Version: <code>v2026-09-30</code></th><th class="page-label-includes">Includes use: Yes</th></thead><table>

**Criterion name:** Request Type

Matches the basic type of request. To use this match, you need to be thoroughly familiar with how Akamai edge servers process requests. Contact your Akamai Technical representative if you need help, and test thoroughly on staging before activating on production.

## Default criterion

These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.

```json HCL
data "akamai_property_rules_builder" "request_type" {
  rules_v2026_09_30 {
    name     = "Request Type"
    comments = "Matches the basic type of request."
    criterion {
      request_type {
        match_operator = "IS"
        value = "CLIENT_REQ"
      }
    }
  }
}
```
```json JSON
"criterion": [
  {
    "name": "requestType",
    "options": {
      "matchOperator": "IS",
      "value": "CLIENT_REQ"
    }
  }
]
```

## Options

<table>
  <thead>
    <th>Option</th>
    <th>Description</th>
  </thead>
  <tbody>
    <tr>
      <td><code>match_operator</code></td>
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata ps-blue">Enum</span>
        </div>
        <div>Specifies the match logic. Value is one of:
          <ul>
            <li class="ps-li"><code>IS</code>. The request is the type of specified <code>value</code>.</li>
            <li class="ps-li"><code>IS_NOT</code>. The request is not the type of specified <code>value</code>.</li>
          </ul>
        </div>
      </td>
    </tr>
    <tr>
      <td><code>value</code></td>
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata ps-blue">Enum</span>
        </div>
        <div>Specifies the type of request. Value is one of:
          <ul>
            <li class="ps-li"><code>CLIENT_REQ</code>. A client request.</li>
            <li class="ps-li"><code>ESI_FRAGMENT</code>. An Edge Side Include fragment.</li>
            <li class="ps-li"><code>EW_SUBREQUEST</code>. An EdgeWorkers sub-request.</li>
          </ul>
        </div>
      </td>
    </tr>
  </tbody>
</table>

# Sibling pages

\- [advanced\_​im\_​match](https://techdocs.akamai.com/terraform/docs/advanced-im-match.md)
\- [bucket](https://techdocs.akamai.com/terraform/docs/bucket.md)
\- [cacheability](https://techdocs.akamai.com/terraform/docs/cacheability.md)
\- [china\_​cdn\_​region](https://techdocs.akamai.com/terraform/docs/china-cdn-region.md)
\- [client\_​certificate](https://techdocs.akamai.com/terraform/docs/client-certificate.md)
\- [client\_​ip](https://techdocs.akamai.com/terraform/docs/client-ip.md)
\- [client\_​ip\_​version](https://techdocs.akamai.com/terraform/docs/client-ip-version.md)
\- [cloudlets\_​origin](https://techdocs.akamai.com/terraform/docs/cloudlets-origin.md)
\- [content\_​delivery\_​network](https://techdocs.akamai.com/terraform/docs/content-delivery-network.md)
\- [content\_​type](https://techdocs.akamai.com/terraform/docs/content-type.md)
\- [debug\_​mode](https://techdocs.akamai.com/terraform/docs/debug-mode.md)
\- [device\_​characteristic](https://techdocs.akamai.com/terraform/docs/device-characteristic.md)
\- [edge\_​workers\_​failure](https://techdocs.akamai.com/terraform/docs/edge-workers-failure.md)
\- [file\_​extension](https://techdocs.akamai.com/terraform/docs/file-extension.md)
\- [filename](https://techdocs.akamai.com/terraform/docs/filename.md)
\- [hostname](https://techdocs.akamai.com/terraform/docs/hostname.md)
\- [match\_​advanced](https://techdocs.akamai.com/terraform/docs/match-advanced.md)
\- [match\_​cp\_​code](https://techdocs.akamai.com/terraform/docs/match-cp-code.md)
\- [match\_​response\_​code](https://techdocs.akamai.com/terraform/docs/match-response-code.md)
\- [match\_​variable](https://techdocs.akamai.com/terraform/docs/match-variable.md)
\- [metadata\_​stage](https://techdocs.akamai.com/terraform/docs/metadata-stage.md)
\- [origin\_​timeout](https://techdocs.akamai.com/terraform/docs/origin-timeout.md)
\- [path](https://techdocs.akamai.com/terraform/docs/path.md)
\- [query\_​string\_​parameter](https://techdocs.akamai.com/terraform/docs/query-string-parameter.md)
\- [random](https://techdocs.akamai.com/terraform/docs/random.md)
\- [recovery\_​config](https://techdocs.akamai.com/terraform/docs/recovery-config.md)
\- [regular\_​expression](https://techdocs.akamai.com/terraform/docs/regular-expression.md)
\- [request\_​cookie](https://techdocs.akamai.com/terraform/docs/request-cookie.md)
\- [request\_​header](https://techdocs.akamai.com/terraform/docs/request-header.md)
\- [request\_​method](https://techdocs.akamai.com/terraform/docs/request-method.md)
\- [request\_​protocol](https://techdocs.akamai.com/terraform/docs/request-protocol.md)
\- [response\_​header](https://techdocs.akamai.com/terraform/docs/response-header.md)
\- [server\_​location](https://techdocs.akamai.com/terraform/docs/server-location.md)
\- [time](https://techdocs.akamai.com/terraform/docs/time.md)
\- [token\_​authorization](https://techdocs.akamai.com/terraform/docs/token-authorization.md)
\- [user\_​agent](https://techdocs.akamai.com/terraform/docs/user-agent.md)
\- [user\_​location](https://techdocs.akamai.com/terraform/docs/user-location.md)
\- [user\_​network](https://techdocs.akamai.com/terraform/docs/user-network.md)
\- [variable\_​error](https://techdocs.akamai.com/terraform/docs/variable-error.md)