Home / Developers / API reference / risk-signals
risk-signals
Get the organization's risk-signal policy (shadow mode)
GET /v1/organizations/{organizationId}/risk-signal-policy
AI Security Intelligence Plane (spec §13.3, FR-139). No policy means disabled (the default). The only mode is shadow; thresholds are provisional until D-15 (provisional_thresholds).
- Operation ID
getRiskSignalPolicy- Authentication
- bearerAuth
- Authorization operation
risk_signal_policy.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | string (uuid) | optional | |
configured | boolean | optional | |
policy_version | integer | optional | |
enabled | boolean | optional | |
mode | string | optional |
|
signal_types | array of string | optional | |
accepted_models | array of string | optional | |
min_confidence | number | optional | |
step_up_score | number | optional | |
deny_score | number | optional | |
provisional_thresholds | boolean | optional | true while D-15 (approved thresholds) is open |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Put the organization's risk-signal policy
PUT /v1/organizations/{organizationId}/risk-signal-policy
Sensitive (step-up), audited (control.risk_signal_policy.update) and dual-controllable. Signals only tighten: step-up at or above step_up_score, deny at or above deny_score, counting signals of the listed types and models with at least min_confidence; in shadow mode the would-have outcome is recorded and the decision is unchanged. Omitted thresholds take the provisional defaults (0.5 / 0.6 / 0.9).
- Operation ID
putRiskSignalPolicy- Authentication
- bearerAuth
- Authorization operation
risk_signal_policy.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
enabled | boolean | required | |
mode | string | optional |
|
signal_types | array of string | optional | |
accepted_models | array of string | optional |
|
min_confidence | number | optional |
|
step_up_score | number | optional |
|
deny_score | number | optional |
|
expected_version | integer | null | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | string (uuid) | optional | |
configured | boolean | optional | |
policy_version | integer | optional | |
enabled | boolean | optional | |
mode | string | optional |
|
signal_types | array of string | optional | |
accepted_models | array of string | optional | |
min_confidence | number | optional | |
step_up_score | number | optional | |
deny_score | number | optional | |
provisional_thresholds | boolean | optional | true while D-15 (approved thresholds) is open |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List the risk-signal policy's versions (newest first)
GET /v1/organizations/{organizationId}/risk-signal-policy/versions
- Operation ID
listRiskSignalPolicyVersions- Authentication
- bearerAuth
- Authorization operation
risk_signal_policy.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].policy_version | integer | optional | |
data[].policy | object | optional | |
data[].changed_by | string | optional | |
data[].changed_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Restore an earlier risk-signal policy version as a new version
POST /v1/organizations/{organizationId}/risk-signal-policy/revert
Sensitive (step-up), audited (control.risk_signal_policy.revert), dual-controllable (AIS-08 reversibility).
- Operation ID
revertRiskSignalPolicy- Authentication
- bearerAuth
- Authorization operation
risk_signal_policy.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
to_version | integer | required |
|
expected_version | integer | null | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | string (uuid) | optional | |
configured | boolean | optional | |
policy_version | integer | optional | |
enabled | boolean | optional | |
mode | string | optional |
|
signal_types | array of string | optional | |
accepted_models | array of string | optional | |
min_confidence | number | optional | |
step_up_score | number | optional | |
deny_score | number | optional | |
provisional_thresholds | boolean | optional | true while D-15 (approved thresholds) is open |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List the organization's validated risk signals with explanations
GET /v1/organizations/{organizationId}/risk-signals
FR-123 explainable assessments of the caller's organization only (unexpired until purged). Explanations cite audit evidence and carry codes and numbers only, never secrets, tokens or another tenant's data. Audited (control.risk_signal.list).
- Operation ID
listRiskSignals- Authentication
- bearerAuth
- Authorization operation
risk_signal.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
subject_type | query | string | optional |
|
subject_ref | query | string | optional |
|
signal_type | query | string | optional | The last five are advisory (FR-127, FR-131, FR-132, FR-133, FR-134 predictions) and never counted by a risk-signal policy, which accepts only the first seven.
|
limit | query | integer | optional |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].signal_id | string (uuid) | optional | |
data[].producer | string | optional | |
data[].subject_type | string | optional | |
data[].subject_ref | string | optional | |
data[].signal_type | string | optional | The last five are advisory (FR-127, FR-131, FR-132, FR-133, FR-134 predictions) and never counted by a risk-signal policy, which accepts only the first seven.
|
data[].basis | string | optional |
|
data[].severity | string | optional |
|
data[].score | number | optional | |
data[].confidence | number | optional | |
data[].model | object | optional | |
data[].model.id | string | optional | |
data[].model.version | string | optional | |
data[].event_refs | array of string (uuid) | optional | |
data[].evidence | array of object | optional | |
data[].evidence[].event_id | string (uuid) | optional | |
data[].evidence[].seq | integer | optional | |
data[].evidence[].action | string | optional | |
data[].evidence[].occurred_at | string (date-time) | optional | |
data[].explanation | object | optional | |
data[].explanation.summary | string | optional | |
data[].explanation.factors | array of object | optional | |
data[].explanation.factors[].code | string | optional | |
data[].explanation.factors[].weight | number | optional | |
data[].explanation.factors[].value | string | optional | |
data[].provenance | object | optional | |
data[].generated_at | string (date-time) | optional | |
data[].expires_at | string (date-time) | optional | |
data[].received_at | string (date-time) | optional | |
data[].expired | boolean | optional | |
data[].key_id | string | optional | |
data[].payload_sha256 | string | optional | |
mode | string | optional |
|
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get one risk signal and its explanation
GET /v1/organizations/{organizationId}/risk-signals/{signalId}
Audited (control.risk_signal.explanation_read). A signal of another organization is 404.
- Operation ID
getRiskSignal- Authentication
- bearerAuth
- Authorization operation
risk_signal.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
signalId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
signal_id | string (uuid) | optional | |
producer | string | optional | |
subject_type | string | optional | |
subject_ref | string | optional | |
signal_type | string | optional | The last five are advisory (FR-127, FR-131, FR-132, FR-133, FR-134 predictions) and never counted by a risk-signal policy, which accepts only the first seven.
|
basis | string | optional |
|
severity | string | optional |
|
score | number | optional | |
confidence | number | optional | |
model | object | optional | |
model.id | string | optional | |
model.version | string | optional | |
event_refs | array of string (uuid) | optional | |
evidence | array of object | optional | |
evidence[].event_id | string (uuid) | optional | |
evidence[].seq | integer | optional | |
evidence[].action | string | optional | |
evidence[].occurred_at | string (date-time) | optional | |
explanation | object | optional | |
explanation.summary | string | optional | |
explanation.factors | array of object | optional | |
explanation.factors[].code | string | optional | |
explanation.factors[].weight | number | optional | |
explanation.factors[].value | string | optional | |
provenance | object | optional | |
generated_at | string (date-time) | optional | |
expires_at | string (date-time) | optional | |
received_at | string (date-time) | optional | |
expired | boolean | optional | |
key_id | string | optional | |
payload_sha256 | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List shadow evaluations (would-have outcomes; never applied)
GET /v1/organizations/{organizationId}/shadow-evaluations
Audited (control.risk_signal.shadow_read). baseline_decision is what was returned; would_decision what the policy would have decided. A deny is never evaluated (signals only tighten).
- Operation ID
listShadowEvaluations- Authentication
- bearerAuth
- Authorization operation
risk_signal.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
limit | query | integer | optional |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].evaluation_id | string (uuid) | optional | |
data[].correlation_id | string | null | optional | |
data[].grant | string | optional | |
data[].principal_id | string | null (uuid) | optional | |
data[].mode | string | optional |
|
data[].policy_version | integer | optional | |
data[].baseline_decision | string | optional |
|
data[].would_decision | string | optional |
|
data[].would_reason | string | null | optional | |
data[].changed | boolean | optional | |
data[].requires_human_review | boolean | optional | |
data[].privileged | boolean | optional | |
data[].max_score | number | null | optional | |
data[].signal_ids | array of string (uuid) | optional | |
data[].evaluated_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List signals the validation gateway rejected
GET /v1/organizations/{organizationId}/signal-rejections
FR-139. Only the reason, producer, key id, signal id and payload digest are kept. Audited (control.risk_signal.rejections_read).
- Operation ID
listSignalRejections- Authentication
- bearerAuth
- Authorization operation
risk_signal.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
limit | query | integer | optional |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].rejection_id | string (uuid) | optional | |
data[].producer | string | optional | |
data[].key_id | string | null | optional | |
data[].signal_id | string | null (uuid) | optional | |
data[].reason | string | optional |
|
data[].payload_sha256 | string | optional | |
data[].received_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |