# Raw ## Reads data for a raw event `cloudforce_one.threat_events.raw.get(strraw_id, RawGetParams**kwargs) -> RawGetResponse` **get** `/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}` Reads data for a raw event ### Parameters - `account_id: str` Account ID. - `event_id: str` Event UUID. - `raw_id: str` Raw Event UUID. ### Returns - `class RawGetResponse: …` - `id: str` - `account_id: float` - `created: str` - `data: object` - `source: str` - `tlp: str` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) raw = client.cloudforce_one.threat_events.raw.get( raw_id="raw_id", account_id="account_id", event_id="event_id", ) print(raw.id) ``` #### Response ```json { "id": "1234", "accountId": 1234, "created": "1970-01-01", "data": {}, "source": "https://example.com", "tlp": "amber" } ``` ## Updates a raw event `cloudforce_one.threat_events.raw.edit(strraw_id, RawEditParams**kwargs) -> RawEditResponse` **patch** `/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}` Updates a raw event ### Parameters - `account_id: str` Account ID. - `event_id: str` Event UUID. - `raw_id: str` Raw Event UUID. - `data: Optional[object]` - `source: Optional[str]` - `tlp: Optional[str]` ### Returns - `class RawEditResponse: …` - `id: str` - `data: object` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) response = client.cloudforce_one.threat_events.raw.edit( raw_id="raw_id", account_id="account_id", event_id="event_id", ) print(response.id) ``` #### Response ```json { "id": "1234", "data": {} } ``` ## Domain Types ### Raw Get Response - `class RawGetResponse: …` - `id: str` - `account_id: float` - `created: str` - `data: object` - `source: str` - `tlp: str` ### Raw Edit Response - `class RawEditResponse: …` - `id: str` - `data: object`