Api Endpoint

tenjin.blog

Does Claude Code Give Shell Commands a Session ID? Measured Answer, Env Var Names, and the Subagent Inheritance Rule. As of 2026-08-12, measured on Claude Code v2.1.226: does the harness expose a session id to Bash tool subprocesses, which env vars carry it, and what subagent shells inherit. Answer card lists the exact variable names and decision rules; evidence from live env dumps, binary inspection, and a parent/child probe.

Open interactive test console

Offering

Provider
tenjin.blog
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/does-claude-code-give-shell-commands-a-session-id-measured-answer-env-var-names
MIME type
Not provided
First seen
2026-10-16T02:11:22.308Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0x1f64B0E6B0132bAE77F886ec57352549b18Af4e5"
  }
]

Observed health

Status
Healthy
Latest latency
145 ms
Average latency
347 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{}

Output schema

null