---
title: List Requests
---

[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**

# List Requests

cloudforce\_one.requests.list(RequestListParams\*\*kwargs) -> SyncSinglePage\[[ListItem](<https://developers.cloudflare.com/api/python/resources/cloudforce_one#(resource)%20cloudforce_one.requests%20%3E%20(model)%20list_item%20%3E%20(schema)>)]

POST/accounts/{account\_id}/cloudforce-one/requests

Lists Cloudforce One intelligence requests with filtering and pagination.

##### 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`

##### ParametersExpand Collapse

account\_id: str

Identifier.

maxLength32

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

page: int

Page number of results.

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

per\_page: int

Number of results per page.

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

completed\_after: Optional\[Union\[str, datetime]]

Retrieve requests completed after this time.

formatdate-time

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

completed\_before: Optional\[Union\[str, datetime]]

Retrieve requests completed before this time.

formatdate-time

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

created\_after: Optional\[Union\[str, datetime]]

Retrieve requests created after this time.

formatdate-time

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

created\_before: Optional\[Union\[str, datetime]]

Retrieve requests created before this time.

formatdate-time

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

request\_type: Optional\[str]

Requested information from request.

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

sort\_by: Optional\[str]

Field to sort results by.

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

<details>

<summary>

sort\_order: Optional\[Literal\["asc", "desc"]]

Sort order (asc or desc).

</summary>

One of the following:

"asc"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20sort_order%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"desc"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20sort_order%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

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

<details>

<summary>

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

Request Status.

</summary>

One of the following:

"open"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"accepted"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"reported"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"approved"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"completed"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"declined"

<a href="#(resource)%20cloudforce_one.requests%20%3E%20(method)%20list%20%3E%20(params)%20default%20%3E%20(param)%20status%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

</details>

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

##### ReturnsExpand Collapse

<details>

<summary>

class ListItem: …

</summary>

id: str

UUID.

maxLength36

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

created: datetime

Request creation time.

formatdate-time

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

<details>

<summary>

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

</summary>

One of the following:

"routine"

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

"high"

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

"urgent"

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

</details>

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

request: str

Requested information from request.

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

summary: str

Brief description of the request.

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

<details>

<summary>

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

The CISA defined Traffic Light Protocol (TLP).

</summary>

One of the following:

"clear"

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

"amber"

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

"amber-strict"

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

"green"

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

"red"

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

</details>

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

updated: datetime

Request last updated time.

formatdate-time

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

completed: Optional\[datetime]

Request completion time.

formatdate-time

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

message\_tokens: Optional\[int]

Tokens for the request messages.

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

readable\_id: Optional\[str]

Readable Request ID.

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

<details>

<summary>

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

Request Status.

</summary>

One of the following:

"open"

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

"accepted"

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

"reported"

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

"approved"

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

"completed"

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

"declined"

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

</details>

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

tokens: Optional\[int]

Tokens for the request.

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

</details>

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

### List Requests

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
)
page = client.cloudforce_one.requests.list(
    account_id="023e105f4ecef8ad9ca31a8372d0c353",
    page=0,
    per_page=10,
)
page = page.result[0]
print(page.id)
```

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": [
    {
      "id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
      "created": "2022-04-01T00:00:00Z",
      "priority": "routine",
      "request": "Victomology",
      "summary": "DoS attack",
      "tlp": "clear",
      "updated": "2022-04-01T00:00:00Z",
      "completed": "2024-01-01T00:00:00Z",
      "message_tokens": 16,
      "readable_id": "RFI-2022-000001",
      "status": "open",
      "tokens": 0
    }
  ]
}
```

##### 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": [
    {
      "id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
      "created": "2022-04-01T00:00:00Z",
      "priority": "routine",
      "request": "Victomology",
      "summary": "DoS attack",
      "tlp": "clear",
      "updated": "2022-04-01T00:00:00Z",
      "completed": "2024-01-01T00:00:00Z",
      "message_tokens": 16,
      "readable_id": "RFI-2022-000001",
      "status": "open",
      "tokens": 0
    }
  ]
}
```