01Run it
Straight from the command's own help.
p202 ltv webhooks deliveries 3 --status failed02What you get
Pick the shape you need. People get a table. Add
--json, --csv or --ndjson for scripts, or -q for ids only. An AI agent gets compact JSON without asking. All output formats03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 ltv webhooks deliveriesSet flags below; the command updates as you type.
04Flags
2 flags, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --limitstring | How many deliveries to list, 1-100 (default 25) |
| --statusstring | Only deliveries in this state: pending, delivered, failedpendingdeliveredfailed |
05How it works
What the LTV Settings tab's Log shows (its last 25 by default; --limit up to 100), and the last attempt's response body or error ("curl: …", "blocked: …", stored cut to 1,000 bytes). A delivery is retried with backoff and fails after max_attempts (6), which marks the webhook dead. Never the secret, and not the payload.
p202 ltv webhooks deliveries 3 --status failed
06For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands ltv webhooks deliveries --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 ltv webhooks deliveries",
"use": "deliveries <webhook-id>",
"short": "A webhook's delivery log, newest first: each event's status, attempts, next retry and last response or error",
"long": "What the LTV Settings tab's Log shows (its last 25 by default; --limit up to 100), and the last\nattempt's response body or error (\"curl: …\", \"blocked: …\", stored cut to 1,000 bytes). A\ndelivery is retried with backoff and fails after max_attempts (6), which marks the webhook\ndead. Never the secret, and not the payload.\n\n p202 ltv webhooks deliveries 3 --status failed",
"runnable": true,
"flags": [
{
"name": "limit",
"type": "string",
"default": "",
"usage": "How many deliveries to list, 1-100 (default 25)",
"required": false
},
{
"name": "status",
"type": "string",
"default": "",
"usage": "Only deliveries in this state: pending, delivered, failed",
"allowed_values": [
"pending",
"delivered",
"failed"
],
"required": false
}
]
}