v23

latestSwagger 2.0raw.githubusercontent.com2026-08-01171221502.3 KB
【用户】OhMyAgent

创建 OhMyAgent API Key

创建当前用户的模型无关 OhMyAgent 代理 Key。请求无需模型参数;使用时在 LLM 请求的 model 字段传模型配置 ID。API Key 与签名 Secret 仅在创建响应中返回。

post/api/v1/users/ohmyagent/api-keys

Response

成功

codeinteger
messagestring