Risk

Register a journey context; does not assign a policy or scope evidence

post/api/v1/risk/contexts

Request

  • Base URL: https://api.korala.ai
  • URL: https://api.korala.ai/api/v1/risk/contexts
  • Auth: one of:
    • API key in header X-API-Key
    • bearer (a scheme the document does not define)

Headers

Idempotency-Keystring

Required on mutation POSTs; validation and simulation are read-only exceptions. Retry the same request with the same key; changed input returns 409.

X-Risk-Modestring

Dashboard JWT: live (default) or test. API keys are pinned to their credential mode.

X-Korala-Mode'live' | 'test'

Dashboard JWT: live (default) or test. API keys are pinned to their credential mode. Mode cannot be changed after creation.

idempotency-keystring required

Request body

kindstring required
externalIdstring required

Example request

{
  "kind": "account_access"
}

Response

idstring uuid required
resource'sources' | 'contexts' | 'subjects' | 'policies' | 'evidence' | 'assessments' | 'overrides' | 'actions' | 'events' | 'investigations' | 'investigation-reviews' required

Changes

No recorded changes to this operation across all 1 revision of this API.