{"uid":"cap_l-oC8cru7WwnQI-hCH-CW","slug":"mindpulse-sleep-mental-health-advisor-1fd61029","name":"MindPulse Sleep & Mental Health Advisor","description":"Sleep and mental health for mental-health and wellness agents. Returns a CBT-I protocol, the sleep-mood connection, and when to seek specialist help.","url":"https://mindpulse.theaslangroupllc.com/api/mind/sleep?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","errors":{"400":{"example":{"error":"invalid request"},"description":"Invalid or missing parameter(s). Returned before the payment gate on paid requests, so a malformed call is never charged. JSON body: { error: <what is wrong and how to fix it> } plus usage hints."},"402":{"description":"Payment required — x402 v2 challenge; the accepts array lists scheme, network, and amount. Retry the same request with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. Verification is free."},"500":{"example":{"error":"upstream_failed"},"description":"Unexpected server error. If a payment settled without a usable result, contact info@theaslangroupllc.com with the settlement tx hash for a re-run or credit."}},"example":{"diagnosis_likely":"chronic insomnia","cbt_i_recommended":true,"sleep_hygiene_tips":["Consistent wake time — even weekends","No screens 60 min before bed"],"when_to_see_doctor":"Snoring + daytime sleepiness — sleep apnea screen"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"8.0000","medianCents":"8.0000","p90Cents":"8.0000","minCents":"8.0000","maxCents":"8.0000","p95Cents":"8.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ycitLCr1AAXi2BgV4LrmC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a CBT-I protocol, the sleep-mood connection explanation, and guidance on when to seek specialist help for sleep-related mental health concerns.","exampleAgentPrompt":"I've been struggling with insomnia for a few weeks and I think it's making my depression worse — can you walk me through what CBT-I involves, explain how my sleep problems and mood are connected, and let me know whether I should be seeing a specialist?","exampleUseCases":[{"title":"Anxiety management with sleep improvement","prompt":"My anxiety spikes at night and keeps me awake, which then makes me feel worse during the day — can you explain how my sleep and anxiety are connected, and walk me through some CBT-I techniques I can actually use tonight?"},{"title":"Determine when specialist referral needed","prompt":"I've tried improving my sleep on my own for months but nothing's working and my mood keeps getting worse — help me understand if this is something I should see a sleep specialist about, and what exactly I should tell them?"},{"title":"Sleep hygiene guidance for mental wellness","prompt":"I know my terrible sleep schedule is hurting my mental health but I'm not sure where to start — can you explain why sleep matters so much for mood and give me a structured plan based on CBT-I principles I can follow?"}],"resultDescription":"Returns structured content including a CBT-I (Cognitive Behavioral Therapy for Insomnia) protocol outline, an explanation of the bidirectional sleep-mood connection, and criteria or guidance for when to escalate to a sleep specialist or mental health professional.","failureModes":["Endpoint may return generic guidance if no specific sleep concern context is provided","Service may be unavailable or return a payment error if USDC balance is insufficient (x402 payment required)","Response may not account for medical contraindications or comorbidities not described in the query"],"whenToPreferThis":"Use this endpoint when a user needs evidence-based guidance on sleep issues in a mental health context — specifically when CBT-I protocol information, sleep-mood connection education, or specialist referral criteria are needed. Prefer this over generic wellness endpoints when the concern explicitly involves insomnia or sleep-related mood disruption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:37:16.795Z","isFirstParty":false,"canonicalSlug":"mindpulse-sleep-mental-health-advisor-1fd61029"}