llm-assisted-api-debugging-lab 0.1.0

Deterministic API failure diagnoser with an LLM-assisted prompt template generator.
Documentation
{
  "name": "rate_limit",
  "description": "Burst of requests crosses the per-account rate limit.",
  "request": {
    "method": "GET",
    "url": "https://api.example.com/v1/customers?limit=100",
    "headers": {
      "User-Agent": "ExampleClient/2.4.0",
      "Authorization": "Bearer sk_live_***",
      "X-Request-Id": "req_a1b2c3d4e5f60003"
    },
    "body_summary": "",
    "client_unix_ts": 1746950600
  },
  "response": {
    "status": 429,
    "headers": {
      "Content-Type": "application/json",
      "Retry-After": "12",
      "X-RateLimit-Limit": "100",
      "X-RateLimit-Remaining": "0",
      "X-RateLimit-Reset": "1746950612",
      "X-Request-Id": "req_a1b2c3d4e5f60003"
    },
    "body_summary": "{\"error\":{\"type\":\"rate_limited\",\"code\":\"too_many_requests\",\"message\":\"Account exceeded 100 requests/sec.\"}}",
    "server_unix_ts": 1746950600,
    "elapsed_ms": 14
  },
  "context": {
    "dns_resolved": true,
    "tls_handshake_ms": 35,
    "client_clock_skew_secs": 0,
    "signing_required": false
  },
  "log_path": "fixtures/logs/rate_limit.log"
}