{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "anthropic/claude-sonnet-4-6"
            }
          },
          {
            "key": "blackbox.run_id",
            "value": {
              "stringValue": "otel_e2e_7a4fe6ca678b"
            }
          }
        ]
      },
      "scopeSpans": [
        {
          "scope": {
            "name": "blackbox",
            "version": "0.1.0"
          },
          "spans": [
            {
              "traceId": "caed02bae0515e609032100b492f8153",
              "spanId": "f5adc910bed65c4f",
              "name": "genesis: System context sealed (OTel \u00b7 otel-test-agent)",
              "kind": 2,
              "startTimeUnixNano": "1781582946364816896",
              "endTimeUnixNano": "1781582946364816896",
              "attributes": [
                {
                  "key": "blackbox.run_id",
                  "value": {
                    "stringValue": "otel_e2e_7a4fe6ca678b"
                  }
                },
                {
                  "key": "blackbox.seq",
                  "value": {
                    "intValue": "0"
                  }
                },
                {
                  "key": "blackbox.event_type",
                  "value": {
                    "stringValue": "genesis"
                  }
                },
                {
                  "key": "blackbox.hash",
                  "value": {
                    "stringValue": "d75d7f21aa84597ee97ea473e320bb44b77d63077f58e35118f9445413041cdc"
                  }
                }
              ],
              "status": {
                "code": 1
              }
            },
            {
              "traceId": "caed02bae0515e609032100b492f8153",
              "spanId": "a5ebe526f25d5267",
              "name": "reasoning: chat claude-sonnet-4-6",
              "kind": 2,
              "startTimeUnixNano": "1781582946364816896",
              "endTimeUnixNano": "1781582947564816896",
              "attributes": [
                {
                  "key": "blackbox.run_id",
                  "value": {
                    "stringValue": "otel_e2e_7a4fe6ca678b"
                  }
                },
                {
                  "key": "blackbox.seq",
                  "value": {
                    "intValue": "1"
                  }
                },
                {
                  "key": "blackbox.event_type",
                  "value": {
                    "stringValue": "reasoning"
                  }
                },
                {
                  "key": "blackbox.hash",
                  "value": {
                    "stringValue": "b9c50fe22414e83118af1940109c0ae6e9ce53b8f84180e0cb8bd73de09b51ec"
                  }
                },
                {
                  "key": "gen_ai.system",
                  "value": {
                    "stringValue": "claude-sonnet-4-6"
                  }
                },
                {
                  "key": "gen_ai.usage.input_tokens",
                  "value": {
                    "intValue": "520"
                  }
                },
                {
                  "key": "gen_ai.usage.output_tokens",
                  "value": {
                    "intValue": "180"
                  }
                }
              ],
              "status": {
                "code": 1
              },
              "parentSpanId": "f5adc910bed65c4f"
            },
            {
              "traceId": "caed02bae0515e609032100b492f8153",
              "spanId": "5148ddbace865237",
              "name": "tool_call: execute_tool web_search",
              "kind": 2,
              "startTimeUnixNano": "1781582947564816896",
              "endTimeUnixNano": "1781582947814816896",
              "attributes": [
                {
                  "key": "blackbox.run_id",
                  "value": {
                    "stringValue": "otel_e2e_7a4fe6ca678b"
                  }
                },
                {
                  "key": "blackbox.seq",
                  "value": {
                    "intValue": "2"
                  }
                },
                {
                  "key": "blackbox.event_type",
                  "value": {
                    "stringValue": "tool_call"
                  }
                },
                {
                  "key": "blackbox.hash",
                  "value": {
                    "stringValue": "b5fa9cd71f3e3540e2ecaba3290d02d14b634b4d1b3abbd72ebbf1b7bc7a1cec"
                  }
                },
                {
                  "key": "gen_ai.system",
                  "value": {
                    "stringValue": "claude-sonnet-4-6"
                  }
                }
              ],
              "status": {
                "code": 1
              },
              "parentSpanId": "a5ebe526f25d5267"
            },
            {
              "traceId": "caed02bae0515e609032100b492f8153",
              "spanId": "6164765e26f952bb",
              "name": "reasoning: chat claude-sonnet-4-6",
              "kind": 2,
              "startTimeUnixNano": "1781582947814817024",
              "endTimeUnixNano": "1781582950164817024",
              "attributes": [
                {
                  "key": "blackbox.run_id",
                  "value": {
                    "stringValue": "otel_e2e_7a4fe6ca678b"
                  }
                },
                {
                  "key": "blackbox.seq",
                  "value": {
                    "intValue": "3"
                  }
                },
                {
                  "key": "blackbox.event_type",
                  "value": {
                    "stringValue": "reasoning"
                  }
                },
                {
                  "key": "blackbox.hash",
                  "value": {
                    "stringValue": "99f789e53fcbf0e09f38fe510688cc162adb41435eb4b0e7edec39df1c5d9ba4"
                  }
                },
                {
                  "key": "gen_ai.system",
                  "value": {
                    "stringValue": "claude-sonnet-4-6"
                  }
                },
                {
                  "key": "gen_ai.usage.input_tokens",
                  "value": {
                    "intValue": "890"
                  }
                },
                {
                  "key": "gen_ai.usage.output_tokens",
                  "value": {
                    "intValue": "320"
                  }
                },
                {
                  "key": "blackbox.cost_usd",
                  "value": {
                    "doubleValue": 0.0162
                  }
                }
              ],
              "status": {
                "code": 1
              },
              "parentSpanId": "5148ddbace865237"
            }
          ]
        }
      ]
    }
  ]
}