Event log
API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai
Proxies Volcengine AgentEventLog. bot_id is ACL-only and stripped before forwarding.
event_list max 20. No token freeze.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication (OpenAI format). Pass in the Authorization header:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X post "https://api.xrtoken.ai/v1/agent/events" \ -H "Content-Type: application/json" \ -d '{ "bot_id": "string", "request_id": "string", "event_list": [ { "event_name": "string" } ] }'Empty
{
"error": "model field is required",
"type": "invalid_request_error"
}{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "upstream provider error",
"type": "server_error"
}