保险库

模板

查询常用服务的模板 ID、Secret 名称、种类和允许域名。

查询常用服务的模板 ID、Secret 名称、种类和允许域名。

指南 →

基础地址与鉴权

template_idkind服务
githubstaticGitHub (api.github.com, uploads.github.com)
openaistaticOpenAI
anthropicstaticAnthropic
stripestaticStripe
linearoauthLinear (CIMD)
atlassianoauthAtlassian (DCR)

列出模板

GET /vault/v1/templates

响应

HTTP 200

application/json

字段类型 / 枚举必填说明
dataVaultTemplate[]是条目数组
data[].idstring是对象标识符
data[].display_namestring是显示名称,1–255 个字符
data[].kind"static" / "oauth"是static:你填写的值;oauth:授权得到、由平台续期
data[].namestring是名称,库内唯一且不可改;1–128 个大写字母、数字或下划线,以字母或下划线开头
data[].allowed_hostsstring[]是1–16 个域名、公网 IPv4 或 .example.com;不匹配根域名。拒绝 IPv6、单标签主机、localhost、.internal、平台域名及回环/链路本地/私网/CGNAT IPv4;规范化并去重
data[].value_hintstring / null是填写提示

错误响应

缺少或无效的 API Key 返回 401 UNAUTHENTICATED。 没有额外的领域错误。

curl "https://api.deepraxis.ai/vault/v1/templates" \
  -H "Authorization: Bearer $PRAXIS_API_KEY"

VaultTemplate

字段类型 / 枚举必填说明
idstring是对象标识符
display_namestring是显示名称,1–255 个字符
kind"static" / "oauth"是static:你填写的值;oauth:授权得到、由平台续期
namestring是名称,库内唯一且不可改;1–128 个大写字母、数字或下划线,以字母或下划线开头
allowed_hostsstring[]是1–16 个域名、公网 IPv4 或 .example.com;不匹配根域名。拒绝 IPv6、单标签主机、localhost、.internal、平台域名及回环/链路本地/私网/CGNAT IPv4;规范化并去重
value_hintstring / null是填写提示
导出

本页内容