llm-assisted-api-debugging-lab 0.1.0

Deterministic API failure diagnoser with an LLM-assisted prompt template generator.
Documentation
{
  "name": "auth_missing",
  "description": "POST to a protected endpoint without an Authorization header.",
  "request": {
    "method": "POST",
    "url": "https://api.example.com/v1/charges",
    "headers": {
      "User-Agent": "ExampleClient/2.4.0",
      "Content-Type": "application/json",
      "X-Request-Id": "req_a1b2c3d4e5f60001",
      "Idempotency-Key": "idem_a1b2c3d4e5f60001"
    },
    "body_summary": "{\"amount\":1200,\"currency\":\"usd\",\"customer\":\"cus_***\"}",
    "client_unix_ts": 1746950400
  },
  "response": {
    "status": 401,
    "headers": {
      "Content-Type": "application/json",
      "WWW-Authenticate": "Bearer realm=\"api\"",
      "X-Request-Id": "req_a1b2c3d4e5f60001"
    },
    "body_summary": "{\"error\":{\"type\":\"unauthorized\",\"code\":\"missing_authorization\",\"message\":\"Authorization header required.\"}}",
    "server_unix_ts": 1746950400,
    "elapsed_ms": 88
  },
  "context": {
    "dns_resolved": true,
    "tls_handshake_ms": 42,
    "client_clock_skew_secs": 0,
    "signing_required": false
  },
  "log_path": "fixtures/logs/auth_missing.log"
}