/. Bodies longer than 2000 characters are truncated in the output.CLI
pikopod why
Replay a request against a fork of the sandbox with decision tracing, and see exactly why it answers what it answers.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Replay a request against a fork of the sandbox with decision tracing, and see exactly why it answers what it answers.
pikopod why <sandbox> <METHOD> <path> [--body <json>] [--auth=false]
| Flag | Meaning |
|---|---|
--body <json> | A JSON request body. |
--auth | Send the sandbox’s issued credential. Default true. Pass --auth=false to see the refusal path. |
pikopod why examplepay POST /charges --body '{"amount": 1250, "currency": "NGN"}'
replaying POST /charges against a fork of examplepay (seed 1f41d4ff6d02c840) — no real state is touched
auth sending the issued credential in authorization
faults no armed fault fired
route matched createCharge
auth declared auth satisfied
operation kind=create resource=/charges
→ 201
Content-Type: application/json; charset=utf-8
Etag: "0"
X-Pikopod-Operation: createCharge
{"amount":1250,"currency":"NGN","id":"charges_1","status":"failed"}
pikopod why examplepay GET /charges --auth=false
faults no armed fault fired
route matched listCharges
auth declared auth REFUSED the request (401) — the issued credential is in `pikopod sandbox list`
→ 401
Content-Type: application/json; charset=utf-8
Www-Authenticate: Bearer
X-Pikopod-Operation: listCharges
{"message":"Authentication required"}
/. Bodies longer than 2000 characters are truncated in the output.