POST /agent/anonymous-register
Create an anonymous trial agent without email verification.
Returns a one-time API key, the configured trial credits, and a claim code that the agent's operator can use to bind a formal email later.
REST API overview · OpenAPI JSON · OpenAPI YAML
| Stability | Authentication | Cost | Operation ID |
|---|---|---|---|
| Published | None | Free | agent_anonymous_register_api_v1_agent_anonymous_register_post |
This operation has no path or query parameters.
Schema: AgentAnonymousRegisterRequest
| Name | Required | Type | Description |
|---|---|---|---|
agent_name | No | string | null | Optional agent display name |
curl --request POST \
--url "https://qveris.ai/api/v1/agent/anonymous-register" \
--header 'Content-Type: application/json' \
--data '{
"agent_name": "demo-agent"
}'
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())
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())
| Status | Meaning | Schema |
|---|---|---|
200 | Successful Response | APIResponse_AgentAnonymousRegisterResponse_ |
422 | Validation Error | HTTPValidationError |
429 | Too Many Requests | PublicApiError |
{
"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 Discover capabilities · POST Inspect capabilities · POST Probe a capability · POST Call a capability
Was this page helpful?