Waxell · Example Payload

Waxell Record Llm Call Example

AI Agent GovernanceObservabilityPolicy EnforcementLLM TelemetryCost ManagementMCPAgent Runtime

Waxell Record Llm Call Example is an example object payload from Waxell, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://acme.waxell.dev/api/v1/observe/runs/9c1c7c3a-2a3a-4f9b-9c5e-8d2c5e6b4d10/llm-calls/",
    "headers": {
      "X-Wax-Key": "wax_sk_xxx",
      "Content-Type": "application/json"
    },
    "body": {
      "model": "openai/gpt-4o",
      "provider": "openai",
      "input_tokens": 1240,
      "output_tokens": 312,
      "latency_ms": 980,
      "cost_usd": 0.0188,
      "prompt": "Customer is asking about billing for plan upgrade.",
      "completion": "Sure — here are the steps to upgrade your plan."
    }
  },
  "response": {
    "status": 201,
    "body": {
      "id": "llm_01HX3KQA7T",
      "model": "openai/gpt-4o",
      "input_tokens": 1240,
      "output_tokens": 312,
      "cost_usd": 0.0188,
      "latency_ms": 980,
      "created_at": "2026-05-06T14:00:01Z"
    }
  }
}