llm-assisted-api-debugging-lab 0.1.0

Deterministic API failure diagnoser with an LLM-assisted prompt template generator.
Documentation
{
  "name": "bad_payload",
  "description": "POST with a payload that fails server-side schema validation.",
  "request": {
    "method": "POST",
    "url": "https://api.example.com/v1/charges",
    "headers": {
      "User-Agent": "ExampleClient/2.4.0",
      "Content-Type": "application/json",
      "Authorization": "Bearer sk_live_***",
      "X-Request-Id": "req_a1b2c3d4e5f60002"
    },
    "body_summary": "{\"amount\":\"twelve\",\"currency\":\"usd\"}",
    "client_unix_ts": 1746950500
  },
  "response": {
    "status": 400,
    "headers": {
      "Content-Type": "application/json",
      "X-Request-Id": "req_a1b2c3d4e5f60002"
    },
    "body_summary": "{\"error\":{\"type\":\"invalid_request\",\"code\":\"validation_failed\",\"field\":\"amount\",\"message\":\"Expected integer, got string.\"}}",
    "server_unix_ts": 1746950500,
    "elapsed_ms": 31
  },
  "context": {
    "dns_resolved": true,
    "tls_handshake_ms": 38,
    "client_clock_skew_secs": 0,
    "signing_required": false
  },
  "log_path": "fixtures/logs/bad_payload.log"
}