API by router
Telemetry
POST
instance_id*Instance IdFormat
uuidapplication/json- body
Batch of usage events from a VPS agent.
events*array<>Items
1 <= items <= 100Successful Response
application/json- response
Response with per-event results for idempotent retry.
accepted*Acceptedduplicates*Duplicateserrors?array<string>Default
[]rejected*Rejectedcurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/telemetry' \ -H 'Content-Type: application/json' \ -d '{ "events": [ { "estimated_tokens_in": 0, "estimated_tokens_out": 0, "event_ts": "2019-08-24T14:15:22Z", "key_source": "string", "model": "string", "provider": "string", "request_id": "string" } ]}'Example Response
{ "accepted": 0, "duplicates": 0, "errors": [], "rejected": 0}