{"uid":"cap_FlixGZAjh9wuNWcf3MOGB","slug":"banfenzhong-crisis-route-pack-b6169642","name":"banfenzhong Crisis Route Pack","description":"x402-paid routing APIs: practice $0.01, crisis $0.05, deep $0.10. Returns next_utterance + escalate_if + do_not + retry_policy — not just a free HTML link.","url":"https://banfenzhong-api-production.up.railway.app/api/v1/route-crisis","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"intent":{"type":"string"},"context":{"type":"string"}}},"responseSchema":{"type":"object","required":["ok","product","intent","action","tool_url","agent_script","next_utterance","escalate_if","do_not","retry_policy","route_id"],"properties":{"ok":{"type":"boolean","const":true},"ts":{"type":"string","format":"date-time"},"action":{"type":"string"},"do_not":{"type":"array","items":{"type":"string"}},"intent":{"type":"string"},"product":{"type":"string"},"version":{"type":"string"},"protocol":{"type":"string","const":"x402"},"route_id":{"type":"string"},"tool_url":{"type":"string","format":"uri"},"price_usd":{"type":"string"},"disclaimer":{"type":"string"},"escalate_if":{"type":"array","items":{"type":"string"}},"agent_script":{"type":"string","description":"Internal instruction for the calling agent"},"context_echo":{"type":["string","null"]},"retry_policy":{"type":"object","properties":{"if_still_looping":{"type":"string"},"if_human_rejects_tool":{"type":"string"},"same_intent_cooldown_min":{"type":"integer"}}},"duration_hint":{"type":"string"},"next_utterance":{"type":"string","description":"Ready-to-send line to the human"},"stop_condition":{"type":"string"},"refusal_template":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yf1Q09_AtyQgZGyIittnP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a structured crisis-routing script for AI agents, including the next utterance to send a human, escalation triggers, prohibited actions, and retry policy — paid per-call via x402 at $0.05 USDC.","exampleAgentPrompt":"My user just said they're feeling hopeless and hinted at self-harm — what should I say next, when should I escalate, and what should I avoid saying? The intent is crisis support and the context is a solo late-night conversation with no prior session history.","exampleUseCases":[{"title":"Chatbot crisis de-escalation response","prompt":"A user in my wellness chatbot just wrote 'I don't see the point anymore' — give me the exact next line to say to them, flag what would trigger escalation to a human counselor, and tell me what I should never do in this conversation. The intent is crisis support and there's no prior context yet."},{"title":"Safe messaging compliance for agent","prompt":"My agent is handling a conversation where someone mentioned they've been stockpiling medication. I need a structured script with a ready-to-send utterance, a list of things not to say, escalation conditions, and a retry policy if the person rejects the tool. Intent is crisis intervention, context is medication-related disclosure."},{"title":"Agent handoff decision during emotional distress","prompt":"My AI customer support agent is mid-conversation and a user suddenly starts describing feeling unsafe at home. Route this as a crisis — give me what the agent should say next, when to hand off to a live operator, what to avoid, and how long to wait before retrying if they go silent. Intent is safety routing, context is unexpected crisis during a billing support chat."}],"resultDescription":"Returns a JSON object containing: a ready-to-send next_utterance string for the human, an escalate_if array listing conditions that require human handoff, a do_not array of prohibited agent actions, a retry_policy object with cooldown timing and fallback instructions, an agent_script for internal agent guidance, a route_id for logging, and supporting metadata including tool_url, action, price_usd, and disclaimer.","failureModes":["Missing required fields (intent or context not provided) — likely returns 400 or validation error","Payment failure via x402 — agent receives 402 Payment Required before response is delivered","Ambiguous or very short intent string may yield a generic or low-quality route script","Network timeout on Railway-hosted infrastructure during high load","Repeated same-intent calls within cooldown window may be flagged by retry_policy same_intent_cooldown_min"],"whenToPreferThis":"Choose this endpoint when your AI agent needs a fully structured crisis-routing script — not just a disclaimer or a static link — specifically for high-risk emotional or safety conversations. At $0.05 per call it sits between the low-cost practice route ($0.01) and the deep route ($0.10), making it the right tier when the situation is genuinely urgent but doesn't require the deepest therapeutic depth. Prefer this over generic LLM prompting when you need machine-readable escalation conditions, prohibited-action lists, and retry policies that downstream logic can act on programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:35:31.417Z","isFirstParty":false}