---
title: Risk Scoring
---

[Skip to content](#_top)

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

[Zero Trust](https://developers.cloudflare.com/api/python/resources/zero_trust)

Copy Markdown

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

---

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

# Risk Scoring

##### [Get risk event/score information for a specific user](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/methods/get)

zero\_trust.risk\_scoring.get(struser\_id, RiskScoringGetParams\*\*kwargs) -> [RiskScoringGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/zt\_risk\_scoring/{user\_id}

##### [Clear the risk score for a particular user](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/methods/reset)

zero\_trust.risk\_scoring.reset(struser\_id, RiskScoringResetParams\*\*kwargs) -> object

POST/accounts/{account\_id}/zt\_risk\_scoring/{user\_id}/reset

##### ModelsExpand Collapse

<details>

<summary>

class RiskScoringGetResponse: …

</summary>

email: str

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

events: List\[Event]

</summary>

id: str

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: str

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

risk\_level: Literal\["low", "medium", "high"]

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20risk_level">Link to this property</a>

timestamp: datetime

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20timestamp">Link to this property</a>

event\_details: Optional\[object]

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events%20%3E%20(items)%20%3E%20(property)%20event_details">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

name: str

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

last\_reset\_time: Optional\[datetime]

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20last_reset_time">Link to this property</a>

<details>

<summary>

risk\_level: Optional\[Literal\["low", "medium", "high"]]

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)%20%3E%20(property)%20risk_level">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring%20%3E%20(model)%20risk_scoring_get_response%20%3E%20(schema)>)

#### Risk ScoringBehaviours

##### [Get all behaviors and associated configuration](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/behaviours/methods/get)

zero\_trust.risk\_scoring.behaviours.get(BehaviourGetParams\*\*kwargs) -> [BehaviourGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/zt\_risk\_scoring/behaviors

##### [Update configuration for risk behaviors](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/behaviours/methods/update)

zero\_trust.risk\_scoring.behaviours.update(BehaviourUpdateParams\*\*kwargs) -> [BehaviourUpdateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/zt\_risk\_scoring/behaviors

##### ModelsExpand Collapse

<details>

<summary>

class BehaviourGetResponse: …

</summary>

<details>

<summary>

behaviors: Dict\[str, Behaviors]

</summary>

description: str

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

enabled: bool

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

name: str

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

risk\_level: Literal\["low", "medium", "high"]

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)%20%3E%20(property)%20behaviors">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_get_response%20%3E%20(schema)>)

<details>

<summary>

class BehaviourUpdateResponse: …

</summary>

<details>

<summary>

behaviors: Dict\[str, Behaviors]

</summary>

enabled: bool

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

risk\_level: Literal\["low", "medium", "high"]

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors%20%3E%20(items)%20%3E%20(property)%20risk_level">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)%20%3E%20(property)%20behaviors">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.behaviours%20%3E%20(model)%20behaviour_update_response%20%3E%20(schema)>)

#### Risk ScoringSummary

##### [Get risk score info for all users in the account](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/summary/methods/get)

zero\_trust.risk\_scoring.summary.get(SummaryGetParams\*\*kwargs) -> [SummaryGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/zt\_risk\_scoring/summary

##### ModelsExpand Collapse

<details>

<summary>

class SummaryGetResponse: …

</summary>

<details>

<summary>

users: List\[User]

</summary>

email: str

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20email">Link to this property</a>

event\_count: int

minimum0

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20event_count">Link to this property</a>

last\_event: datetime

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20last_event">Link to this property</a>

<details>

<summary>

max\_risk\_level: Literal\["low", "medium", "high"]

</summary>

One of the following:

"low"

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20max_risk_level%20%3E%20(member)%200">Link to this property</a>

"medium"

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20max_risk_level%20%3E%20(member)%201">Link to this property</a>

"high"

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20max_risk_level%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20max_risk_level">Link to this property</a>

name: str

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

user\_id: str

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users%20%3E%20(items)%20%3E%20(property)%20user_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)%20%3E%20(property)%20users">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.summary%20%3E%20(model)%20summary_get_response%20%3E%20(schema)>)

#### Risk ScoringIntegrations

##### [List all risk score integrations for the account.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/methods/list)

zero\_trust.risk\_scoring.integrations.list(IntegrationListParams\*\*kwargs) -> SyncSinglePage\[[IntegrationListResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/zt\_risk\_scoring/integrations

##### [Get risk score integration by id.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/methods/get)

zero\_trust.risk\_scoring.integrations.get(strintegration\_id, IntegrationGetParams\*\*kwargs) -> [IntegrationGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/zt\_risk\_scoring/integrations/{integration\_id}

##### [Create new risk score integration.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/methods/create)

zero\_trust.risk\_scoring.integrations.create(IntegrationCreateParams\*\*kwargs) -> [IntegrationCreateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/zt\_risk\_scoring/integrations

##### [Update a risk score integration.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/methods/update)

zero\_trust.risk\_scoring.integrations.update(strintegration\_id, IntegrationUpdateParams\*\*kwargs) -> [IntegrationUpdateResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/zt\_risk\_scoring/integrations/{integration\_id}

##### [Delete a risk score integration.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/methods/delete)

zero\_trust.risk\_scoring.integrations.delete(strintegration\_id, IntegrationDeleteParams\*\*kwargs) -> object

DELETE/accounts/{account\_id}/zt\_risk\_scoring/integrations/{integration\_id}

##### ModelsExpand Collapse

<details>

<summary>

class IntegrationListResponse: …

</summary>

id: str

The id of the integration, a UUIDv4.

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag: str

The Cloudflare account tag.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

active: bool

Whether this integration is enabled and should export changes in risk score.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20active">Link to this property</a>

created\_at: datetime

When the integration was created in RFC3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

integration\_type: Literal\["Okta"]

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20integration_type">Link to this property</a>

reference\_id: str

A reference ID defined by the client. Should be set to the Access-Okta IDP integration ID. Useful when the risk-score integration needs to be associated with a secondary asset and recalled using that ID.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20reference_id">Link to this property</a>

tenant\_url: str

The base URL for the tenant. E.g. “<a href="https://tenant.okta.com">https://tenant.okta.com</a>”.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20tenant_url">Link to this property</a>

well\_known\_url: str

The URL for the Shared Signals Framework configuration, e.g. “/.well-known/sse-configuration/{integration\_uuid}/”. <a href="https://openid.net/specs/openid-sse-framework-1_0.html#rfc.section.6.2.1">https://openid.net/specs/openid-sse-framework-1\_0.html#rfc.section.6.2.1</a>.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)%20%3E%20(property)%20well_known_url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_list_response%20%3E%20(schema)>)

<details>

<summary>

class IntegrationGetResponse: …

</summary>

id: str

The id of the integration, a UUIDv4.

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag: str

The Cloudflare account tag.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

active: bool

Whether this integration is enabled and should export changes in risk score.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20active">Link to this property</a>

created\_at: datetime

When the integration was created in RFC3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

integration\_type: Literal\["Okta"]

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20integration_type">Link to this property</a>

reference\_id: str

A reference ID defined by the client. Should be set to the Access-Okta IDP integration ID. Useful when the risk-score integration needs to be associated with a secondary asset and recalled using that ID.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20reference_id">Link to this property</a>

tenant\_url: str

The base URL for the tenant. E.g. “<a href="https://tenant.okta.com">https://tenant.okta.com</a>”.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20tenant_url">Link to this property</a>

well\_known\_url: str

The URL for the Shared Signals Framework configuration, e.g. “/.well-known/sse-configuration/{integration\_uuid}/”. <a href="https://openid.net/specs/openid-sse-framework-1_0.html#rfc.section.6.2.1">https://openid.net/specs/openid-sse-framework-1\_0.html#rfc.section.6.2.1</a>.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)%20%3E%20(property)%20well_known_url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_get_response%20%3E%20(schema)>)

<details>

<summary>

class IntegrationCreateResponse: …

</summary>

id: str

The id of the integration, a UUIDv4.

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag: str

The Cloudflare account tag.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

active: bool

Whether this integration is enabled and should export changes in risk score.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20active">Link to this property</a>

created\_at: datetime

When the integration was created in RFC3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

integration\_type: Literal\["Okta"]

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20integration_type">Link to this property</a>

reference\_id: str

A reference ID defined by the client. Should be set to the Access-Okta IDP integration ID. Useful when the risk-score integration needs to be associated with a secondary asset and recalled using that ID.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20reference_id">Link to this property</a>

tenant\_url: str

The base URL for the tenant. E.g. “<a href="https://tenant.okta.com">https://tenant.okta.com</a>”.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20tenant_url">Link to this property</a>

well\_known\_url: str

The URL for the Shared Signals Framework configuration, e.g. “/.well-known/sse-configuration/{integration\_uuid}/”. <a href="https://openid.net/specs/openid-sse-framework-1_0.html#rfc.section.6.2.1">https://openid.net/specs/openid-sse-framework-1\_0.html#rfc.section.6.2.1</a>.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)%20%3E%20(property)%20well_known_url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_create_response%20%3E%20(schema)>)

<details>

<summary>

class IntegrationUpdateResponse: …

</summary>

id: str

The id of the integration, a UUIDv4.

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag: str

The Cloudflare account tag.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

active: bool

Whether this integration is enabled and should export changes in risk score.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20active">Link to this property</a>

created\_at: datetime

When the integration was created in RFC3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

integration\_type: Literal\["Okta"]

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20integration_type">Link to this property</a>

reference\_id: str

A reference ID defined by the client. Should be set to the Access-Okta IDP integration ID. Useful when the risk-score integration needs to be associated with a secondary asset and recalled using that ID.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20reference_id">Link to this property</a>

tenant\_url: str

The base URL for the tenant. E.g. “<a href="https://tenant.okta.com">https://tenant.okta.com</a>”.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20tenant_url">Link to this property</a>

well\_known\_url: str

The URL for the Shared Signals Framework configuration, e.g. “/.well-known/sse-configuration/{integration\_uuid}/”. <a href="https://openid.net/specs/openid-sse-framework-1_0.html#rfc.section.6.2.1">https://openid.net/specs/openid-sse-framework-1\_0.html#rfc.section.6.2.1</a>.

<a href="#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)%20%3E%20(property)%20well_known_url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.integrations%20%3E%20(model)%20integration_update_response%20%3E%20(schema)>)

#### Risk ScoringIntegrationsReferences

##### [Get risk score integration by reference id.](https://developers.cloudflare.com/api/python/resources/zero_trust/subresources/risk_scoring/subresources/integrations/subresources/references/methods/get)

zero\_trust.risk\_scoring.integrations.references.get(strreference\_id, ReferenceGetParams\*\*kwargs) -> [ReferenceGetResponse](<https://developers.cloudflare.com/api/python/resources/zero_trust#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/zt\_risk\_scoring/integrations/reference\_id/{reference\_id}

##### ModelsExpand Collapse

<details>

<summary>

class ReferenceGetResponse: …

</summary>

id: str

The id of the integration, a UUIDv4.

formatuuid

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag: str

The Cloudflare account tag.

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

active: bool

Whether this integration is enabled and should export changes in risk score.

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20active">Link to this property</a>

created\_at: datetime

When the integration was created in RFC3339 format.

formatdate-time

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

integration\_type: Literal\["Okta"]

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20integration_type">Link to this property</a>

reference\_id: str

A reference ID defined by the client. Should be set to the Access-Okta IDP integration ID. Useful when the risk-score integration needs to be associated with a secondary asset and recalled using that ID.

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20reference_id">Link to this property</a>

tenant\_url: str

The base URL for the tenant. E.g. “<a href="https://tenant.okta.com">https://tenant.okta.com</a>”.

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20tenant_url">Link to this property</a>

well\_known\_url: str

The URL for the Shared Signals Framework configuration, e.g. “/.well-known/sse-configuration/{integration\_uuid}/”. <a href="https://openid.net/specs/openid-sse-framework-1_0.html#rfc.section.6.2.1">https://openid.net/specs/openid-sse-framework-1\_0.html#rfc.section.6.2.1</a>.

<a href="#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)%20%3E%20(property)%20well_known_url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.risk_scoring.integrations.references%20%3E%20(model)%20reference_get_response%20%3E%20(schema)>)