QVeris
运行任务
文档目录

注册匿名 Agent 试用

POST /agent/anonymous-register

注册匿名 Agent 试用

REST API 概览 · OpenAPI JSON · OpenAPI YAML

接口契约

稳定性认证费用Operation ID
已发布无需认证免费agent_anonymous_register_api_v1_agent_anonymous_register_post

参数

此操作没有路径或查询参数。

请求体

Schema: AgentAnonymousRegisterRequest

名称必填类型说明
agent_namestring | nullOptional agent display name

可运行示例

bash
curl --request POST \
  --url "https://qveris.ai/api/v1/agent/anonymous-register" \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_name": "demo-agent"
}'
typescript
const response = await fetch("https://qveris.ai/api/v1/agent/anonymous-register", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "agent_name": "demo-agent"
}),
})

if (!response.ok) throw new Error(`QVeris request failed: ${response.status}`)
console.log(await response.json())
python
import json
import requests

response = requests.request(
    "POST",
    "https://qveris.ai/api/v1/agent/anonymous-register",
    json=json.loads(r'''{
  "agent_name": "demo-agent"
}'''),
    timeout=30,
)
response.raise_for_status()
print(response.json())

响应

状态码含义Schema
200Successful ResponseAPIResponse_AgentAnonymousRegisterResponse_
422Validation ErrorHTTPValidationError
429Too Many RequestsPublicApiError

成功响应示例

json
{
  "status": "success",
  "message": "Anonymous agent trial created. The key is shown once; use the claim code to bind a formal email before expiry.",
  "status_code": 0,
  "data": {
    "agent_id": "3c0b2d6e-4f6a-4f4a-8b4b-5c5d6e7f8a9b",
    "agent_name": "demo-agent",
    "api_key": "sk-trial-shown-once",
    "trial_credits": 50,
    "claim_code": "claim-code-123456",
    "expires_at": "2026-07-31T12:00:00Z"
  }
}

精确契约

相关操作

POST 发现能力 · POST 检查能力 · POST 预检能力 · POST 调用能力

这个页面对你有帮助吗?