---
title: Get Request Priority, Status, and TLP constants
---

[Skip to content](#_top)

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

[Cloudforce One](https://developers.cloudflare.com/api/python/resources/cloudforce_one)

[Requests](https://developers.cloudflare.com/api/python/resources/cloudforce_one/subresources/requests)

Copy Markdown

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

---

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

# Get Request Priority, Status, and TLP constants

cloudforce\_one.requests.constants(RequestConstantsParams\*\*kwargs) -> [RequestConstants](<https://developers.cloudflare.com/api/python/resources/cloudforce_one#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)>)

GET/accounts/{account\_id}/cloudforce-one/requests/constants

Retrieves constant values used in Cloudforce One requests, including valid statuses and types.

##### Security

API Email + API Key

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

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

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

**Example:**`X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194`

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

`Cloudforce One Write``Cloudforce One Read`

##### ParametersExpand Collapse

account\_id: str

Identifier.

maxLength32

[Link to this property](<#(resource)%20cloudforce_one.requests%20%3E%20(method)%20constants%20%3E%20(params)%20default%20%3E%20(param)%20account_id%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

class RequestConstants: …

</summary>

<details>

<summary>

priority: Optional\[List\[Literal\["routine", "high", "urgent"]]]

</summary>

One of the following:

"routine"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20priority%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"high"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20priority%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"urgent"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20priority%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20priority">Link to this property</a>

<details>

<summary>

status: Optional\[List\[Literal\["open", "accepted", "reported", 3 more]]]

</summary>

One of the following:

"open"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"accepted"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"reported"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"approved"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"completed"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"declined"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tlp: Optional\[List\[Literal\["clear", "amber", "amber-strict", 2 more]]]

</summary>

One of the following:

"clear"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"amber"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"amber-strict"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"green"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"red"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)%20%3E%20(property)%20tlp">Link to this property</a>

</details>

[Link to this property](<#(resource)%20cloudforce_one.requests%20%3E%20(model)%20request_constants%20%3E%20(schema)>)

### Get Request Priority, Status, and TLP constants

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_email=os.environ.get("CLOUDFLARE_EMAIL"),  # This is the default and can be omitted
    api_key=os.environ.get("CLOUDFLARE_API_KEY"),  # This is the default and can be omitted
)
request_constants = client.cloudforce_one.requests.constants(
    account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
print(request_constants.priority)
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "success": true,
  "result": {
    "priority": [
      "routine",
      "high",
      "urgent"
    ],
    "status": [
      "open",
      "accepted",
      "reported",
      "approved",
      "completed",
      "declined"
    ],
    "tlp": [
      "clear",
      "green",
      "amber",
      "amber-strict",
      "red"
    ]
  }
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "success": true,
  "result": {
    "priority": [
      "routine",
      "high",
      "urgent"
    ],
    "status": [
      "open",
      "accepted",
      "reported",
      "approved",
      "completed",
      "declined"
    ],
    "tlp": [
      "clear",
      "green",
      "amber",
      "amber-strict",
      "red"
    ]
  }
}
```