# Phishguard # Reports ## Get `PhishGuard` reports `email_security.phishguard.reports.list(ReportListParams**kwargs) -> SyncSinglePage[ReportListResponse]` **get** `/accounts/{account_id}/email-security/phishguard/reports` Retrieves `PhishGuard` reports showing phishing attempts and suspicious email patterns detected. ### Parameters - `account_id: str` Account Identifier - `end: Optional[Union[str, datetime]]` The end of the search date range (RFC3339 format). - `from_date: Optional[Union[null, null]]` - `start: Optional[Union[str, datetime]]` The beginning of the search date range (RFC3339 format). - `to_date: Optional[Union[null, null]]` ### Returns - `class ReportListResponse: …` - `id: int` - `content: str` - `created_at: datetime` - `disposition: Literal["MALICIOUS", "MALICIOUS-BEC", "SUSPICIOUS", 7 more]` - `"MALICIOUS"` - `"MALICIOUS-BEC"` - `"SUSPICIOUS"` - `"SPOOF"` - `"SPAM"` - `"BULK"` - `"ENCRYPTED"` - `"EXTERNAL"` - `"UNKNOWN"` - `"NONE"` - `fields: Fields` - `to: List[str]` - `ts: datetime` - `from_: Optional[str]` - `postfix_id: Optional[str]` - `priority: str` - `title: str` - `ts: datetime` - `updated_at: datetime` - `tags: Optional[List[Tag]]` - `category: str` - `value: str` ### Example ```python 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.email_security.phishguard.reports.list( account_id="023e105f4ecef8ad9ca31a8372d0c353", ) page = page.result[0] print(page.id) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": [ { "id": 0, "content": "content", "created_at": "2019-12-27T18:11:19.117Z", "disposition": "MALICIOUS", "fields": { "to": [ "string" ], "ts": "2019-12-27T18:11:19.117Z", "from": "from", "postfix_id": "postfix_id" }, "priority": "priority", "title": "title", "ts": "2019-12-27T18:11:19.117Z", "updated_at": "2019-12-27T18:11:19.117Z", "tags": [ { "category": "category", "value": "value" } ] } ], "success": true } ``` ## Domain Types ### Report List Response - `class ReportListResponse: …` - `id: int` - `content: str` - `created_at: datetime` - `disposition: Literal["MALICIOUS", "MALICIOUS-BEC", "SUSPICIOUS", 7 more]` - `"MALICIOUS"` - `"MALICIOUS-BEC"` - `"SUSPICIOUS"` - `"SPOOF"` - `"SPAM"` - `"BULK"` - `"ENCRYPTED"` - `"EXTERNAL"` - `"UNKNOWN"` - `"NONE"` - `fields: Fields` - `to: List[str]` - `ts: datetime` - `from_: Optional[str]` - `postfix_id: Optional[str]` - `priority: str` - `title: str` - `ts: datetime` - `updated_at: datetime` - `tags: Optional[List[Tag]]` - `category: str` - `value: str`