API 参考
系统与策略
声明并读取您的系统(用例),以及超出其获批范围运行的调用;读取监管策略包和 SDK 所应用的数据策略。
路由摘要和字段名称均以英文撰写,本页与文件中都是如此。
/api/v1/usecases
GET /api/v1/usecases
The workspace's declared systems (use cases) and their flags
认证
API 密钥
密钥作用域
usecases:read应答
200 · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed · 429 · 500 internal_errorPOST /api/v1/usecases
Declare a system (use case)
认证
API 密钥
密钥作用域
usecases:write请求体
name (必填) · description · purpose · legal_basis · data_categories · affected_population · ai_act_classification · automated_decision · provider · data_leaves_eu应答
201 · 400 validation_failed · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed · 429 · 500 internal_error · 503 service_unavailableGET /api/v1/usecases/{id}
One declared system (use case)
认证
API 密钥
密钥作用域
usecases:read参数
id (必填)应答
200 · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed · 404 not_found · 429 · 500 internal_error · 503 service_unavailablePATCH /api/v1/usecases/{id}
Always refused — a person reviews a use case, from the dashboard
认证
API 密钥
密钥作用域
usecases:write参数
id (必填)GET /api/v1/usecases/{id}/divergences
The sealed calls that ran outside what a use case was approved for
认证
API 密钥
密钥作用域
usecases:read参数
id (必填)应答
200 · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed · 429 · 500 internal_error/api/v1/policy
GET /api/v1/policy/packs
The regulatory policy packs, or one pack in full
认证
API 密钥
密钥作用域
policy:read模块
在部署运行
FEATURE_POLICY_PACKS 时提供。参数
id应答
200 · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed, plan_required · 404 not_found · 429 · 500 internal_error · 501 feature_disabled/api/v1/governance
GET /api/v1/governance/config
The workspace's data policy, as the SDK applies it in your process
认证
API 密钥
密钥作用域
policy:read参数
connector · environment应答
200 · 401 api_key_missing, api_key_invalid · 403 api_key_scope_denied, api_key_role_denied, ip_not_allowed · 429 · 500 internal_error